Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does application abort if linked to libgpibapi.so?

Hello. I am using linux kernel 2.6.16.18; I modified the  driver in NI-488.2 verson 2.3 to compile; I changed remap_page_range to remap_pfn_range and fixed the pfn argument.
However the shareable libraries don't work.  If I build a HelloWorld program that links to libgpibapi.so, the program aborts (as does a simple program similar to the example).
strace shows it may be aborting on loading the shared library and have something to do with a mismatched GLIBC.  Is a new version of the driver due soon?
The 2.6 linux kernel had too much churn to remain compatible with your driver.
I am building the 2.4 kernel to use the old 2.2 driver which had worked OK.
Also, what does it mean when the NI applications say "Unable to open resource files."?
Thanks
0 Kudos
Message 1 of 2
(3,009 Views)
Try installing the latest version of NI-KAL (currently NI-KAL 1.3).  This is the component that interacts with the kernel, and MAY solve your problems.

Shawn B.
National Instruments
Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 2 of 2
(2,999 Views)