On Mon, 2003-06-16 at 17:53, Lester Cheung wrote:
> I ended up changed the symlink gcc pointing to gcc-2.95. 
> 
> I tried passing the CC override as suggested by Gus and others but I
> ended up sth similar - doesn't seems to use v2.95.

I finally got it all compiling okay again :-)

I had to get the unstable version of the kernel-source-2.4.20 package. 
(The bug list showed a fix for the ide-cd.h file amongst others).

That package builds fine for gcc-3.3 !!!

I then rebuilt it using gcc-2.95 (as that is what's recommended) by
changing both the CC settings in the top level Makefile:

This one is used to create the [menu|x]config:

> >     HOSTCC          = gcc-2.95

This one governs the compiler used during kernel/module building:

> >     CC              = $(CROSS_COMPILE)gcc-2.95


Incidently, trying to build 2.4.21 from (www.kernel.org) with gcc-3.3
failed on some module as well.  I didn't bother looking any further into
that!

HTH.




-- 
**************
* Simon Wong *
**************

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to