Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

nigpib-linux-0.8.1 for kernel-2.4.2?

I cannot compile the nigpib-linux-0.8.1 driver under Linux kernel-2.4.2. I have the kernel source and headers installed and have successfully recompiled and run the 2.4.2 kernel. (This is under RedHat 7.2).

When I type 'make' I get lots of compiler syntax errors which seem to be related to module version information.

Is there a known fix for this problem, or is something broken on my computer?

(0.8.1 does compile under RedHat 6.1 kernel-2.2.16)

Thanks,

Scott Coburn
0 Kudos
Message 1 of 4
(3,334 Views)
This is an interesting problem. What type of errors are being displayed? Could you capture the results of make to a file and attach it?

Randy Solomonson
Application Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,334 Views)
Attached is the output from make.

I have since successfully installed, recompiled, and run kernel-2.4.9-6 from RedHat. The nigpib-0.8.1 code compiled successfully with 2.4.9 installed. I then went and removed 2.4.9 and reinstalled 2.4.2. 2.4.2 reinstalled, recompiled, and ran successfully, and the nigpib-0.8.1 was broken again.

Scott
0 Kudos
Message 3 of 4
(3,334 Views)
These error are usually a problem with gcc on Linux see the following links for others with the same issue when compiling.

http://www.linuxquestions.org/questions/history/6031

http://groups.google.com/groups?q=nondigits+in+number+and+not+hexadecimal&hl=en&lr=&safe=off&btnG=Google+Search&site=groups

It looks like the header files for RedHat have some errors. Hopefully the links above can you help start the search for the exact problem.

Randy Solomonson
Application Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,334 Views)