LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-16-2005, 03:10 AM   #1
digorykirke
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.

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.

Last edited by digorykirke; 03-16-2005 at 10:09 AM.
 
  


Reply


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


All times are GMT -5. The time now is 02:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration