Hi,
I have installed nidaqmx-8.0.0 on Suse Linux 10.0 kernel version 2.6.13.15 and it worked.
Now I updated to a new kernel version 2.6.18 and I got the error that the kernel version is not the running kernel.
First I tried like mentioned in the readme file "make cloneconfig", but there was the error "don´t know how to
make cloneconfig", so I made "make oldconfig" and than "make modules_prepare". Than I tried again
updateNIDrivers but I get the same error.
I found out, that there has to be a file "asm_offsets.h" but in the new kernel there is a file "asm-offsets.h", so I
copied the file.
The next thing I found out is UTS_RELEASE is no longer defined in "../linux/version.h" so I add this entry.
Now the update tried to compile the sources and now I have the error:
/usr/local/natinst/nikal/src/objects/nikal.c: In function ‘nNIKAL100_decrementPageRefcount’:
/usr/local/natinst/nikal/src/objects/nikal.c:1842: error: ‘struct page’ has no member named ‘count’
/usr/local/natinst/nikal/src/objects/nikal.c: In function ‘nNIKAL100_registerUSBDriver’:
/usr/local/natinst/nikal/src/objects/nikal.c:2772: error: ‘struct usb_driver’ has no member named ‘owner’
make[2]: *** [/usr/local/natinst/nikal/src/objects/nikal.o] Fehler 1
make[1]: *** [_module_/usr/local/natinst/nikal/src/objects] Fehler 2
Then I made some changes in the "nikal.c" and then the compilation works until he tried to link the modules
to the kernel:
FATAL: Error inserting nipalk
(/lib/modules/2.6.18-default/kernel/natinst/nipal/nipalk.ko): Unknown
symbol in module, or unknown parameter (see dmesg)
error: nipalk failed to load
possible causes:
nipalk was not versioned for this kernel (2.6.18-default)
modules are not enabled for this kernel (CONFIG_MODULES)
unresolved symbols
possible solution:
if you recently installed a new kernel or have rebooted to
a different kernel then you were previously running then run
/usr/local/bin/updateNIDrivers
to version your NI drivers for kernel 2.6.18-default
Is there a new driver which supports Suse Linux 10.0 and kernel 2.6.18?
I tried to install "NI-DAQmx Base 2.1.0-f0" too, but I get the same error:
CC [M] /usr/local/natinst/nikal/src/objects/nikal.o
/usr/local/natinst/nikal/src/objects/nikal.c: In function ‘nNIKAL100_decrementPageRefcount’:
/usr/local/natinst/nikal/src/objects/nikal.c:1854: error: ‘struct page’ has no member named ‘count’
make[2]: *** [/usr/local/natinst/nikal/src/objects/nikal.o] Fehler 1
make[1]: *** [_module_/usr/local/natinst/nikal/src/objects] Fehler 2
Can you tell me what kernel versions are supported?
Then I can try another one.
Thank you!