This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Jul 5, 2012, at 3:50 PM, Samuel Martin wrote: > Hi Somon, all, > >> In file included from nconf.c:12:0: >> nconf.h:19:18: fatal error: menu.h: No such file or directory >> compilation terminated. >> make[2]: *** [nconf.o] Error 1 >> make[1]: *** [build-lib-kconfig] Error 2 >> make: *** [build] Error 2 >> >> >> I tried to see if menu.h was really there but somehow being missed: >> >> xanadu% find . -name menu.h >> xanadu% >> > > menu.h comes with ncurses; make sure development package for ncurses > are installed on your system. Thanks for the quick response [grin] I didn't know menu.h was part of ncurses, so I've now made sure it's there xanadu% ls /usr/include/ncurses/ cursesapp.h curses.h cursesp.h cursslk.h etip.h menu.h ncurses_dll.h panel.h term_entry.h tic.h cursesf.h cursesm.h cursesw.h eti.h form.h nc_tparm.h ncurses.h termcap.h term.h unctrl.h but I still get the same: xanadu% make GEN 'config/configure.in' GEN 'paths.mk' GEN 'paths.sh' CC 'nconf.o' In file included from nconf.c:12:0: nconf.h:19:18: fatal error: menu.h: No such file or directory compilation terminated. make[2]: *** [nconf.o] Error 1 make[1]: *** [build-lib-kconfig] Error 2 make: *** [build] Error 2 ... so I tried a 'make mrproper' / 'autoconf' in case something was cached, but still got the same. Tracking down 'nconf.c' to the kconfig directory, I saw that nconf.h does a "#include <menu.h>" so I ended up adding "-I/usr/include/ncurses" to the CFLAGS declaration inside the Makefile in kconfig/ At least that way I could get it to compile :) Cheers Simon -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |