Breezy makes it impossible to compile kernel modules

crimsun at crimsun at
Mon Apr 18 12:59:31 CDT 2005

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

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

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


Daniel T. Chen          crimsun at
GPG key:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the ubuntu-devel mailing list