Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All I'm getting this error on 'make' - then 'make install' fails. Any ideas?? Code: root@mail:/downloads/ndiswrapper-1.2# make make -C driver make[1]: Entering directory `/downloads/ndiswrapper-1.2/driver' cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.29/build/include/linux/modversions.h ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User stokes's Avatar
    Join Date
    Oct 2004
    Location
    UK
    Posts
    274

    Solved. Installing ndiswrapper on slackware 10.1


    Hi All

    I'm getting this error on 'make' - then 'make install' fails. Any ideas??

    Code:
    root@mail:/downloads/ndiswrapper-1.2# make
    make -C driver
    make[1]: Entering directory `/downloads/ndiswrapper-1.2/driver'
    cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.29/build/include/linux/modversions.h -DNDISWRAPPER_VERSION=\"1.2\" -DEXTRA_VERSION=\"\" -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.29/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -O2 -mpreferred-stack-boundary=2    -c -o hal.o hal.c
    cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.29/build/include/linux/modversions.h -DNDISWRAPPER_VERSION=\"1.2\" -DEXTRA_VERSION=\"\" -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.29/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -O2 -mpreferred-stack-boundary=2    -c -o iw_ndis.o iw_ndis.c
    cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.29/build/include/linux/modversions.h -DNDISWRAPPER_VERSION=\"1.2\" -DEXTRA_VERSION=\"\" -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.29/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -O2 -mpreferred-stack-boundary=2    -c -o loader.o loader.c
    loader.c: In function `ndiswrapper_add_pci_device':
    loader.c:211: warning: implicit declaration of function `pci_set_consistent_dma_mask'
    cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.29/build/include/linux/modversions.h -DNDISWRAPPER_VERSION=\"1.2\" -DEXTRA_VERSION=\"\" -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.29/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -O2 -mpreferred-stack-boundary=2    -c -o misc_funcs.o misc_funcs.c
    cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.29/build/include/linux/modversions.h -DNDISWRAPPER_VERSION=\"1.2\" -DEXTRA_VERSION=\"\" -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.29/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -O2 -mpreferred-stack-boundary=2    -c -o ndis.o ndis.c
    cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.29/build/include/linux/modversions.h -DNDISWRAPPER_VERSION=\"1.2\" -DEXTRA_VERSION=\"\" -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.29/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -O2 -mpreferred-stack-boundary=2    -c -o ntoskernel.o ntoskernel.c
    ntoskernel.c: In function `wakeup_event':
    ntoskernel.c:826: error: `task_t' undeclared (first use in this function)
    ntoskernel.c:826: error: (Each undeclared identifier is reported only once
    ntoskernel.c:826: error: for each function it appears in.)
    ntoskernel.c:826: error: parse error before ')' token
    make[1]: *** [ntoskernel.o] Error 1
    make[1]: Leaving directory `/downloads/ndiswrapper-1.2/driver'
    make: *** [all] Error 2
    Registered Linux user #389109
    My Semi-Linux Blog

  2. #2
    Linux User stokes's Avatar
    Join Date
    Oct 2004
    Location
    UK
    Posts
    274
    Solved - went back a version to ndiswrapper 1.1, it works.
    Registered Linux user #389109
    My Semi-Linux Blog

Posting Permissions

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