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

Thanks Ian and Frank.
I'm not using Bison 1:2.1-0.2ubuntu1 and getting the following errors
when doing make:

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

Best regards,
Ivan Martinez

> From: Frank Mori Hess <fmhess_at_speakeasy.net>
> Reply-To: fmhess_at_users.sourceforge.net
> To: comedi_at_comedi.org
> Subject: Re: Can't compile CVS comedilib on kernel 2.6.15.7 with RTAI 3.3
> Date: Mon, 27 Nov 2006 07:57:47 -0500
>
> --nextPart5089896.nSqxfYfGmH
> Content-Type: text/plain;
>   charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
>
> On Sunday 26 November 2006 03:06 pm, Ivan Martinez wrote:
> > I'm using flex 2.5.31-38ubuntu1 and Berkeley LALR Yacc version
> > 20050813-1. I have succesfully installed comedi from the CVS, but
> > haven't tested it.
>
> Try using bison.
>
> =2D-=20
> =46rank
>
>
> --nextPart5089896.nSqxfYfGmH
> Content-Type: application/pgp-signature
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQBFauDN5vihyNWuA4URAq/LAKDBq8sPlvAs5P694UiPyAlKe/1suACg0+3J
> EaixtSWp5WZja2o05+THvuU=
> =VzIR
> -----END PGP SIGNATURE-----
>
> --nextPart5089896.nSqxfYfGmH--
>
>
>

Received on 2006-11-28Z19:51:11