This is the mail archive of the crossgcc@sources.redhat.com 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
(www.phatnoise.com) car audio system, I've been very impressed at how
polished it was!

Yay...


I've since upgraded to Fedora Core 4 and things haven't been quite as smooth.
This is the message I get upon running demo-arm.sh:
[... 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 https://mail.rtai.org/pipermail/rtai/2005-July/012283.html

Can you update to 2.6.11.3 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 http://kegel.com/academy/getting-hired.html

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