Results 1 to 3 of 3

Thread: can't make ndiswrapper

  1. #1
    Join Date
    Feb 2007
    Beans
    27

    can't make ndiswrapper

    i'm trying to use this tutorial, which worked in gutsy:
    http://ubuntuforums.org/showthread.p...=broadcom+4306

    but i'm stuck on step 11 which is in the ndiswrapper directory:
    sudo make

    when i do it i get these errors.
    make[2]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
    scripts/Makefile.build:46: *** CFLAGS was changed in "/home/cs/ndiswrapper/ndiswrapper-1.48rc1/driver/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
    make[2]: *** [_module_/home/cs/ndiswrapper/ndiswrapper-1.48rc1/driver] Error 2
    make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
    make[1]: *** [default] Error 2
    make[1]: Leaving directory `/home/cs/ndiswrapper/ndiswrapper-1.48rc1/driver'
    make: *** [all] Error 2


    when i type
    make (no sudo)
    i get this error:
    make[2]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
    CC [M] /home/cs/ndiswrapper/ndiswrapper-1.48rc1/driver/proc.o
    /home/cs/ndiswrapper/ndiswrapper-1.48rc1/driver/proc.c: In function ‘wrap_procfs_init’:
    /home/cs/ndiswrapper/ndiswrapper-1.48rc1/driver/proc.c:507: error: ‘proc_net’ undeclared (first use in this function)
    /home/cs/ndiswrapper/ndiswrapper-1.48rc1/driver/proc.c:507: error: (Each undeclared identifier is reported only once
    /home/cs/ndiswrapper/ndiswrapper-1.48rc1/driver/proc.c:507: error: for each function it appears in.)
    /home/cs/ndiswrapper/ndiswrapper-1.48rc1/driver/proc.c: In function ‘wrap_procfs_remove’:
    /home/cs/ndiswrapper/ndiswrapper-1.48rc1/driver/proc.c:534: error: ‘proc_net’ undeclared (first use in this function)

    help!!!

  2. #2
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,717
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: can't make ndiswrapper

    You didn't install the linux headers appropriately I bet.

    sudo aptitude install linux-headers-`uname -r`

  3. #3
    Join Date
    Feb 2007
    Beans
    27

    Re: can't make ndiswrapper

    i got the newest version 1.52 and it worked, thanks

Bookmarks

Posting Permissions

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