#175: Problem when compiling? ----------------------------+---------------------------------- Reporter: ssjgokux3@… | Owner: stepan@… Type: enhancement | Status: new Priority: trivial | Milestone: Component: coreboot | Keywords: Dependencies: | Patch Status: there is no patch ----------------------------+---------------------------------- Sorry if this is in the wrong place. But I tried building CoreBoot and I'm up to the "make menuconfig" part in the tutorial and I keep getting this every time I issue the command:
root@Liberacks:~/coreboot# make menuconfig In file included from /home/brandon/coreboot/util/kconfig/mconf.c:23: /home/brandon/coreboot/util/kconfig/lxdialog/dialog.h:38:20: error: curses.h: No such file or directory In file included from /home/brandon/coreboot/util/kconfig/mconf.c:23: /home/brandon/coreboot/util/kconfig/lxdialog/dialog.h:103: error: expected specifier-qualifier-list before ‘chtype’ /home/brandon/coreboot/util/kconfig/lxdialog/dialog.h:193: error: expected ‘)’ before ‘*’ token /home/brandon/coreboot/util/kconfig/lxdialog/dialog.h:199: error: expected ‘)’ before ‘*’ token /home/brandon/coreboot/util/kconfig/lxdialog/dialog.h:201: error: expected ‘)’ before ‘*’ token /home/brandon/coreboot/util/kconfig/lxdialog/dialog.h:202: error: expected ‘)’ before ‘*’ token /home/brandon/coreboot/util/kconfig/lxdialog/dialog.h:203: error: expected ‘)’ before ‘*’ token /home/brandon/coreboot/util/kconfig/lxdialog/dialog.h:204: error: expected ‘)’ before ‘*’ token /home/brandon/coreboot/util/kconfig/lxdialog/dialog.h:206: error: expected ‘)’ before ‘*’ token /home/brandon/coreboot/util/kconfig/mconf.c: In function ‘conf’: /home/brandon/coreboot/util/kconfig/mconf.c:616: error: ‘KEY_MAX’ undeclared (first use in this function) /home/brandon/coreboot/util/kconfig/mconf.c:616: error: (Each undeclared identifier is reported only once /home/brandon/coreboot/util/kconfig/mconf.c:616: error: for each function it appears in.) /home/brandon/coreboot/util/kconfig/mconf.c: In function ‘conf_choice’: /home/brandon/coreboot/util/kconfig/mconf.c:767: error: ‘KEY_MAX’ undeclared (first use in this function) /home/brandon/coreboot/util/kconfig/mconf.c: In function ‘main’: /home/brandon/coreboot/util/kconfig/mconf.c:886: error: ‘stdscr’ undeclared (first use in this function) make: *** [build/util/kconfig/mconf.o] Error 1
I'm quite confused and was wondering what this meant? Thanks :D
#175: Problem when compiling? ----------------------------------+------------------------- Reporter: ssjgokux3@… | Owner: stepan@… Type: enhancement | Status: closed Priority: trivial | Milestone: Component: coreboot | Resolution: invalid Keywords: | Dependencies: Patch Status: there is no patch | ----------------------------------+------------------------- Changes (by oxygene):
* status: new => closed * resolution: => invalid
Comment:
You're missing the development headers for libncurses (as you can see from "error: curses.h: No such file or directory").
On Linux they're usually provided by packages called libncurses-dev, libncurses-devel, ncurses-dev, ncurses-devel or similar.