- From: Ian Abbott <abbotti_at_mev.co.uk>
- Date: Wed, 29 Nov 2006 15:54:24 +0000
On 28/11/06 19:51, Ivan Martinez wrote: > Thanks Ian and Frank. > I'm not using Bison 1:2.1-0.2ubuntu1 and getting the following errors > when doing make: I assume you meant "I'm _now_ using Bison ...". > 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:791: error: syntax error before '*' token > ../calib_lex.c: In function 'calib_yylex': > ../calib_lex.c:796: error: 'yyscanner' undeclared (first use in this > function) > ../calib_lex.c:796: error: (Each undeclared identifier is reported only > once > ../calib_lex.c:796: error: for each function it appears in.) > calib_lex.l:51: error: 'calib_lvalp' undeclared (first use in this > function) > calib_lex.l:53: error: 'T_STRING' undeclared (first use in this function) > ....and many other error about undeclared 'T_something'. Try: rm lib/calib_*.[ch] i.e. delete calib_lex.c, calib_yacc.c, and calib_yacc.h from lib/. Do not delete calib_lex.l or calib_yacc.y. -- -=( Ian Abbott _at_ MEV Ltd. E-mail: <abbotti_at_mev.co.uk> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
Received on 2006-11-29Z15:54:24