Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: agrypa1 on September 19, 2010, 12:46:28 PM
-
Hi,
I am having doubts on whether the ncurses-dev package is complete in TC repo as it is in the upstream. I am not an expert though.
My attempts to start "make menuconfig" from within a coreboot directory (taken via subversion) results in an error saying:
dialog.h file not found.
the coreboot team suggests ncurses-devel package for the make menuconfig functionality.
Requirements
* gcc / g++
* make
* ncurses-dev (for make menuconfig)
Perhaps some other package within TC provides dialog.h. I checked dialog utility but it isn't it.
any hints?
Agryppa
-
dialog.h is not a part of ncurses, it is a part of the kernel build system. It should be shipped with coreboot, like it is shipped with other projects using it (kernel, busybox, uclibc...)
-
try this?
http://invisible-island.net/dialog/
-
dialog.h is not a part of ncurses, it is a part of the kernel build system. It should be shipped with coreboot, like it is shipped with other projects using it (kernel, busybox, uclibc...)
Sorry for may mistake. The actual error appears as so:
In file included from /home/tc/coreboot/util/kconfig/mconf.c:23:
/home/tc/coreboot/util/kconfig/lxdialog/dialog.h:38:20: error: curses.h: No such file or directory
In file included from /home/tc/coreboot/util/kconfig/mconf.c:23:
/home/tc/coreboot/util/kconfig/lxdialog/dialog.h:103: error: expected specifier-qualifier-list before 'chtype'
/home/tc/coreboot/util/kconfig/lxdialog/dialog.h:193: error: expected ')' before '*' token
/home/tc/coreboot/util/kconfig/lxdialog/dialog.h:199: error: expected ')' before '*' token
/home/tc/coreboot/util/kconfig/lxdialog/dialog.h:201: error: expected ')' before '*' token
/home/tc/coreboot/util/kconfig/lxdialog/dialog.h:202: error: expected ')' before '*' token
/home/tc/coreboot/util/kconfig/lxdialog/dialog.h:203: error: expected ')' before '*' token
/home/tc/coreboot/util/kconfig/lxdialog/dialog.h:204: error: expected ')' before '*' token
/home/tc/coreboot/util/kconfig/lxdialog/dialog.h:206: error: expected ')' before '*' token
/home/tc/coreboot/util/kconfig/mconf.c: In function 'conf':
/home/tc/coreboot/util/kconfig/mconf.c:616: error: 'KEY_MAX' undeclared (first use in this function)
/home/tc/coreboot/util/kconfig/mconf.c:616: error: (Each undeclared identifier is reported only once
/home/tc/coreboot/util/kconfig/mconf.c:616: error: for each function it appears in.)
/home/tc/coreboot/util/kconfig/mconf.c: In function 'conf_choice':
/home/tc/coreboot/util/kconfig/mconf.c:767: error: 'KEY_MAX' undeclared (first use in this function)
/home/tc/coreboot/util/kconfig/mconf.c: In function 'main':
/home/tc/coreboot/util/kconfig/mconf.c:886: error: 'stdscr' undeclared (first use in this function)
make: *** [build/util/kconfig/mconf.o] Error 1
What gives?
ncurses and ncurses-dev are listed as already installed with tce-load -i.
Agryppa
-
That again..
Try this as a workaround:
cd /usr/local/include
sudo mv ncurses/* .