You are not logged in.

#1 2011-02-16 23:26:12

jswaro
Member
Registered: 2010-08-28
Posts: 5

ndiswrapper - make error - possible missing package?

I'm trying to install my Netgear wna3100 wireless adapter. Unfortunately, downloading the latest stable source and compiling it returns the following. I need to insert a section of code that is supposed to detect my adapter but since it wont compile without edits on my part, maybe I'm missing something...

Thoughts?

make
make -C driver
make[1]: Entering directory `/home/jswaro/ndiswrapper-1.56/driver'
make -C /usr/src/linux-2.6.37-ARCH M=/home/jswaro/ndiswrapper-1.56/driver
make[2]: Entering directory `/usr/src/linux-2.6.37-ARCH'
  LD      /home/jswaro/ndiswrapper-1.56/driver/built-in.o
  MKEXPORT /home/jswaro/ndiswrapper-1.56/driver/crt_exports.h
  MKEXPORT /home/jswaro/ndiswrapper-1.56/driver/hal_exports.h
  MKEXPORT /home/jswaro/ndiswrapper-1.56/driver/ndis_exports.h
  MKEXPORT /home/jswaro/ndiswrapper-1.56/driver/ntoskernel_exports.h
  MKEXPORT /home/jswaro/ndiswrapper-1.56/driver/ntoskernel_io_exports.h
  MKEXPORT /home/jswaro/ndiswrapper-1.56/driver/rtl_exports.h
  MKEXPORT /home/jswaro/ndiswrapper-1.56/driver/usb_exports.h
  MKSTUBS /home/jswaro/ndiswrapper-1.56/driver/win2lin_stubs.h
  CC [M]  /home/jswaro/ndiswrapper-1.56/driver/crt.o
  CC [M]  /home/jswaro/ndiswrapper-1.56/driver/hal.o
  CC [M]  /home/jswaro/ndiswrapper-1.56/driver/iw_ndis.o
  CC [M]  /home/jswaro/ndiswrapper-1.56/driver/loader.o
/home/jswaro/ndiswrapper-1.56/driver/loader.c:834:2: error: unknown field ‘ioctl’ specified in initializer
/home/jswaro/ndiswrapper-1.56/driver/loader.c:834:2: warning: initialization from incompatible pointer type
make[3]: *** [/home/jswaro/ndiswrapper-1.56/driver/loader.o] Error 1
make[2]: *** [_module_/home/jswaro/ndiswrapper-1.56/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.37-ARCH'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/jswaro/ndiswrapper-1.56/driver'
make: *** [all] Error 2

Offline

#2 2011-02-16 23:54:05

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: ndiswrapper - make error - possible missing package?

what's wrong with the current package from our repository?

pacman -S ndiswrapper


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2011-02-17 01:53:03

jswaro
Member
Registered: 2010-08-28
Posts: 5

Re: ndiswrapper - make error - possible missing package?

There is nothing wrong with the current package except that it does not contain the "fix" for the WNA3100 adapter. According to what I've read so far, there is a rather simple function that needs to be placed in ntoskernel_io.c to fix this. I can't say the function works because this wont compile using the version provided from source forge. I'm still working on it

Offline

#4 2011-02-17 08:26:42

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: ndiswrapper - make error - possible missing package?

jswaro wrote:

There is nothing wrong with the current package except that it does not contain the "fix" for the WNA3100 adapter. According to what I've read so far, there is a rather simple function that needs to be placed in ntoskernel_io.c to fix this. I can't say the function works because this wont compile using the version provided from source forge. I'm still working on it

my point was to use abs to get the current package version, which contains the fix for newer kernel and apply your patch to it.

https://wiki.archlinux.org/index.php/ABS


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB