View Single Post
Old 09-03-04, 02:41 AM   #1
Registered User
Join Date: Aug 2004
Posts: 9
Default Compile problem with 2.6.9-rc1-mm2

Maybe I shouldn't expect things to compile cleanly on unstable release clients with bleeding edge patches. Still, it doesn't work. Haven't had any troubbe with compiling for the 2.8.x kernels.
Seems like I have to head back 2.7.x anyway so that I can uses dvd+rw-tools again. Those bugs will get fixed, and I will be moving to 2.6.9 sometime in the future.

Anyway, here's my installer log file. Any suggestion to what might be wrong?
Kernel source is in place. No config change made except for uppgrading th kernel.

lars@nikomma8:~$ cat /var/log/nvidia-installer.log
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Sep 3 09:19:10 2004

option status:
license pre-accepted : true
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site :

Using: nvidia-installer ncurses user interface
-> License accepted by command line option.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site ( (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel source path: '/lib/modules/2.6.9-rc1-mm2/build'
-> Performing cc_version_check with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
ce.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.9-rc1-mm2/b
uild SYSOUT=/lib/modules/2.6.9-rc1-mm2/build'...

NVIDIA: calling KBUILD...
make -C /lib/modules/2.6.9-rc1-mm2/build \
KBUILD_SRC=/usr/src/linux-2.6.9-rc1-mm2 KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/
usr/src/nv" \
-f /usr/src/linux-2.6.9-rc1-mm2/Makefile modules
mkdir -p /tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_vers
make -f /usr/src/linux-2.6.9-rc1-mm2/scripts/ obj=/tmp/selfgz7
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz7665/NVI
cc -Wp,-MD,/tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.nv.o
.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/s
rc/linux-2.6.9-rc1-mm2/include -I/tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-
pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasin
g -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -march=athlon
2/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -O2 -fomit-f
rame-pointer -I/tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv -W
all -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenthes
es -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual
fgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz7665/
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:19,
from include/linux/module.h:10,
from /tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
from /tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
/tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
/tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:642: warning:
implicit declaration of function `pci_find_class'
/tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:642: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:653: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
/tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3486: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3491: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In function
/tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error:
`PM_SAVE_STATE' undeclared (first use in this function)
/tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error:
(Each undeclared identifier is reported only once
/tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: error:
for each function it appears in.)
make[4]: *** [/tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.o
] Error 1
make[3]: *** [_module_/tmp/selfgz7665/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src
/nv] Error 2
make[2]: *** [modules] Error 2
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at
fudd is offline   Reply With Quote