[uClibc] [PATCH]:Buildroot compilation error with GCC4.0

Mike Frysinger vapier at gentoo.org
Tue Jul 26 22:49:03 UTC 2005


On Thursday 21 July 2005 03:42 pm, Khem Raj wrote:
> mconf.c:104: error: static declaration of 'current_menu' follows
> non-static declaration
> lkc.h:63: error: previous declaration of 'current_menu' was here
>
> Looking at the source it seems that the current_menu is declared static
> and exported at same time.
> as a simple fix I removed the static declaration and made is global.
> Make menuconfig succeeded after that

does the attached patch work for you ?  these changes are taken from the 
current linux-2.6 git tree ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kconfig_menu_tweaks.patch
Type: text/x-diff
Size: 1471 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20050726/b18e4191/attachment.bin 


More information about the uClibc mailing list