bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

build fails if curses.h doesn't define KEY_MOUSE


From: Ethan Grammatikidis
Subject: build fails if curses.h doesn't define KEY_MOUSE
Date: Mon, 12 Jan 2009 03:17:10 +0000

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
-- 
This post brought to you by:
Ethan Grammatikidis,
who follows directions like a butterfly.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]