Breezy makes it impossible to compile kernel modules

crimsun at fungus.sh.nu crimsun at fungus.sh.nu
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
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.

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

Thanks,
Daniel

-- 
Daniel T. Chen          crimsun at fungus.sh.nu
GPG key:   www.sh.nu/~crimsun/pubkey.gpg.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20050418/29b35811/attachment.pgp


More information about the ubuntu-devel mailing list