LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   ndiswrapper failed to compile (https://www.linuxquestions.org/questions/linux-wireless-networking-41/ndiswrapper-failed-to-compile-252201/)

r_squared 11-07-2004 06:13 PM

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:
----------------------------start---------------------------------------------------
[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 \
NDISWRAPPER_VERSION=0.11 \
EXTRA_VERSION= modules
/lib/modules/2.6.5-1.358/build/scripts/gcc-version.sh: line 1: gcc: command not found
/lib/modules/2.6.5-1.358/build/scripts/gcc-version.sh: 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
---------------------------------------end------------------------------------------
any Ideas what I can do to get it to work? I can post more information if you ask. thanks

planetes 11-07-2004 07:49 PM

Re: ndiswrapper failed to compile
 
Quote:

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?

toddncl 11-08-2004 04:23 AM

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.

r_squared 11-08-2004 07:50 AM

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


All times are GMT -5. The time now is 07:15 PM.