Can't build nvidia.ko on MEPIS3.3. Read /usr.../nvidia-kernelsource/README.debian
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
Last edited by digorykirke; 03-16-2005 at 10:09 AM..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.