I have one program and when I try to copile it using the make file it
is giving me an error: Syntax error at the end input.... I am getting
two warnings before this error which says "Warning: no previous
prototype for slmics_creare" I have this function defined very well....
So is the error because of these warnings or what????
But I am not finding any syntax error at the end .....
Can any one please help.... I even not understanding what sohuld I
include to give you good idea about from where the problem is coming so
please let me know.....
|
|
0
|
|
|
|
Reply
|
patel.ma (6)
|
7/6/2006 3:39:29 PM |
|
sorry for inconvinience... This was my first post and I did not
realized I should include this also...
I am runnning my C POSIX thread application on Red Hat 3.4.5 using gcc
3.4.5.
patel.ma@gmail.com wrote:
> I have one program and when I try to copile it using the make file it
> is giving me an error: Syntax error at the end input.... I am getting
> two warnings before this error which says "Warning: no previous
> prototype for slmics_creare" I have this function defined very well....
> So is the error because of these warnings or what????
>
> But I am not finding any syntax error at the end .....
>
> Can any one please help.... I even not understanding what sohuld I
> include to give you good idea about from where the problem is coming so
> please let me know.....
|
|
0
|
|
|
|
Reply
|
Mihir
|
7/6/2006 9:45:18 PM
|
|
>I have one program and when I try to copile it using the make file it
>is giving me an error: Syntax error at the end input.... I am getting
>two warnings before this error which says "Warning: no previous
>prototype for slmics_creare" I have this function defined very well....
>So is the error because of these warnings or what????
>
>But I am not finding any syntax error at the end .....
>
>Can any one please help.... I even not understanding what sohuld I
>include to give you good idea about from where the problem is coming so
>please let me know.....
If the error is coming from the C compiler, not make, it likely indicates
a missing right brace or right parenthesis, or an extra left brace or
left parenthesis. The problem could be in an include file. Or there
might be a missing semicolon near the end, but that should be easier
to spot.
Gordon L. Burditt
|
|
0
|
|
|
|
Reply
|
gordonb
|
7/6/2006 10:58:11 PM
|
|