compiling NVIDIA errors <- solved

 
Post new topic   Reply to topic    Lunar-Linux Forum Index -> Installing Modules
View previous topic :: View next topic  
Author Message
terfy



Joined: 03 Nov 2007
Posts: 1

PostPosted: Sat Nov 03, 2007 4:45 pm    Post subject: compiling NVIDIA errors <- solved Reply with quote

I get this error every time I try compile NVIDIA..

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"


I usually figure the solutions myself, but this time im lost..
Hope you can help me. Wink


fixed: I finally got it to work..

1: compiled a new kernel with nvidia enabled
2: nvidia compiled with no problems
3: ran nvidia-xconfig
4: restarted X

final: wupti.. all works
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Lunar-Linux Forum Index -> Installing Modules All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group