LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can't build nvidia.ko on MEPIS3.3. Read /usr.../nvidia-kernelsource/README.debian (http://www.linuxquestions.org/questions/linux-software-2/cant-build-nvidia-ko-on-mepis3-3-read-usr-nvidia-kernelsource-readme-debian-302170/)

digorykirke 03-16-2005 02:10 AM

Can't build nvidia.ko on MEPIS3.3. Have read /usr.../nvidia-kernelsource/README.deb
 
Thanks for reading.

Summary-
Can't build nvidia.ko kernel package

Intro-
Following the instructions in /usr/share/doc/nvidia-kernelsource/README.debian
Using method 1, installing in /urs/src, the default.
Went through steps 1-4, matched kernels, followed exactly.
Step 5...

Problem -
Unable to build nvidia.ko. Report follows:

root@5[nvidia-kernel]# debian/rules binary_modules
(the command in step 5)

# select which makefile to use.
rm -f /usr/src/modules/nvidia-kernel/nv/Makefile || true
if [ 6 = 6 ]; then \
cd /usr/src/modules/nvidia-kernel/nv ; \
ln -s Makefile.kbuild Makefile ; \
cd .. ; \
if [ 0 = 1 ] ; then \
dpatch apply 04_minion ; \
fi ; \
if [ 0 = 1 ]; then \
dpatch apply 01_sysfs ; \
dpatch status 01_sysfs >patch-stamp ; \
dpatch apply 02_pcialias ; \
dpatch status 02_pcialias >>patch-stamp ; \
fi ; \
fi
if [ 6 = 4 ]; then \
cd /usr/src/modules/nvidia-kernel/nv ; \
ln -s Makefile.nvidia Makefile ; \
cd .. ; \
fi
#nothing here anymore
touch configure-stamp
if [ -f /usr/src/modules/nvidia-kernel/debian/control.template ]
; then \
cp /usr/src/modules/nvidia-kernel/debian/control.templa
te /usr/src/modules/nvidia-kernel/debian/control; \
fi
dh_testdir
dh_testroot
PATCHLEVEL = 6
Kernel compiler version : 3.3.5
Detected compiler version : 3.3.5
Using compiler gcc-3.3 version 3.3.5
touch /usr/src/modules/nvidia-kernel/nv/gcc-check
touch /usr/src/modules/nvidia-kernel/nv/cc-sanity-check
## Main Make ##
IGNORE_CC_MISMATCH=1 CC="gcc-3.3" /usr/bin/make -C /usr/src/mod
ules/nvidia-kernel/nv -f Makefile SYSSRC=/usr/src/kernel-headers
-2.6.10/ KBUILD_PARAMS="-C /usr/src/kernel-headers-2.6.10/ SUB
DIRS=/usr/src/modules/nvidia-kernel/nv" module;
make[1]: Entering directory `/usr/src/modules/nvidia-kernel/nv'

NVIDIA: calling KBUILD...
make CC=gcc-3.3 -C /usr/src/kernel-headers-2.6.10/ SUBDIRS=/usr/
src/modules/nvidia-kernel/nv modules
/bin/sh: /usr/src/kernel-headers-2.6.10/scripts/gcc-version.sh:No such file or directory
make[2]: Entering directory `/usr/src/kernel-headers-2.6.10'
make[3]: scripts/Makefile.build: No such file or directory
make[3]: *** No rule to make target `scripts/Makefile.build'. Stop.
make[2]: *** [_module_/usr/src/modules/nvidia-kernel/nv] Error 2
make[2]: Leaving directory `/usr/src/kernel-headers-2.6.10'
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make[1]: Leaving directory `/usr/src/modules/nvidia-kernel/nv'
make: *** [build-stamp] Error 2


I see the "no such file or directory" message, but I don't understand "scripts/M...".

Thanks for reading.


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