Re: Crosstool build on FC4 - declaration of ‘current_menu’ error

Khem Raj kraj@mvista.com
Sat Jul 23 08:35:00 GMT 2005


Dan Kegel wrote:

> 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?
>
I encountered same issue in uclibc. I posted a patch to solve it here
http://uclibc.org/lists/uclibc/2005-July/012187.html

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


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