This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: actual errors from demo-sh3.sh build


On Tue, 6 Sep 2005, Dave Korn wrote:

> ----Original Message----
> >From: Robert P. J. Day
> >Sent: 06 September 2005 14:47
>
> >   i'm about to crank up the sh3 dat file to pull in the latest of gcc,
> > glibc, etc.  but here's the actual error from the current attempt to
> > build for SH3 straight out of the demo-sh3.sh file:
>
> >   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
>
>   Perfect!  Now that's more like it!
>
> -------------------------------------------
> dk@mace /repository/armtools/linux/scripts/kconfig> cat mconf.c | head -91 |
> ta
> il -4
> static int indent;
> static struct termios ios_org;
> static int rows, cols;
> static struct menu *current_menu;
> dk@mace /repository/armtools/linux/scripts/kconfig> cat lkc.h | head -63 |
> tail
>  -4
> int file_write_dep(const char *name);
>
> extern struct menu *current_entry;
> extern struct menu *current_menu;
> dk@mace /repository/armtools/linux/scripts/kconfig>
> -------------------------------------------
>
>   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.

so can't i just blow by this by removing LINUX_DIR and using the
sanitized headers?  and removing KERNELCONFIG as well, i would think.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]