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: Ethan Grammatikidis
Subject: Re: build fails if curses.h doesn't define KEY_MOUSE
Date: Tue, 13 Jan 2009 13:09:53 +0000

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?
-- 
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]