Can't make ndiswrapper in RHEL4

  • Reema  Mathew

    Reema Mathew - 2009-06-29

    I am trying to get my wireless working with a wireless USB adapter
    For that i found ndiswrapper (,
    using which i can make use of my windows driver for the adapter

    while doing a make i am getting the following error

    reema@localhost ndiswrapper-1.55]$ make
    make -C driver
    make[1]: Entering directory `/home/reema/Desktop/ndiswrapper-1.55/driver'

    *** WARNING: This kernel uses 4K stack size option
    (CONFIG_4KSTACKS); many Windows drivers will not work
    with this option enabled. Disable CONFIG_4KSTACKS
    in kernel's .config file, recompile and install kernel

    make -C /usr/src/kernels/2.6.9-55.EL-i686 M=/home/reema/Desktop/ndiswrapper-1.55/driver
    make[2]: Entering directory /usr/src/kernels/2.6.9-55.EL-i686' LD /home/reema/Desktop/ndiswrapper-1.55/driver/built-in.o MKEXPORT /home/reema/Desktop/ndiswrapper-1.55/driver/crt_exports.h MKEXPORT /home/reema/Desktop/ndiswrapper-1.55/driver/hal_exports.h MKEXPORT /home/reema/Desktop/ndiswrapper-1.55/driver/ndis_exports.h MKEXPORT /home/reema/Desktop/ndiswrapper-1.55/driver/ntoskernel_exports.h MKEXPORT /home/reema/Desktop/ndiswrapper-1.55/driver/ntoskernel_io_exports.h MKEXPORT /home/reema/Desktop/ndiswrapper-1.55/driver/rtl_exports.h MKEXPORT /home/reema/Desktop/ndiswrapper-1.55/driver/usb_exports.h CC [M] /home/reema/Desktop/ndiswrapper-1.55/driver/crt.o In file included from /home/reema/Desktop/ndiswrapper-1.55/driver/crt.c:16: /home/reema/Desktop/ndiswrapper-1.55/driver/ntoskernel.h:641: error: fieldlock' has incomplete type
    /home/reema/Desktop/ndiswrapper-1.55/driver/ntoskernel.h: In function raise_irql': /home/reema/Desktop/ndiswrapper-1.55/driver/ntoskernel.h:678: warning: implicit declaration of functionmutex_lock'
    /home/reema/Desktop/ndiswrapper-1.55/driver/ntoskernel.h: In function lower_irql': /home/reema/Desktop/ndiswrapper-1.55/driver/ntoskernel.h:700: warning: implicit declaration of functionmutex_unlock'
    make[3]: [/home/reema/Desktop/ndiswrapper-1.55/driver/crt.o] Error 1
    [module/home/reema/Desktop/ndiswrapper-1.55/driver] Error 2
    make[2]: Leaving directory /usr/src/kernels/2.6.9-55.EL-i686' make[1]: *** [modules] Error 2 make[1]: Leaving directory/home/reema/Desktop/ndiswrapper-1.55/driver'
    make: *** [all] Error 2

    Pls help....


    • Georg Schild

      Georg Schild - 2009-06-29

      Two things:

      1. Your kernel uses the 4KSTACKS option, which doesn't play well with most windows drivers (just repeating the warning)
      2. Your kernel is far too old for the version of ndiswrapper you are trying to use. You need at least 2.6.16. So either update your kernel or get an older version of ndiswrapper.

      best regards


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks