[prev in list] [next in list] [prev in thread] [next in thread]
List: ncurses-bug
Subject: Re: build fails if curses.h doesn't define KEY_MOUSE
From: Thomas Dickey <dickey () his ! com>
Date: 2009-01-13 15:30:09
Message-ID: 20090113102930.Y70342 () mail101 ! his ! com
[Download RAW message or body]
On Tue, 13 Jan 2009, Ethan Grammatikidis wrote:
>
> On Mon, 12 Jan 2009 07:26:09 -0500 (EST), "Thomas Dickey"
> <dickey@his.com> 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
_______________________________________________
Bug-ncurses mailing list
Bug-ncurses@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-ncurses
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic