Breezy makes it impossible to compile kernel modules

Philip Van Hoof spamfrommailing at freax.org
Mon Apr 18 12:54:36 CDT 2005


Hi there,

Since breezy introduced gcc-4.0 but the kernel is still compiled with
gcc-3.3, I can't easily compile kernel modules with it.

Setting CC to gcc-3.3 doesn't help for most such kernel modules (they
still compile with cc or gcc rather than gcc-3.3, for example).

I had to forcefully replace the symlink /usr/bin/gcc with a symlink
to /usr/bin/gcc-3.3 to get modules compiled.

Resolution: Compile the kernel with gcc-4.0? Or don't yet make gcc-4.0
the defalult compiler?



-- 
Philip Van Hoof, Software Developer @ Cronos
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
work: philip dot vanhoof at cronos dot be
junk: philip dot vanhoof at gmail dot com
http://www.pvanhoof.be/




More information about the ubuntu-devel mailing list