Thanks for all your help!!!
]]>If it is gcc related, only solutions I can think of are recompiling kernel or downgrading gcc.
]]>option status:
license pre-accepted : true
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: true
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : true
silent : false
XFree86 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 : none
tmpdir : /tmp
ftp site : ftp://download.nvidia.com
Using built-in stream user interface
-> License accepted by command line option.
-> There appears to already be a driver installed on your system (version: 1.0-
5336). As part of installing this driver (version: 1.0-5336), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> Not probing for precompiled kernel interfaces.
-> Kernel source path: '/lib/modules/2.6.3/build'
-> Performing cc_version_check with CC="cc".
-> 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.3/build'...
HOSTCC scripts/fixdep
HOSTCC scripts/split-include
HOSTCC scripts/conmakehash
HOSTCC scripts/docproc
HOSTCC scripts/kallsyms
CC scripts/empty.o
HOSTCC scripts/mk_elfconfig
MKELF scripts/elfconfig.h
HOSTCC scripts/file2alias.o
HOSTCC scripts/modpost.o
HOSTLD scripts/modpost
HOSTCC scripts/pnmtologo
HOSTCC scripts/bin2c
SPLIT include/linux/autoconf.h -> include/config/*
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
CC arch/i386/kernel/asm-offsets.s
CHK include/asm-i386/asm_offsets.h
echo #define NV_COMPILER "`cc -v 2>&1 | tail -n 1`" > /tmp/selfgz362/NVID
IA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv_compiler.h
CC [M] /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.o
In file included from include/linux/sched.h:23,
from include/linux/module.h:10,
from /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/
nv/nv-linux.h:52,
from /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/
nv/nv.c:14:
include/linux/smp.h:33: error: conflicting types for 'smp_send_reschedule'
include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' w
as here
include/linux/smp.h:33: error: conflicting types for 'smp_send_reschedule'
include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' w
as here
/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: In function `
nvos_malloc_pages':
/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:385: warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: In function `
nvos_create_alloc':
/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:513: warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:523: warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: At top level:
/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:1185: warning:
initialization from incompatible pointer type
/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: In function `
nv_alloc_file_private':
/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:1193: warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:1204: warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: In function `
nv_kern_open':
/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:1265: warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: In function `
nv_kern_ctl_open':
/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:1914: warning:
use of cast expressions as lvalues is deprecated
make[3]: *** [/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.o]
Error 1
make[2]: *** [/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv] Erro
r 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 www.nvidia.com.
I had problems with GLX extension and nvidia drivers when I upgraded to gcc 3.4. Running anything OpenGL woul crash X. Recompiling kernel and nvidia drivers solved the problem. (nvidia didn't want to install against gcc 3.3 compiled kernel)
I'm not sure if you have the same broblem. But it seems possible that gcc 3.4 broke someting in X.
]]>