Re: Unable to compile the 2.2.18 kernel

From: Peter Samuelson (peter@cadcamlab.org)
Date: Mon Dec 11 2000 - 01:17:23 EST


[Anthony Barbachan]
> I am unable to compile the latest kernel. I have attached my kernel
> configuration and a copy of the output of where the compile fails. I
> am looking into what is causing the compile failure, but have not
> been able to figure it out yet. Still looking though.

It looks like you overrode the 'CC' make variable, either by editing
the toplevel Makefile or at the command line. This works fine in 2.4,
but in 2.2 you need to pass extra flags to the compiler:

  make zImage CC="/usr/local/gcc-2.7.2.3/bin/gcc -I$(pwd)/include -D__KERNEL__"

...for example.

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:21 EST