RMAR
2006-06-13 16:10:09 UTC
I installed Nidaqmx v8.0 on Linux Fedora Core 4.
Everything works and example programs work.
Now i have to integrate a DIO functionality in my software but as I add
-lnidaqmx in the makefile (even with no change in the code),
compilation runs perfectly but I get segmentation fault at execution.
The problem occurs even before the first instruction. Here are debugger messages:
(gdb) run
[Thread debugging using libthread_db enabled]
[New Thread -1208138048 (LWP 14288)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208138048 (LWP 14288)]
0x003ef9f5 in libLoad () from /usr/local/lib/libnipalu.so.1
(gdb)
And here the backtrace:
#7 0x00000000 in ?? ()
#6 0x03f95f32 in ?? () from /usr/local/lib/libnimxpu.so.1
#5 0xbfdec4c8 in ?? ()
#4 0x03fa152c in ?? () from /usr/local/lib/libnimxpu.so.1
#3 0x03fa1720 in ?? () from /usr/local/lib/libnimxpu.so.1
#2 0x03f95f63 in ?? () from /usr/local/lib/libnimxpu.so.1
#1 0x03f9d3fb in nNIMXP100::tCPUCycleCounter::tCPUCycleCounter () from /usr/local/lib/libnimxpu.so.1
#0 0x003ef9f5 in libLoad () from /usr/local/lib/libnipalu.so.1
Does anybody know what's happening?
Thanks,
RMAR
Everything works and example programs work.
Now i have to integrate a DIO functionality in my software but as I add
-lnidaqmx in the makefile (even with no change in the code),
compilation runs perfectly but I get segmentation fault at execution.
The problem occurs even before the first instruction. Here are debugger messages:
(gdb) run
[Thread debugging using libthread_db enabled]
[New Thread -1208138048 (LWP 14288)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208138048 (LWP 14288)]
0x003ef9f5 in libLoad () from /usr/local/lib/libnipalu.so.1
(gdb)
And here the backtrace:
#7 0x00000000 in ?? ()
#6 0x03f95f32 in ?? () from /usr/local/lib/libnimxpu.so.1
#5 0xbfdec4c8 in ?? ()
#4 0x03fa152c in ?? () from /usr/local/lib/libnimxpu.so.1
#3 0x03fa1720 in ?? () from /usr/local/lib/libnimxpu.so.1
#2 0x03f95f63 in ?? () from /usr/local/lib/libnimxpu.so.1
#1 0x03f9d3fb in nNIMXP100::tCPUCycleCounter::tCPUCycleCounter () from /usr/local/lib/libnimxpu.so.1
#0 0x003ef9f5 in libLoad () from /usr/local/lib/libnipalu.so.1
Does anybody know what's happening?
Thanks,
RMAR