Re: Can't compile CVS comedilib on kernel 2.6.15.7 with RTAI 3.3

Thank you, Ian

On 11/29/06, Ian Abbott <abbotti_at_mev.co.uk> wrote:
> 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 ...".

Oh, yes...

> > 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.

I have done that and could finish the installation. I haven't tested
Comedi yet, but if you don't hear from me again, everything went fine.
Thanks again,
Ivan Martinez

> --
> -=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
> -=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-
>
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
>

Received on 2006-11-30Z19:12:33