View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 11-07-2004, 06:13 PM   #1
Registered: Oct 2004
Distribution: RedHat Fedora core 2
Posts: 35

Rep: Reputation: 15
Question ndiswrapper failed to compile

Hi I'm trying to install ndiswrapper on an old compaq presario 7360
thats running redhat fedora 2 (kernel 2.6.5-...).
The problem is when I type 'make install' I get this:
[root@localhost ndiswrapper-0.11]# make install
make -C driver install
make[1]: Entering directory `/home/localh/ndiswrapper-0.11/driver'
make -C /lib/modules/2.6.5-1.358/build SUBDIRS=/home/localh/ndiswrapper-0.11/driver \
/lib/modules/2.6.5-1.358/build/scripts/ line 1: gcc: command not found
/lib/modules/2.6.5-1.358/build/scripts/ line 1: gcc: command not found
make[2]: Entering directory `/lib/modules/2.6.5-1.358/build'
CC [M] /home/localh/ndiswrapper-0.11/driver/wrapper.o
/bin/sh: line 1: gcc: command not found
make[3]: *** [/home/localh/ndiswrapper-0.11/driver/wrapper.o] Error 127
make[2]: *** [/home/localh/ndiswrapper-0.11/driver] Error 2
make[2]: Leaving directory `/lib/modules/2.6.5-1.358/build'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/localh/ndiswrapper-0.11/driver'
make: *** [install] Error 2
any Ideas what I can do to get it to work? I can post more information if you ask. thanks
Old 11-07-2004, 07:49 PM   #2
LQ Newbie
Registered: Sep 2004
Location: Orlando,FL
Distribution: LFS
Posts: 6

Rep: Reputation: 0
Re: ndiswrapper failed to compile

Originally posted by r_squared
/bin/sh: line 1: gcc: command not found
Have you checked to verify the location of gcc on the system and if it's in the path?
Old 11-08-2004, 04:23 AM   #3
Registered: Jul 2003
Location: north of england
Distribution: suse 9.1
Posts: 56

Rep: Reputation: 15
do you have the kernel-source installed?? i remember i got 2 errors when i tried to compile without it but not sure what the errors were.
Old 11-08-2004, 07:50 AM   #4
Registered: Oct 2004
Distribution: RedHat Fedora core 2
Posts: 35

Original Poster
Rep: Reputation: 15

Ok I figured it out. I used the command 'which gcc' to figure out where my compiler was. It turned out I didnt even have one installed. So I popped in the fedora cd and found the gcc.rpm file and installed it using the command 'rpm -ivh filename.rpm'
- Thanks for your input


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
[Gentoo] Ndiswrapper Problem - Failed to configure wireless for wlan0 freek sanders Linux - Software 8 11-11-2005 02:12 AM
Ndiswrapper working but Wlan failed to setup electropizza SUSE / openSUSE 1 09-17-2005 03:21 AM
Cant compile ndiswrapper (tried everything already) Giant01 Linux - Software 12 06-30-2005 08:26 AM
Broadcom 54g - ndiswrapper failed ayers Linux - Hardware 1 06-26-2005 04:03 PM
Would I be able to compile NDiswrapper into a new kernel? Kyral Retsam Slackware 3 07-20-2004 06:06 AM

All times are GMT -5. The time now is 09:39 PM.

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