|
From: Frank M. H. <fm...@us...> - 2003-05-08 15:13:30
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 08 May 2003 04:39 am, Thomas Bechteler wrote: > Dear Reader, > > I had the following problems while installing "linux-gpib" under RedHat > 7.1 (2.4.7-10). > The Kernel source was there and also the following "make config" went > all right. > However, running "make" causes a lot of troubles. > > First ALL tried packages (3.1.93/3.1.92/3.1.91) caused the > following error message: > > init.c:30: parse error before string constant > init.c:30: warning: type defaults to `int' in declaration of > `MODULE_LICENSE' The MODULE_LICENSE() macro isn't defined in kernels prior to 2.4.10. It=20 should be fixed now in the linux-gpib cvs. > After commenting out the line including `MODULE_LICENSE' in > EVERY "*init.c"-file in the driver directories it went on until the nex= t > error message: > > ibConfYacc.y:28: conflicting types for `YYSTYPE' > ibConfYacc.h:7: previous declaration of `YYSTYPE' > /usr/lib/bison.simple: In function `gpib_yyparse': > /usr/lib/bison.simple:432: warning: passing arg 1 of `gpib_yylex' from > incompatible pointer type > make[1]: *** [ibConfYacc.o] Error 1 > make[1]: Leaving directory > `/home/thomas/program-files/lab/linux-gpib.3.1.93/lib' > make: *** [linux-gpib] Error 2 You are using a buggy version of bison (1.35 at least works). It seems t= o me=20 the only thing I could do about this would be to run bison/flex on my mac= hine=20 before creating the release tarballs. Anyways, working ibConfYacc.c and=20 ibConfYacc.h files are attached. Just make sure you 'touch' them if=20 necessary so their last modified times are later than ibConfYacc.y. - --=20 Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+unSj5vihyNWuA4URArtrAKDrPBAmIbGtm+HUa29fQQLRAL+uJQCeLK3t rvEg5RSQJSHh5n4gmQQX+2A=3D =3DY3US -----END PGP SIGNATURE----- |