- From: Jon Weisz <signalvsnoise_at_gmail.com>
- Date: Mon, 10 Jul 2006 17:22:22 -0400
I'm trying to compile the cvs version of comedi lib checked out today I ran autogen with the option --enable-kbuild then ran make, and got this error: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -D_REENTRANT -DLOCALSTATEDIR=\"/usr/local/var\" -g -O2 -MT libcomedi_la-calib_lex.lo -MD -MP -MF .deps/libcomedi_la-calib_lex.Tpo -c calib_lex.c -fPIC -DPIC -o .libs/libcomedi_la-calib_lex.o calib_lex.c:686: error: syntax error before '*' token calib_lex.l: In function 'calib_yylex': calib_lex.l:40: error: 'calib_llocp' undeclared (first use in this function) calib_lex.l:40: error: (Each undeclared identifier is reported only once calib_lex.l:40: error: for each function it appears in.) calib_lex.l:53: error: 'calib_lvalp' undeclared (first use in this function) calib_lex.l:55: error: 'T_STRING' undeclared (first use in this function) calib_lex.l:58: error: 'T_DRIVER_NAME' undeclared (first use in this function) calib_lex.l:59: error: 'T_BOARD_NAME' undeclared (first use in this function) calib_lex.l:60: error: 'T_CALIBRATIONS' undeclared (first use in this function) calib_lex.l:61: error: 'T_SUBDEVICE' undeclared (first use in this function) calib_lex.l:62: error: 'T_CHANNELS' undeclared (first use in this function) calib_lex.l:63: error: 'T_RANGES' undeclared (first use in this function) calib_lex.l:64: error: 'T_AREFS' undeclared (first use in this function) calib_lex.l:65: error: 'T_CALDACS' undeclared (first use in this function) calib_lex.l:66: error: 'T_CHANNEL' undeclared (first use in this function) calib_lex.l:67: error: 'T_VALUE' undeclared (first use in this function) calib_lex.l:68: error: 'T_ASSIGN' undeclared (first use in this function) calib_lex.l:71: error: 'T_NUMBER' undeclared (first use in this function) make[3]: *** [libcomedi_la-calib_lex.lo] Error 1 make[3]: Leaving directory `/comedi/comedilib/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/comedi/comedilib/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/comedi/comedilib' make: *** [all] Error 2 root_at_bluebot:/comedi/comedilib# I've looked all over that region of source, and I don't see what it could possibly be referring to, but I don't understand any of this lex file voodoo. Anyone have any suggestions? I've tried installing the debian packages, but they don't come with any of the demos and the demos don't seem to compile with the debian packages installed and the cvs library not compiling properly, so I'm at a loss. Thanks, Jon Weisz
Received on 2006-07-10Z20:22:22