Paul Howarth wrote:
On Sun, 2006-04-23 at 08:25 -0400, Bob Goodwin wrote:
I'm not sure what's happening here or why? It appears to want
"KBUILD=/lib/modules/" added to the "make" command? Perhaps my syntax
is wrong? Can anyone tell me what I'm doing wrong?
[root@box4 ndiswrapper-1.12]# make
KBUILD=/lib/modules/2.6.15-1.2054_FC5/build
make -C driver
make[1]: Entering directory
`/root/download/networking/ndiswrapper-1.12/driver'
Can't find kernel build files in /lib/modules/2.6.15-1.2054_FC5/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory
`/root/download/networking/ndiswrapper-1.12/driver'
make: *** [all]
Do you have kernel-devel-2.6.16-1.2054_FC5 installed?
Paul.
Ok, after installing kernel-devel-2.6.15 [from the installation DVD
files] it appears I have made some progress
but now another error, "make[2]: gcc: Command not found" what am I
missing now? Once I get the internet connection
working I can update everything in one fell swoop.
Thanks.
BobG
[root@box4 ndiswrapper-1.12]# make
make -C driver
make[1]: Entering directory `/home/bobg/ndiswrapper-1.12/driver'
make -C /lib/modules/2.6.15-1.2054_FC5/build
SUBDIRS=/home/bobg/ndiswrapper-1.12/driver \
DRIVER_VERSION=1.12
/usr/src/kernels/2.6.15-1.2054_FC5-i686/scripts/gcc-version.sh: line 11:
gcc: command not found
/usr/src/kernels/2.6.15-1.2054_FC5-i686/scripts/gcc-version.sh: line 12:
gcc: command not found
make[2]: gcc: Command not found
make[2]: Entering directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686'
LD /home/bobg/ndiswrapper-1.12/driver/built-in.o
/bin/sh: ar: command not found
make[3]: *** [/home/bobg/ndiswrapper-1.12/driver/built-in.o] Error 127
make[2]: *** [_module_/home/bobg/ndiswrapper-1.12/driver] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.15-1.2054_FC5-i686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/bobg/ndiswrapper-1.12/driver'
make: *** [all] Error 2