Compile problems

2006-01-07
2012-10-06
  • Don Springall
    Don Springall
    2006-01-07

    Compiling version 1.7 I get the following error with
    a kernel souce installed of 2.6.15.git2. Any suugestions what I am missing ?

    root@localhost ndiswrapper-1.7]# make
    make -C driver
    make[1]: Entering directory /home/don/open/ndiswrapper-1.7/driver' make -C /lib/modules/2.6.15-git2/build SUBDIRS=/home/don/open/ndiswrapper-1.7/dr iver \ DRIVER_VERSION=1.7 make[2]: Entering directory/usr/src/kernel-2.6.15-git2'
    LD /home/don/open/ndiswrapper-1.7/driver/built-in.o
    CC [M] /home/don/open/ndiswrapper-1.7/driver/hal.o
    CC [M] /home/don/open/ndiswrapper-1.7/driver/iw_ndis.o
    CC [M] /home/don/open/ndiswrapper-1.7/driver/loader.o
    /home/don/open/ndiswrapper-1.7/driver/loader.c: In function ‘register_devices’:
    /home/don/open/ndiswrapper-1.7/driver/loader.c:769: error: ‘struct usb_driver’ h as no member named ‘owner’
    make[3]: [/home/don/open/ndiswrapper-1.7/driver/loader.o] Error 1
    make[2]:
    [module/home/don/open/ndiswrapper-1.7/driver] Error 2
    make[2]: Leaving directory /usr/src/kernel-2.6.15-git2' make[1]: *** [default] Error 2 make[1]: Leaving directory/home/don/open/ndiswrapper-1.7/driver'
    make: *** [all] Error 2
    [root@localhost ndiswrapper-1.7]#

     
    • Looks like .owner field is not defined anymore; you can remove/comment out that line and see if that works.

       
    • Don Springall
      Don Springall
      2006-01-09

      I think something has changes in the Kernel sources for this problem because I am getting the same thing
      (usb_driver h has no member named 'owner')with ndiswrapper 1.5 using the sources (2.6.15-git2 or kernel-2.6.15-1.1830_FC5.src.rpm from Fedora core 5 test1)