• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Ndiswrapper make problems :(

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

OLMI

Member
Joined
Jul 22, 2002
Location
San Diego, CA
Do any of you know about Ndiswrapper? I get these errors etc when I try to "make" in the ndiswrapper-1.7 directory. Is there something wrong with how I set up my kernel source? I'm new to linux, so it's possible I didn't extract the kernel properly or something.

Code:
[Qwerty@localhost ndiswrapper-1.7]# make
make -C driver
make[1]: Entering directory `/home/Qwerty/ndiswrapper-1.7/driver'
make -C /lib/modules/2.6.11-1.1369_FC4/build SUBDIRS=/home/Qwerty/ndiswrapper-1.7/driver \
        DRIVER_VERSION=1.7
make[2]: Entering directory `/usr/src/linux-2.6.11'

  WARNING: Symbol version dump /usr/src/linux-2.6.11/Module.symvers
           is missing; modules will have no dependencies and modversions.

  LD      /home/Qwerty/ndiswrapper-1.7/driver/built-in.o
  CC [M]  /home/Qwerty/ndiswrapper-1.7/driver/hal.o
In file included from include/linux/module.h:9,
                 from /home/Qwerty/ndiswrapper-1.7/driver/hal.c:17:
include/linux/config.h:4:28: error: linux/autoconf.h: No such file or directory
In file included from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /home/Qwerty/ndiswrapper-1.7/driver/hal.c:17:
include/asm/processor.h:69: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function)
include/asm/processor.h:69: error: requested alignment is not a constant
In file included from include/linux/module.h:23,
                 from /home/Qwerty/ndiswrapper-1.7/driver/hal.c:17:
include/asm/module.h:63:2: error: #error unknown processor family
In file included from include/asm/hardirq.h:6,
                 from include/linux/hardirq.h:6,
                 from include/linux/interrupt.h:11,
                 from include/linux/netdevice.h:514,
                 from /home/Qwerty/ndiswrapper-1.7/driver/hal.c:18:
include/linux/irq.h:70: error: requested alignment is not a constant
In file included from include/linux/hardirq.h:6,
                 from include/linux/interrupt.h:11,
                 from include/linux/netdevice.h:514,
                 from /home/Qwerty/ndiswrapper-1.7/driver/hal.c:18:
include/asm/hardirq.h:13: error: requested alignment is not a constant
make[3]: *** [/home/Qwerty/ndiswrapper-1.7/driver/hal.o] Error 1
make[2]: *** [_module_/home/Qwerty/ndiswrapper-1.7/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.11'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/Qwerty/ndiswrapper-1.7/driver'
make: *** [all] Error 2
[Qwerty@localhost ndiswrapper-1.7]#

Help will be much appreciated, I need it! :D
 
you might haven't set your include directories properly. First, check if there is a linux/autoconf.h on your system, then make sure it's in gcc's include path when you run it.
 
Back