#266 ndiswrapper 1.58 does not build with Linux 3.9.x

v1.0_(example)
open
nobody
None
1
2014-04-22
2013-06-04
Dan Letz
No

DKMS make.log for ndiswrapper-1.58 for kernel 3.9.0-3-generic (x86_64)
Tue Jun 4 10:06:20 PDT 2013
make -C /usr/src/linux-headers-3.9.0-3-generic M=/var/lib/dkms/ndiswrapper/1.58/build
make[1]: Entering directory /usr/src/linux-headers-3.9.0-3-generic' LD /var/lib/dkms/ndiswrapper/1.58/build/built-in.o MKEXPORT /var/lib/dkms/ndiswrapper/1.58/build/crt_exports.h MKEXPORT /var/lib/dkms/ndiswrapper/1.58/build/hal_exports.h MKEXPORT /var/lib/dkms/ndiswrapper/1.58/build/ndis_exports.h MKEXPORT /var/lib/dkms/ndiswrapper/1.58/build/ntoskernel_exports.h MKEXPORT /var/lib/dkms/ndiswrapper/1.58/build/ntoskernel_io_exports.h MKEXPORT /var/lib/dkms/ndiswrapper/1.58/build/rtl_exports.h MKEXPORT /var/lib/dkms/ndiswrapper/1.58/build/usb_exports.h MKSTUBS /var/lib/dkms/ndiswrapper/1.58/build/win2lin_stubs.h CC [M] /var/lib/dkms/ndiswrapper/1.58/build/crt.o CC [M] /var/lib/dkms/ndiswrapper/1.58/build/hal.o CC [M] /var/lib/dkms/ndiswrapper/1.58/build/iw_ndis.o CC [M] /var/lib/dkms/ndiswrapper/1.58/build/loader.o /var/lib/dkms/ndiswrapper/1.58/build/loader.c: In function ‘load_user_space_driver’: /var/lib/dkms/ndiswrapper/1.58/build/loader.c:578:3: error: too few arguments to function ‘add_taint’ add_taint(TAINT_PROPRIETARY_MODULE); ^ In file included from include/linux/cache.h:4:0, from include/linux/time.h:4, from include/linux/ktime.h:24, from include/linux/timer.h:5, from /var/lib/dkms/ndiswrapper/1.58/build/ntoskernel.h:20, from /var/lib/dkms/ndiswrapper/1.58/build/ndis.h:19, from /var/lib/dkms/ndiswrapper/1.58/build/loader.c:16: include/linux/kernel.h:404:13: note: declared here extern void add_taint(unsigned flag, enum lockdep_ok); ^ make[2]: *** [/var/lib/dkms/ndiswrapper/1.58/build/loader.o] Error 1 make[1]: *** [_module_/var/lib/dkms/ndiswrapper/1.58/build] Error 2 make[1]: Leaving directory/usr/src/linux-headers-3.9.0-3-generic'
make: *** [modules] Error 2

Discussion

  • Dan Letz
    Dan Letz
    2013-06-04

    Sorry, bad formatting. Main error:
    In function ‘load_user_space_driver’: /var/lib/dkms/ndiswrapper/1.58/build/loader.c:578:3: error: too few arguments to function ‘add_taint’ add_taint(TAINT_PROPRIETARY_MODULE)