LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 04-04-2005, 07:57 PM   #1
jkfff
LQ Newbie
 
Registered: Apr 2005
Posts: 5

Rep: Reputation: 0
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.
 
Old 04-04-2005, 08:16 PM   #2
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
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.
 
Old 04-04-2005, 08:32 PM   #3
jkfff
LQ Newbie
 
Registered: Apr 2005
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Guide to ndiswrapper and Sarge with no compiling MikeZila Debian 28 08-18-2007 04:46 AM
compiling source to get ndiswrapper to work? weezerisrock Linux - Newbie 10 09-30-2005 05:51 PM
compiling Ndiswrapper kernel joshknape Linux - Wireless Networking 1 07-17-2005 02:18 AM
compiling a module (ndiswrapper) r.stiltskin Debian 4 10-23-2004 02:14 PM
Problem with NdisWrapper compiling... Hell-Shooter Mandriva 8 05-30-2004 05:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 01:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration