I have some old legacy code that runs on a Sun workstation running Solaris using a PCI card. It does not use VISA, but makes direct calls to functions likeibdev(), ibrd() and ibwrt(). I would like to recompile the application on a Ubuntu 20.04.5 Linux system using the USB GPIB adapter, but there does not appear to be the necessary headers or libraries, despite I installed the drivers on the Ubuntu system. When I run the configure script (see below), it finds nothing to do with GPIB
drkirkby@canary:~/vna-0.20$ ./configure
checking for ibrd in -llvrt... no
checking for ibrd in -lgpib... no
checking for gpib.h... no
checking sys/sgip.h usability... no
checking sys/sgip.h presence... no
Not surprisingly, "make" soon fails
vna.c: In function ‘main’:
vna.c:182:25: warning: implicit declaration of function ‘ibdev’; did you mean ‘index’? [-Wimplicit-function-declaration]
vna_device_descriptor=ibdev(0, vna_gpib_address, 0, T3s, 1, 0);
Is there any way out of this? I don't want to re-write the code.
Dave