Arkadiusz Miskiewicz napsal(a): > On Tuesday 08 of December 2009, Michal Marek wrote: >> Arkadiusz Miskiewicz napsal(a): >>> Maybe we can get colors back in menuconfig then? ;-) >>> http://bugzilla.kernel.org/show_bug.cgi?id=13677 >> Does it also happen with Nir's nconfig >> (http://lkml.org/lkml/2009/11/25/119)? > > Yes, it does happen, I have non-color menus. That's because nconfig also mixes > wide ncurses library with non wide ncurses headers. > > gcc -Wp,-MD,scripts/kconfig/.nconf.o.d -Wall -Wmissing-prototypes -Wstrict- > prototypes -O2 -fomit-frame-pointer -I/usr/include/ncurses - > DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o scripts/kconfig/nconf.o > scripts/kconfig/nconf.c > > /usr/include/ncurses is non wide version of ncurses headers (but on other > distros it could be done differently aka /usr/include/ncures being wide > version) > > gcc -o scripts/kconfig/nconf scripts/kconfig/nconf.o > scripts/kconfig/zconf.tab.o scripts/kconfig/nconf.gui.o -lncursesw -lmenu - > lpanel -lncurses > > and here it's linked to non wide version of library (also to wide, too due to > scripts/kconfig/lxdialog/check-lxdialog.sh putting it here) > > Anyway way to solve this is: > - detect if ncurses header is wide or non-wide > - link with proper ncurses library based on detected header Nir, you surely know ncurses better than me :). Could you look into this? Arkadiusz, which distribution are you using? Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html