[SOLVED] gcc don't match

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
Post Reply
beny
Full of knowledge
Full of knowledge
Posts: 720
Joined: 02 Jan 2011, 11:33
Location: italy

[SOLVED] gcc don't match

Post#1 by beny » 10 Jan 2011, 20:47

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.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4548
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: gcc don't match

Post#2 by fanthom » 11 Jan 2011, 06:01

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
Please add [Solved] to your thread title if the solution was found.

beny
Full of knowledge
Full of knowledge
Posts: 720
Joined: 02 Jan 2011, 11:33
Location: italy

Re: gcc don't match

Post#3 by beny » 11 Jan 2011, 18:27

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.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4548
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: gcc don't match

Post#4 by fanthom » 11 Jan 2011, 18:38

OMG - you are right, i have compiled 64bit kernel while being on gentoo :wall:
How did you compile nvidia driver so?
Please add [Solved] to your thread title if the solution was found.

beny
Full of knowledge
Full of knowledge
Posts: 720
Joined: 02 Jan 2011, 11:33
Location: italy

Re: gcc don't match

Post#5 by beny » 11 Jan 2011, 18:46

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....

Post Reply