Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Parse errors in ib_linux.h when I try to compile C code for GPIB in Linux.

Keep getting parse errors starting at line 63 of ib_linux.h when I try to compile C code linked
to the drivers. Using ver 0.6 driver, compiling using gcc name.c cib.o -o name, and I have
ugpib.h as an include in the c code. The Linux box currently has the 2.2 kernel running.
Any ideas?
0 Kudos
Message 1 of 2
(3,196 Views)
Hello-

It shouldn't be necessary to compile by hand. After the 0.6 driver is untarred, there should be an INSTALL script to run. Be sure to "su" to have root permissions before running this script. It may also be necessary to "chmod" the INSTALL file before doing a "./INSTALL"

Randy Solomonson
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,196 Views)