error building ndiswrapper with 2.6.11

Help
2005-05-17
2012-10-06
  • Mark Lybarger

    Mark Lybarger - 2005-05-17

    i'm trying to build ndiswrapper with 2.6.11.9 and get the following error:

    the kernel is patched with suspend2 patch.

    • Found sources for kernel version:
    • 2.6.11.9-suspend2
    • Checking for suitable kernel configuration options
      >>> Unpacking source...
      >>> Unpacking ndiswrapper-1.1.tar.gz to /var/tmp/portage/ndiswrapper-1.1-r1/work
    • Converting ndiswrapper-1.1/driver/Makefile to use M= instead of SUBDIRS=... [ ok ]
      >>> Source unpacked.
      gcc -Wall -g -DNDISWRAPPER_VERSION=\"1.1\" -c -o loadndisdriver.o loadndisdriver.c
      gcc -o loadndisdriver loadndisdriver.o
    • Preparing ndiswrapper module
      make -C //usr/src/linux M=/var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver \ NDISWRAPPER_VERSION=1.1 \ EXTRA_VERSION= modules
      make[1]: Entering directory /usr/src/linux-2.6.11.9-suspend2' CC [M] /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/hal.o CC [M] /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/iw_ndis.o CC [M] /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/loader.o CC [M] /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/misc_funcs.o CC [M] /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/ndis.o /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/loader.c: In functionregister_devices':
      /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/loader.c:861: warning: assignment from incompatible pointer type
      CC [M] /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/ntoskernel.o
      CC [M] /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/pe_linker.o
      CC [M] /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/proc.o
      CC [M] /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/wrapper.o
      /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/ntoskernel.c:1112:68: macro "kthread_run" requires 5 arguments, but only 3 given
      /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/ntoskernel.c: In function PsCreateSystemThread': /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/ntoskernel.c:1112: error:kthread_run' undeclared (first use in this function)
      /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/ntoskernel.c:1112: error: (Each undeclared identifier is reported only once
      /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/ntoskernel.c:1112: error: for each function it appears in.)
      make[2]: [/var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/ntoskernel.o] Error 1
      make[2]:
      Waiting for unfinished jobs....
      make[1]: [module/var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver] Error 2
      make[1]: Leaving directory `/usr/src/linux-2.6.11.9-suspend2'
      make:
      [default] Error 2
     

Log in to post a comment.