[SOLVED] gcc don't match
[SOLVED] gcc don't match
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.
- fanthom
- Moderator Team
- Posts: 5591
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: gcc don't match
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

did you have 'crippled sources' enabled during build?
http://ponce.cc/porteus/x86_64/current/ ... 4-1ftm.lzm
Please add [Solved] to your thread title if the solution was found.
Re: gcc don't match
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.
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.
- fanthom
- Moderator Team
- Posts: 5591
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: gcc don't match
OMG - you are right, i have compiled 64bit kernel while being on gentoo
How did you compile nvidia driver so?

How did you compile nvidia driver so?
Please add [Solved] to your thread title if the solution was found.
Re: gcc don't match
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....
Posted after 2 minutes 45 seconds:
have you read log installation, is ok but nvidia installer tell me,you knows what you doing....