Make error on Gentoo

  • ++Norton++

    ++Norton++ - 2009-08-16

    I'm trying to make ndiswrapper-1.55 on Gentoo whith kernel 2.6.25-r7, but it writes:
    n0rt0n@n0rt0n ~/src/ndiswrapper-1.55 $ make
    make -C driver
    make[1]: Entering directory `/home/n0rt0n/src/ndiswrapper-1.55/driver'

    *** WARNING: This kernel lacks wireless extensions.
    Wireless drivers will not work properly.

    make -C /usr/src/linux-2.6.25-gentoo-r7 M=/home/n0rt0n/src/ndiswrapper-1.55/driver
    make[2]: Entering directory /usr/src/linux-2.6.25-gentoo-r7' LD /home/n0rt0n/src/ndiswrapper-1.55/driver/built-in.o MKEXPORT /home/n0rt0n/src/ndiswrapper-1.55/driver/crt_exports.h MKEXPORT /home/n0rt0n/src/ndiswrapper-1.55/driver/hal_exports.h MKEXPORT /home/n0rt0n/src/ndiswrapper-1.55/driver/ndis_exports.h MKEXPORT /home/n0rt0n/src/ndiswrapper-1.55/driver/ntoskernel_exports.h MKEXPORT /home/n0rt0n/src/ndiswrapper-1.55/driver/ntoskernel_io_exports.h MKEXPORT /home/n0rt0n/src/ndiswrapper-1.55/driver/rtl_exports.h MKEXPORT /home/n0rt0n/src/ndiswrapper-1.55/driver/usb_exports.h CC [M] /home/n0rt0n/src/ndiswrapper-1.55/driver/crt.o CC [M] /home/n0rt0n/src/ndiswrapper-1.55/driver/hal.o CC [M] /home/n0rt0n/src/ndiswrapper-1.55/driver/iw_ndis.o CC [M] /home/n0rt0n/src/ndiswrapper-1.55/driver/loader.o CC [M] /home/n0rt0n/src/ndiswrapper-1.55/driver/ndis.o CC [M] /home/n0rt0n/src/ndiswrapper-1.55/driver/ntoskernel.o CC [M] /home/n0rt0n/src/ndiswrapper-1.55/driver/ntoskernel_io.o CC [M] /home/n0rt0n/src/ndiswrapper-1.55/driver/pe_linker.o CC [M] /home/n0rt0n/src/ndiswrapper-1.55/driver/pnp.o CC [M] /home/n0rt0n/src/ndiswrapper-1.55/driver/proc.o CC [M] /home/n0rt0n/src/ndiswrapper-1.55/driver/rtl.o CC [M] /home/n0rt0n/src/ndiswrapper-1.55/driver/wrapmem.o CC [M] /home/n0rt0n/src/ndiswrapper-1.55/driver/wrapndis.o /home/n0rt0n/src/ndiswrapper-1.55/driver/wrapndis.c: In function 'ndis_start_device': /home/n0rt0n/src/ndiswrapper-1.55/driver/wrapndis.c:1806: error: 'struct net_device' has no member named 'wireless_handlers' make[3]: *** [/home/n0rt0n/src/ndiswrapper-1.55/driver/wrapndis.o] Error 1 make[2]: *** [_module_/home/n0rt0n/src/ndiswrapper-1.55/driver] Error 2 make[2]: Leaving directory/usr/src/linux-2.6.25-gentoo-r7'
    make[1]: [modules] Error 2
    make[1]: Leaving directory `/home/n0rt0n/src/ndiswrapper-1.55/driver'
    [all] Error 2
    n0rt0n@n0rt0n ~/src/ndiswrapper-1.55 $
    What's wrong?
    What can I do to compile it?
    P.S. Sorry for my english, I'm from Russia :)



    Code: code

  • farge

    farge - 2009-12-07

    It looks as though that big warning near the top is your key. The Linux kernel
    you're running doesn't have the ability to operate wireless networking
    devices. I've never used Gentoo, but I understand you have to compile pretty
    much everything from scratch, correct? If this includes the kernel, you won't
    be able to compile ndiswrapper until you recompile your kernel with wireless
    network device support. Or if it's possible you could switch to a pre-compiled
    kernel with wireless network device support. I don't think you're going to get
    far with your current kernel, at any rate. Upgrading could be a good move
    anyway - Linux kernel development is up to version 2.6.32 now, so yours is
    getting a little old.

    BTW if you still have issues after upgrading, try using the full kernel source
    from instead of the gentoo one. Might take a little more
    configuration but it definitely has support for wireless devices.


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

Sign up for the SourceForge newsletter:

No, thanks