Breezy makes it impossible to compile kernel modules

Philip Van Hoof spamfrommailing at freax.org
Mon Apr 18 13:13:44 CDT 2005


On Mon, 2005-04-18 at 10:59 -0700, crimsun at fungus.sh.nu wrote:
> On Mon, Apr 18, 2005 at 07:54:36PM +0200, Philip Van Hoof wrote:
> > 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).
> 
> You need to set both CC and HOSTCC in the top-level Makefile, or use
> make-kpkg.

> > I had to forcefully replace the symlink /usr/bin/gcc with a symlink
> > to /usr/bin/gcc-3.3 to get modules compiled.
> 
> Very, very bad idea. Reinstall gcc.

mv /usr/bin/gcc.orig /usr/bin/gcc  :-)

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

> You were warned that Breezy was going to be a rough ride for a few
> weeks at least. :) See the workarounds above.

Okay :-), thanks


note: I'm fully aware of the bumpy ride breezy is going to be for a few
weeks. I enjoy that, so it's okay.


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