LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ndiswrapper help (https://www.linuxquestions.org/questions/linux-newbie-8/ndiswrapper-help-323199/)

simple 05-13-2005 02:31 PM

ndiswrapper help
 
well i'm using kunbunu 5.04 now, and i'm trying to get my pci card detected and running, i need ndiswrapper to do that, i got the latest ndiswrapper, and now i'm trying to compile it... i get an error though
Quote:

make -C driver install
make[1]: Entering directory `/home/simple/ndiswrapper-0.11/driver'
make -C /lib/modules/2.6.10-5-386/build SUBDIRS=/home/simple/ndiswrapper-0.11/driver \
NDISWRAPPER_VERSION=0.11 \
EXTRA_VERSION= modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.10-5-386'
CC [M] /home/simple/ndiswrapper-0.11/driver/wrapper.o
/home/simple/ndiswrapper-0.11/driver/wrapper.c: In function `ndis_suspend_pci':
/home/simple/ndiswrapper-0.11/driver/wrapper.c:930: error: too many arguments to function `pci_save_state'
/home/simple/ndiswrapper-0.11/driver/wrapper.c: In function `ndis_resume_pci':
/home/simple/ndiswrapper-0.11/driver/wrapper.c:957: error: too many arguments to function `pci_restore_state'
/home/simple/ndiswrapper-0.11/driver/wrapper.c: In function `ndis_init_one_pci':
/home/simple/ndiswrapper-0.11/driver/wrapper.c:1525: error: too many arguments to function `pci_restore_state'
make[3]: *** [/home/simple/ndiswrapper-0.11/driver/wrapper.o] Error 1
make[2]: *** [_module_/home/simple/ndiswrapper-0.11/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.10-5-386'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/simple/ndiswrapper-0.11/driver'
make: *** [install] Error 2
no clue what to do

esteeven 05-13-2005 02:49 PM

I had sooooo many problems with ndiswrapper on my Debian laptop. I could not, for the life of me, install it and make it work. In the end, I downloaded a SUSE rpm and used alien to convert it to a deb file. I did dpkg - newdebfile and ndiswrapper worked a treat. I don't know how much sense this will make to you but I am happy to guide you through what I did to see if it works for you.

mugstar 05-13-2005 02:57 PM

There's a newer (prerelease) version of 1.2 available here, maybe give that a shot? Or see the unoffical Ubuntu guide to add more repositories for apt-get.

dog606 05-13-2005 02:58 PM

You need to install your kernel sources to be able to compile ndiswrapper. Hope it helps.

byen 05-13-2005 02:58 PM

dude...had the same problem..went to this link and was up and running in 20 minutes... the best walkthrough ive ever seen.

http://www.ubuntuforums.org/showthre...3&page=1&pp=10

mugstar 05-13-2005 03:16 PM

duplicate post. need sleeeep...

simple 05-13-2005 03:47 PM

i'm going to try the guide :D...but it says before you start delete all ndiswrapper stuff, how do i do that :/ just remove all dir's with ndiswrapper in it using findfile?

simple 05-13-2005 04:12 PM

that's what i mean, i am a complete newb so i don't know right now, like to learn though :D
0. Before you start, clear out any mess from existing failed attempts to use ndiswrapper.
just delete dirs containing ndiswrapper?

simple 05-13-2005 06:00 PM

okay, i got the bcmwl5 drive installed and everything, but i can add a wlan0, i try to do sudo modprobe ndiswrapper and get this error,
Quote:

FATAL: Error inserting ndiswrapper (/lib/modules/2.6.10-5-386/misc/ndiswrapper.ko): Unknown symbol in module, or unknown parameter (see dmesg)
i've saved the demsg if that helps :/, hope somebody knows


All times are GMT -5. The time now is 02:36 PM.