LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   error compiling ndiswrapper (https://www.linuxquestions.org/questions/linux-wireless-networking-41/error-compiling-ndiswrapper-309758/)

jkfff 04-04-2005 07:57 PM

error compiling ndiswrapper
 
I recently installed Slackware 10.1 on my laptop, and it took me a while to get it configured because I'm fairly new to linux. I was able to install ndiswrapper and get my internet connection working, but I couldn't get my sound working so I decided to try upgrading my kernel from the default 2.4.29 to 2.6.10. I got the new kernel up and running and the sound is working, but when I try to install ndiswrapper under it I get this error

root@darkstar:/usr/src/ndiswrapper-1.1# make
make -C driver
make[1]: Entering directory `/usr/src/ndiswrapper-1.1/driver'
make -C /lib/modules/2.6.10/build SUBDIRS=/usr/src/ndiswrapper-1.1/driver \
NDISWRAPPER_VERSION=1.1 \
EXTRA_VERSION= modules
make[2]: Entering directory `/usr/src/linux-2.6.10'
CC [M] /usr/src/ndiswrapper-1.1/driver/hal.o
CC [M] /usr/src/ndiswrapper-1.1/driver/iw_ndis.o
CC [M] /usr/src/ndiswrapper-1.1/driver/loader.o
CC [M] /usr/src/ndiswrapper-1.1/driver/misc_funcs.o
CC [M] /usr/src/ndiswrapper-1.1/driver/ndis.o
CC [M] /usr/src/ndiswrapper-1.1/driver/ntoskernel.o
CC [M] /usr/src/ndiswrapper-1.1/driver/pe_linker.o
CC [M] /usr/src/ndiswrapper-1.1/driver/proc.o
CC [M] /usr/src/ndiswrapper-1.1/driver/wrapper.o
CC [M] /usr/src/ndiswrapper-1.1/driver/usb.o
CC [M] /usr/src/ndiswrapper-1.1/driver/divdi3.o
LD [M] /usr/src/ndiswrapper-1.1/driver/ndiswrapper.o
Building modules, stage 2.
MODPOST
*** Warning: "wireless_send_event" [/usr/src/ndiswrapper-1.1/driver/ndiswrapper.ko] undefined!
CC /usr/src/ndiswrapper-1.1/driver/ndiswrapper.mod.o
LD [M] /usr/src/ndiswrapper-1.1/driver/ndiswrapper.ko
make[2]: Leaving directory `/usr/src/linux-2.6.10'
make[1]: Leaving directory `/usr/src/ndiswrapper-1.1/driver'
make -C utils
make[1]: Entering directory `/usr/src/ndiswrapper-1.1/utils'
cc -Wall -g -DNDISWRAPPER_VERSION=\"1.1\" -c -o loadndisdriver.o loadndisdriver.c
gcc -o loadndisdriver loadndisdriver.o
make[1]: Leaving directory `/usr/src/ndiswrapper-1.1/utils'

I checked on the ndiswrapper instalation wiki page and it says this for Slackware

The Standard Kernel doesnt work, upgrade your Kernel to 2.6.10 (dont use SMP oder Preempt options) and use latest ndiswrapper.

I assumed SMP stood for the Symmetric multi-processing support option and Preempt was the Preemptible Kernel option (both of which I have disabled). I tried different kernel versions (2.6.6 7 8 9 & 11) with different versions of ndiswrapper but I always get this same error. I have no idea what to try now so any help would be appreciated.

mrGenixus 04-04-2005 08:16 PM

try removing the source package and reinstalling it and trying a fresh compile.

You might also want to make clean && make to clear out any temp files or old stuff.

jkfff 04-04-2005 08:32 PM

I did uninstall ndiswrapper before compiling my new kernel, and I do a make clean before evry time I try to compile ndiswrapper but I'm still getting the error.


All times are GMT -5. The time now is 03:14 AM.