Find the answer to your Linux question:
Results 1 to 2 of 2
Does anyone 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2006
    Posts
    1

    Ndiswrapper make problems :(


    Does anyone 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!

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,883
    Do you have the kernel sources installed? Are they the right sources for your running kernel and for your processor type? It looks like it's failling because of missing or unexpected stuff in the kernel headers.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •