LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-03-2007, 11:21 AM   #1
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Rep: Reputation: 30
compiling NVIDIA errors


I get this error every time I try
Code:
lin -c NVIDIA
(Lunar Linux)..

I usually know how to figure out what I missed.. but this one im lost..

can anyone help me ?? the compile log is as following:

Quote:
++ Mark Compile start : "NVIDIA" "100.14.23" "Sat Nov 3 16:01:30 UTC 2007"
sh ./conftest.sh "gcc" "gcc" /usr/src/linux /usr/src/linux cc_sanity_check full_output
sh ./conftest.sh "gcc" "gcc" /usr/src/linux /usr/src/linux select_makefile full_output
/usr/bin/make --no-print-directory -f Makefile module

NVIDIA: calling KBUILD...
make CC=gcc KBUILD_VERBOSE=0 -C /usr/src/linux SUBDIRS=/usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv modules

WARNING: Symbol version dump /usr/src/linux-2.6.20/Module.symvers
is missing; modules will have no dependencies and modversions.

echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/nv_compiler.h
CC [M] /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/nv.o
In file included from include/linux/list.h:9,
from include/linux/wait.h:23,
from include/asm/semaphore.h:42,
from include/linux/sched.h:60,
from include/linux/utsname.h:36,
from /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/nv-linux.h:20,
from /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/nv.c:15:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arithmetic
CC [M] /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/nv-vm.o
In file included from include/linux/list.h:9,
from include/linux/wait.h:23,
from include/asm/semaphore.h:42,
from include/linux/sched.h:60,
from include/linux/utsname.h:36,
from /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/nv-linux.h:20,
from /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/nv-vm.c:15:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arithmetic
CC [M] /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/os-agp.o
In file included from include/linux/list.h:9,
from include/linux/wait.h:23,
from include/asm/semaphore.h:42,
from include/linux/sched.h:60,
from include/linux/utsname.h:36,
from /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/nv-linux.h:20,
from /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/os-agp.c:25:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arithmetic
CC [M] /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/os-interface.o
In file included from include/linux/list.h:9,
from include/linux/wait.h:23,
from include/asm/semaphore.h:42,
from include/linux/sched.h:60,
from include/linux/utsname.h:36,
from /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/nv-linux.h:20,
from /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/os-interface.c:27:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arithmetic
CC [M] /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/os-registry.o
In file included from include/linux/list.h:9,
from include/linux/wait.h:23,
from include/asm/semaphore.h:42,
from include/linux/sched.h:60,
from include/linux/utsname.h:36,
from /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/nv-linux.h:20,
from /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/os-registry.c:15:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arithmetic
CC [M] /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/nv-i2c.o
In file included from include/linux/list.h:9,
from include/linux/wait.h:23,
from include/asm/semaphore.h:42,
from include/linux/sched.h:60,
from include/linux/utsname.h:36,
from /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/nv-linux.h:20,
from /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/nv-i2c.c:9:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arithmetic
CC [M] /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/nvacpi.o
In file included from include/linux/list.h:9,
from include/linux/wait.h:23,
from include/asm/semaphore.h:42,
from include/linux/sched.h:60,
from include/linux/utsname.h:36,
from /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/nv-linux.h:20,
from /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/nvacpi.c:16:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arithmetic
LD [M] /usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv/nvidia.o
Building modules, stage 2.
MODPOST 1 modules
/bin/sh: scripts/mod/modpost: No such file or directory
make[3]: *** [__modpost] Error 127
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
++ Mark Compile stop : "NVIDIA" "100.14.23" "Sat Nov 3 16:02:02 UTC 2007"
thanks
 
Old 11-03-2007, 04:38 PM   #2
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
I solved the problem by compiling a new linux kernel and tried again...

but now I get another error..

Quote:
1. NVIDIA: calling KBUILD...
2. make CC=gcc KBUILD_VERBOSE=0 -C /usr/src/linux SUBDIRS=/usr/src/NVIDIA-Linux-x86-100.14.23-pkg0/usr/src/nv modules
3. Building modules, stage 2.
4. MODPOST 1 modules
5. NVIDIA: left KBUILD.
6. PATH="/var/lib/lunar/compilers:/var/lib/lunar/compilers/:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11/bin:/bin:/sbin" modprobe nvidia && \
7. echo "nvidia.ko installed successfully.";
8. FATAL: Module nvidia not found.
9. make[1]: *** [package-install] Error 1
10. make: *** [install] Error 2
11. ++ Mark Compile stop : "NVIDIA" "100.14.23" "Sat Nov 3 21:19:36 UTC 2007"

hope anyone can tell me what to do now.
 
Old 11-04-2007, 01:08 AM   #3
javaSwing
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Rep: Reputation: 0
Download and install the program at the following link:

http://albertomilone.com/nvidia_scripts1.html

"sudo apt-get install envy" w/o quotes in the terminal might also work too.

Anyway, after installing the software, pick the option to uninstall your nVidia driver. Then pick the option to install it. The most up-to-date drivers for your card should be automatically identified, downloaded, compiled, and installed. Then reboot and the drivers will hopefully work.

Last edited by javaSwing; 11-04-2007 at 01:09 AM.
 
Old 11-05-2007, 03:34 AM   #4
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
I solved the problem myself..

I forgot to reboot linux into the new compiled kernel..

It worked after rebooting into the new one.
 
  


Reply

Tags
envy, nvidia drivers



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 Driver Errors After Compiling 2.6.16.5 Kernel! sagecss Slackware 11 04-18-2006 10:29 PM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM
Errors when compiling anything! adizzle Linux - Newbie 4 06-16-2004 05:27 PM
QT compiling errors slackwarefan Slackware 1 03-01-2004 07:45 PM
Errors compiling 2.6.0 plisken Linux - General 3 10-10-2003 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration