I am trying to build a c shared library based on nidaqmxbase. I am using the method described by David A. Wheeler, see
http://tldp.org/HOWTO/Program-Library-HOWTO/
When I do
gcc -g -o daq_use daq_use.o -L. -ldaq -llibnidaqmxbase -L/usr/local/natinst/nidaqmxbase/lib/
and run the resulting program I get a segmentation fault irrespective of what I put into the source daq_use.c.
Has anyone any advice for me?
Håkan