LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-29-2006, 12:33 AM   #1
.nu
Member
 
Registered: Mar 2006
Distribution: Slackware 10.2
Posts: 60

Rep: Reputation: 15
Trying to install ndiswrapper. getting error (need to know what it means)


ok. I HAVE done this before but what the heck, i can't seem to do it again. I just installed suse again, and ive been trying to install ndiswrapper (1.16 to be exact).

Anyways, I downloaded the shit and did:

tar zxvf ndiswrapper-1.16.tar.gz
cd ndiswrapper-1.16

ok. so I extracted to that directory.
the instructions say:
"go to the source directory and run 'make distclean' and 'make'.

when I ran 'make distclean', no errors. then I typed 'make' and this happened:



make -C driver
make[1]: Entering directory `/root/ documents/ndiswrapper-1.16/driver'
make -C /lib/modules/2.6.16.13-4-smp/build SUBDIRS=/root/ documents/ndiswrapper-1.16/driver \

DRIVER_VERSION=1.16
make[2]: Entering directory `/usr/src/linux-2.6.16.13-4-obj/i386/smp'
make -C ../../../linux-2.6.16.13-4 O=../linux-2.6.16.13-4-obj/i386/smp
/usr/src/linux-2.6.16.13-4/script s/gcc-version.sh: line 11: gcc: command not found
/usr/src/linux-2.6.16.13-4/script s/gcc-version.sh: line 12: gcc: command not found
make[4]: gcc: Command not found

CC [M] /root/ documents/ndiswrapper-1.16/driver/hal.o
/bin/sh: gcc: command not found
make[5]: *** [/root/ documents/ndiswrapper-1.16/driver/hal.o] Error 127
make[4]: *** [_module_/root/ documents/ndiswrapper-1.16/driver] Error 2
make[3]: *** [_all] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.16.13-4-obj/i386/smp'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/ documents/ndiswrapper-1.16/driver'
make: *** [all] Error 2




is that a kernel problem or what?
 
Old 07-29-2006, 12:55 AM   #2
.nu
Member
 
Registered: Mar 2006
Distribution: Slackware 10.2
Posts: 60

Original Poster
Rep: Reputation: 15
Hi.
i installed a gcc compiler and installed it. but when i did modprobe ndiswrapper, i got another error:


FATAL: Error inserting ndiswrapper (/lib/modules/2.6.16.13-4-smp/updates/ndiswrapper.ko): Invalid argument


anyone know?
 
Old 07-29-2006, 01:41 AM   #3
matthalliday
Member
 
Registered: Jan 2006
Location: Brisbane, Australia
Distribution: Suse, Mandrake, IPCop, Debian, Slackware
Posts: 34

Rep: Reputation: 15
http://nextgen.no-ip.org/~andrew/lin...rapperinfo.php
 
Old 07-29-2006, 01:46 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
I got the same error when I tried to use the ndiswrapper package for SuSE 10.1. I compiled a new ndiswrapper command and kernel module from a source tarball that I had backed up from my SuSE 10.0 version.

There may also be an issue if you compiled a kernel with the wrong stack size. However, I read that the warning is false for Slackware. Also, I wasn't able to find any reference to stack size in the ndiswrapper source ( which by the way is written in perl ).

Lastly, look in the ndiswrapper wiki. You may have success with the windows drivers that they recommend. They have links to download the driver that works best for your chipset.
http://ndiswrapper.sourceforge.net/w...p?Installation
 
Old 07-29-2006, 11:34 AM   #5
.nu
Member
 
Registered: Mar 2006
Distribution: Slackware 10.2
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by matthalliday

Thank you matt. i will give it a shot right now
 
Old 07-29-2006, 11:35 AM   #6
.nu
Member
 
Registered: Mar 2006
Distribution: Slackware 10.2
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal
I got the same error when I tried to use the ndiswrapper package for SuSE 10.1. I compiled a new ndiswrapper command and kernel module from a source tarball that I had backed up from my SuSE 10.0 version.

There may also be an issue if you compiled a kernel with the wrong stack size. However, I read that the warning is false for Slackware. Also, I wasn't able to find any reference to stack size in the ndiswrapper source ( which by the way is written in perl ).

Lastly, look in the ndiswrapper wiki. You may have success with the windows drivers that they recommend. They have links to download the driver that works best for your chipset.
http://ndiswrapper.sourceforge.net/w...p?Installation
I'm using suse 10.1 too.
But the weird thing is, i did this about 3 months ago and i got no errors.
I have the wikipedia here printed out and followed it step by step.
i am about to try the link matt just posted though, ill give you guys an update soon
 
Old 07-29-2006, 09:56 PM   #7
.nu
Member
 
Registered: Mar 2006
Distribution: Slackware 10.2
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by matthalliday
this worked very well.
thank you.
 
Old 07-30-2006, 03:19 AM   #8
matthalliday
Member
 
Registered: Jan 2006
Location: Brisbane, Australia
Distribution: Suse, Mandrake, IPCop, Debian, Slackware
Posts: 34

Rep: Reputation: 15
Not a problem mate.

I'm an old hand with NDISWrapper.
 
  


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
What this error message means? walmart Other *NIX 8 03-16-2005 02:28 PM
make install ndiswrapper error I can't decipher case1984 Linux - Wireless Networking 1 09-28-2004 06:59 PM
ndiswrapper- Make Install Error Seribicus Linux - Wireless Networking 3 07-05-2004 07:19 PM
not sure what this error message means. Cass944 Linux - Software 1 05-11-2004 06:43 PM
Anyone know what this 'error' means? BxBoy Linux - General 2 02-21-2004 04:31 PM


All times are GMT -5. The time now is 08:53 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