On Mon, 12 Jan 2009, Ethan Grammatikidis wrote:
Hi, I attempted to build ncurses, not for a full system but merely to
enable menuconfig for some packages. The build failed with the following
error:
make[1]: Entering directory `/home/build/ncurses-5.7/ncurses'
gcc -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include -Os -march=armv5te
-mtune=xscale -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -Os
-march=armv5te -mtune=xscale --param max-inline-insns-single=1200 -c
.../ncurses/./base/lib_getch.c -o ../objects/lib_getch.o
.../ncurses/./base/lib_getch.c: In function '_nc_wgetch':
.../ncurses/./base/lib_getch.c:434: error: 'KEY_MOUSE' undeclared (first
use in this function)
.../ncurses/./base/lib_getch.c:434: error: (Each undeclared identifier is
reported only once
.../ncurses/./base/lib_getch.c:434: error: for each function it appears
in.)
.../ncurses/./base/lib_getch.c:505: error: 'KEY_BACKSPACE' undeclared
(first use in this function)
make[1]: *** [../objects/lib_getch.o] Error 1
make[1]: Leaving directory `/home/build/ncurses-5.7/ncurses'
make: *** [all] Error 2
I suppose it would fail if those definitions are missing from curses.h
But that opens up the question of what went wrong constructing curses.h