Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This 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.


Search this Thread
Old 03-16-2005, 02:10 AM   #1
LQ Newbie
Registered: Nov 2004
Location: NYC
Distribution: ubuntu jaunty
Posts: 19

Rep: Reputation: 0
Can't build nvidia.ko on MEPIS3.3. Have read /usr.../nvidia-kernelsource/README.deb

Thanks for reading.

Can't build nvidia.ko kernel package

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 ; \
if [ 6 = 4 ]; then \
cd /usr/src/modules/nvidia-kernel/nv ; \
ln -s Makefile.nvidia Makefile ; \
cd .. ; \
#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; \
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/ such file or directory
make[2]: Entering directory `/usr/src/kernel-headers-2.6.10'
make[3]: scripts/ No such file or directory
make[3]: *** No rule to make target `scripts/'. Stop.
make[2]: *** [_module_/usr/src/modules/nvidia-kernel/nv] Error 2
make[2]: Leaving directory `/usr/src/kernel-headers-2.6.10'
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 09:09 AM.


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
nVidia GeForce FX Linux README file LloydM Linux - Hardware 2 06-04-2005 08:52 AM
Unable to build nvidia module martincho Linux - Hardware 3 05-21-2005 07:49 PM
nvidia build fails under SuSE 9.1 whomever Suse/Novell 0 01-14-2005 09:01 PM
radhat9 and nforce2(nvidia build in) hussainrahmani Linux - General 1 11-16-2003 03:36 PM
recompiled kernel again get this error when NVIDIA build.. purpleburple Linux - General 4 03-19-2003 08:39 PM

All times are GMT -5. The time now is 03:29 AM.

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