Kernel 2.6.5 compiling mconf and xconfig errors
I have installed slackware 12.1 and module-init-tools-3.4 (in usr/local/bin). Then I try to install linux kernel 2.6.5 I get this :
# cd /usr/src/linux # /usr/src/linux# make xconfig 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: *** [xconfig] Error 2 What should I change ? |
Try to do it as mentioned here: edit the file "package/config/mconf.c" and change "static struct menu *current_menu;" to "struct menu *current_menu;"
Eventually change kernel version and/or gcc and/or glib. :) |
All times are GMT -5. The time now is 03:45 AM. |