09-29-2009 04:02 PM
Hi,
I'm trying to install NIDAQ on Opensuse 11. I got everything work until I tried 'updateNIDrivers'. Below is the log of the output.
Configuring for linux kernel version 2.6.27.29-0.1-default.
********************************* NOTE *********************************
Using kernel headers found in /lib/modules/2.6.27.29-0.1-default/source.
If this does not correspond to the location of the 2.6.27.29-0.1-default headers,
then define KERNELHEADERS in your environment to point to the location
of the kernel headers, define KERNELTARGET as the version of the
kernel for which to compile, and then rerun ./configure.
********************************* NOTE *********************************
Kernel has reparent_to_init(): no
Number of arguments for do_munmap(): 3
pte_offset function: pte_offset_kernel()
Levels in page table: 4
Kernel has remap_pfn_range: yes
USB altsetting name: cur_altsetting
Kernel has usb_get_intf(): yes
Kernel has intf_cache member in usb_host_config: yes
Kernel has ep[] members in usb_device: yes
Kernel exports usb_set_configuration(): no
Units of USB_CTRL_GET_TIMEOUT: msec
Kernel has owner member in usb_driver: no
Kernel has put_page_testzero(): yes
Kernel has mutex method: yes
Kernel has kthread: yes
Kernel has config.h: no
Kernel has ioctl32.h: no
IRQ handlers have pt_regs: no
Kernel has work_struct and delayed_work: yes
Storing configuration in Makefile.in
If the values stored are incorrect they can be changed before running make.
Uninstalling NI-KAL (nikal): done
/bin/rm -rf objects
Updating NI-KAL:
NI-KAL update failed.
/bin/cp nikal.c objects/nikal.c
/bin/cp nikal.h objects/nikal.h
make -C /lib/modules/2.6.27.29-0.1-default/source SUBDIRS=/usr/local/natinst/nikal/src/objects modules
make[1]: Entering directory `/usr/src/linux-2.6.27.29-0.1'
WARNING: Symbol version dump /usr/src/linux-2.6.27.29-0.1/Module.symvers
is missing; modules will have no dependencies and modversions.
CC
/usr/local/natinst/nikal/src/objects/nikal.c:447: error: unknown field ‘nopage’ specified in initializer
/usr/local/natinst/nikal/src/objects/nikal.c:447: warning: initialization from incompatible pointer type
/usr/local/natinst/nikal/src/objects/nikal.c: In function ‘nNIKAL100_destroySemaphore’:
/usr/local/natinst/nikal/src/objects/nikal.c:2355: error: ‘nLinux_semaphore’ has no member named ‘sleepers’
/usr/local/natinst/nikal/src/objects/nikal.c: In function ‘nNIKAL100_releaseSemaphore’:
/usr/local/natinst/nikal/src/objects/nikal.c:2420: error: request for member ‘counter’ in something not a structure or union
make[2]: *** [/usr/local/natinst/nikal/src/objects/nikal.o] Error 1
make[1]: *** [_module_/usr/local/natinst/nikal/src/objects] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.29-0.1'
make: *** [objects/nikal.ko] Error 2
ERROR: make of nikal kernel module failed, not installing kernel module.
Could some one give me some advice on this? I really appreciate your help.
10-02-2009 09:01 AM
You should install the latest version of NI-KAL (currently 1.10).
Shawn Bohrer
National Instruments