parse error at end of input :(

Glen Beane glen.beane@jax.org
Thu Sep 14 16:33:00 GMT 2006


thats a linking problem.  It isn't finding the object file that contains the comedi_dara_read function. If that function is in a library, you probably just need to modify the -L flag so the linker can find it.



Jordi Vendrell wrote:
> Thanks to all, closing a brace fixed the problem.
> Now the thing follows with  some messages saying
> 
> /tmp/ccsz9G07.o(.text+0x124): In function `main':
> : undefined reference to `comedi_data_read'
> 
> which I guess means a problem with the libraries (comedi.h and
> comedilib.h) I think it's a problem with the comedi version, so I'll
> compile again and see if it works now
> 
> cheers
> 
> Jordi Vendrell
> 
> 
> 
> 
> 2006/9/14, Jeffrey Holle <jeffreyholle@bellsouth.net>:
>> I see that the M_PACK4 macro has an open "(".
>>
>> John Love-Jensen wrote:
>> > Hi Jordi,
>> >
>> > I see that the body of main has an open-curly brace, but does not
>> have a
>> > close-curly brace.
>> >
>> > That will cause a parse error at end of input.
>> >
>> > HTH,
>> > --Eljay
>> >
>> >
>>
>>

-- 
Glen L. Beane
Software Engineer II
The Jackson Laboratory
Phone (207) 288-6153



More information about the Gcc-help mailing list