This is the mail archive of the 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: Crosstool build on FC4 - declaration of ‘current_menu’ error

Matthew O'Hare wrote:
Hi Dan

First of all thanks for the work you've put into crosstool, it worked
perfectly for me on RH9 and I successfully compiled code for my Phatbox
( car audio system, I've been very impressed at how
polished it was!


I've since upgraded to Fedora Core 4 and things haven't been quite as smooth.
This is the message I get upon running
[... building linux-2.6.8 ...]
  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

Is it a gcc 4 issue?

Yes. It first showed up with gcc-3.5 about a year ago. See

Can you update to or 2.6.12?  I suspect that
error was fixed sometime before that version.
- Dan

-- Trying to get a job as a c++ developer? See

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

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