You are not logged in.

#1 2005-08-26 11:25:40

Machiavelli
Member
Registered: 2005-08-24
Posts: 92

Patched kernel packages and gcc 4

I tried out some of the patched kernels in the pacman repos, and they worked fine. But when I tried re-installing the nvidia drivers it complained about the kernels being compiled with the wrong gcc version. I am currently compiling the -cko2-patched kernel by hand, but still, it would be nice to know how to go about if I wanted this to work, binary style.

Any clues?

Offline

#2 2005-09-08 03:24:30

Shofs
Member
From: Central Illinois
Registered: 2004-12-15
Posts: 184

Re: Patched kernel packages and gcc 4

Are you using gcc 4 from testing? I had the same problem. I had to go back to gcc 3.4 to get nvidia installed.

Offline

#3 2005-09-09 01:13:41

MrCoul
Member
From: Alabama
Registered: 2005-09-09
Posts: 10

Re: Patched kernel packages and gcc 4

Been here for a while ( I once changed pacman to use the testing archives which got me gcc4, I since removed testing ) -- this really confused things for me.

My initial "fix" was to temporarily hack the

<linux-kernel-source>/include/linux/vermagic.h file, changing the last line of VERMAGIC_STRING so that the string read gcc-3.4 directly  big_smile

Now I just build my own kernel, then whatever you install/build nvidia with will match the kernel.

Don't listen to any scare stories about rebuilding a kernel, it's trivial after the first couple of times.

Offline

Board footer

Powered by FluxBB