Originally Posted by almatic
this may sound like a stupid question but did you actually boot the new kernel after update ? Usually debian has the correct gcc version installed.
You can downgrade the gcc by adding the testing repository and then do 'aptitude install gcc/testing'. But make sure that this is really your problem (type 'cat /proc/version' to see what compiler was used for the kernel and 'gcc --version' for the gcc version). You can also have more versions of gcc installed as gcc is just a symlink to /usr/bin/gcc-version.
Of course I rebooted into the correct kernel, it was the first thing I did after the upgrade finished.
This is the current version reported by those commands:
debian-etchtop:/home/replica# cat /proc/version
Linux version 2.6.22-1-k7 (Debian 2.6.22-3) (email@example.com) (gcc version 4.1.3 20070718 (prerelease) (Debian 4.1.2-14)) #1 SMP Sun Jul 29 15:15:55 UTC 2007
debian-etchtop:/home/replica# gcc --version
gcc (GCC) 4.2.1 (Debian 4.2.1-3)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
And I viewed the properties of /usr/bin/gcc and that came up as /usr/bin/gcc-4.2
I have files for both gcc-4.1 and gcc-4.2 installed
So should I simply point the link to gcc-4.1? Or is there something else I should do?