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

Mike Frysinger vapier at gentoo.org
Tue Jul 26 16:49:03 MDT 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 ...
-------------- 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://uclibc.org/lists/uclibc/attachments/20050726/b18e4191/kconfig_menu_tweaks.bin

More information about the uClibc mailing list