View Single Post
Old 11-27-07, 03:28 AM   #1
Join Date: Nov 2007
Location: Adelaide, SA
Posts: 2
Default Problem building 169.04 on Debian AMD64

Hi all, I hope someone out there can shed some light on this problem or can point out another approach.

I'm trying to install the 169.04 Nvidia driver for Debian (AMD64) using their script, it seems to be failing at the linking stage.

Unfortunatly I'm unable to drop back to an earlier driver as I have an 8800GT.

I'm also forcing the gcc version as that is what was used to build the installed kernel and modules.
export CC=/usr/bin/gcc-4.1
> uname -a
Linux baal 2.6.23-1-amd64 #1 SMP Fri Oct 12 23:45:48 UTC 2007 x86_64 GNU/Linux
condensed nvidia-installer.log (full log attached)
Using: nvidia-installer ncurses user interface
WARNING: Skipping the runlevel check (the utility `runlevel` failed to run).
-> License accepted.
-> 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.
-> Performing CC sanity check with CC="/usr/bin/gcc-4.1".
-> Performing CC version check with CC="/usr/bin/gcc-4.1".
-> Kernel source path: '/lib/modules/2.6.23-1-amd64/build'
-> Kernel output path: '/lib/modules/2.6.23-1-amd64/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
--------- SNIP ----------
Many lines of things going ok skipped
--------- SNIP ----------
     ld -m elf_x86_64   --build-id -o /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.0
   4-pkg1/usr/src/nv/nvidia.o /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/u
   sr/src/nv/nv-kernel.o /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/sr
   c/nv/nv.o /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/nv-vm.o
   /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/os-agp.o /tmp/sel
   fgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/os-interface.o /tmp/selfg
   z3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/os-registry.o /tmp/selfgz39
   55/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/nv-i2c.o /tmp/selfgz3955/NVIDI
   ld: warning: cannot find entry symbol _start; defaulting to 0000000000400150
   /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/nv.o: In function
   (.text+0x1dd): undefined reference to `boot_cpu_data'
   /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/nv.o: In function
   (.text+0x200): undefined reference to `boot_cpu_data'
   /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/nv.o: In function
   (.text+0x26f): undefined reference to `init_level4_pgt'
--------- SNIP ----------
Many lines of things going to hell skipped
(undefined references for all functions)
--------- SNIP ----------
   nv-i2c.c:(.text+0x367): undefined reference to `snprintf'
   nv-i2c.c:(.text+0x37a): undefined reference to `i2c_add_adapter'   /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/nv-i2c.o:(.data+0
   x0): undefined reference to `__this_module'
   make[3]: *** [/tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/nvi
   dia.o] Error 1
   make[2]: *** [_module_/tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/sr
   c/nv] 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
Edit: Ahh, it would help if I actually attach the log >.<
Attached Files
File Type: log nvidia-installer.log (89.9 KB, 88 views)
Jason1974 is offline   Reply With Quote