|
From: Thomas B. <th...@sa...> - 2003-05-08 09:37:45
|
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' init.c:30: warning: function declaration isn't a prototype init.c:30: warning: data definition has no type or storage class make[2]: *** [init.o] Error 1 make[2]: Leaving directory `/home/thomas/program-files/lab/linux-gpib-3.1.93/driver/nec7210' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/home/thomas/program-files/lab/linux-gpib-3.1.93/driver' make: *** [linux-gpib] Error 2 After commenting out the line including `MODULE_LICENSE' in EVERY "*init.c"-file in the driver directories it went on until the next 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 This last error message was shown with the packages 3.1.92 and 3.1.93 and I couldn't trace the problem further (I'm no Linux-Guru yet ;-). Using the package 3.1.91 didn't show the last problem and I could install the necessary gpib.conf and modules ... Is there any point I missed? Or what is wrong? Thanks in advance for your responses. Thomas OO OO |