Re: Unable to compile the 2.2.18 kernel

From: Anthony Barbachan (barbacha@Hinako.AMBusiness.com)
Date: Mon Dec 11 2000 - 02:50:02 EST


Thanks. I missed that this time when I modified the Makefile. I didn't pay
close attention to the new script code in there to check for the kernel
compiler.

----- Original Message -----
From: "Peter Samuelson" <peter@cadcamlab.org>
To: "Anthony Barbachan" <barbacha@hinako.ambusiness.com>
Cc: "Alan Cox" <alan@lxorguk.ukuu.org.uk>; "Linux Kernel Mailing List"
<linux-kernel@vger.kernel.org>
Sent: Monday, December 11, 2000 1:17 AM
Subject: Re: Unable to compile the 2.2.18 kernel

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