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@xxxxxxxxxxxxx>:
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 > >