bug-ncurses
[Top][All Lists]
Advanced

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

Re: build fails if curses.h doesn't define KEY_MOUSE


From: Thomas Dickey
Subject: Re: build fails if curses.h doesn't define KEY_MOUSE
Date: Tue, 13 Jan 2009 10:30:09 -0500 (EST)

On Tue, 13 Jan 2009, Ethan Grammatikidis wrote:


On Mon, 12 Jan 2009 07:26:09 -0500 (EST), "Thomas Dickey"
<address@hidden> said:
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

Yeah. Would it help if I attached config.log?

that would help (thanks - and config.status). compressed attachments are nicer...

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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