actual errors from demo-sh3.sh build

Robert P. J. Day rpjday@mindspring.com
Tue Sep 6 15:28:00 GMT 2005


On Tue, 6 Sep 2005, Dave Korn wrote:

> ----Original Message----
> >From: Robert P. J. Day
> >Sent: 06 September 2005 15:28
>
> > On Tue, 6 Sep 2005, Dave Korn wrote:
> >
> >> ----Original Message----
> >>> From: Robert P. J. Day
> >>> Sent: 06 September 2005 14:47
>
> >>>   HOSTCC  scripts/kconfig/mconf.o
> >>> scripts/kconfig/mconf.c:91: error: static declaration of
> >>> ‘current_menu’ follows non-static declaration
> >>> scripts/kconfig/lkc.h:63: error: previous declaration of
> >>> ‘current_menu’ was here make[1]: *** [scripts/kconfig/mconf.o]
> >>> Error 1
> >>> make: *** [oldconfig] Error 2
>
> >>   OK, this is a real bug in the source, and the new compiler has stricter
> >> error detection, so it's started to trip it...
> >
> > it occurs to me only now (since it's been a while since i've
> > played with this) that this is a kernel config error but, if i
> > have no need to build the kernel, all i need is the sanitized
> > headers.
>
>   I'm not sure I get your meaning by 'kernel config error': it's an
> error in the parts of the kernel code that generate the config, yes,
> but it's not an error in the actual set of config options you've
> selected: those lines are like that in the original source tarball
> and it is unambigouously a programming error by the kernel team.

the point is, since i'm just trying to build the toolchain, i really
have no need for compiling the kernel itself -- that's the purpose of
the sanitized headers.  so i'm just removing all references to the
kernel itself from the crosstool config files.

you can see in the build script all.sh that you can select one of
LINUX_DIR or LINUX_SANITIZED_HEADER_DIR, but not both.  so if i can
get away with just the headers, that's the way to go.  that way, i
can (theoretically) skip around any potential kernel config problems.

rday
-------------- next part --------------
------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


More information about the crossgcc mailing list