Page 1 of 1
[SOLVED] gcc don't match
Posted: 10 Jan 2011, 20:47
by beny
hi fanthom, i have done nvidia module for porteus64 i recive a warning of gcc don't match version of kernel build,i upload file, but tell me something.
Re: gcc don't match
Posted: 11 Jan 2011, 06:01
by fanthom
this message makes not sense for me
did you have 'crippled sources' enabled during build?
http://ponce.cc/porteus/x86_64/current/ ... 4-1ftm.lzm
Re: gcc don't match
Posted: 11 Jan 2011, 18:27
by beny
hi fanthom:
ux chcon type : (not specified)
Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 260.19.29.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> The CC version check failed:
The compiler used to compile the kernel (gcc 4.4) does not exactly match the
current compiler (gcc 4.5). The Linux 2.6 kernel module loader rejects kern
el modules built with a version of gcc that does not exactly match that of t
he compiler used to build the running kernel.
If you know what you are doing and want to ignore the gcc version check, sel
ect "No" to continue installation. Otherwise, select "Yes" to abort install
ation, set the CC environment variable to the name of the compiler used to c
ompile your kernel, and restart installation. Abort now? (Answer: No)
-> Kernel source path: '/lib/modules/2.6.37-porteus/source'
-> Kernel output path: '/lib/modules/2.6.37-porteus/build'
this is the sense,can tell me something about this warning.
Re: gcc don't match
Posted: 11 Jan 2011, 18:38
by fanthom
OMG - you are right, i have compiled 64bit kernel while being on gentoo
How did you compile nvidia driver so?
Re: gcc don't match
Posted: 11 Jan 2011, 18:46
by beny
you can tweak this,because problem maybe for compiler some programs,i think but i am not shure
Posted after 2 minutes 45 seconds:
have you read log installation, is ok but nvidia installer tell me,you knows what you doing....