bug-ncurses
[Top][All Lists]
Advanced

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

Problem with patch ncurses-5.9-20130216


From: Dr. Werner Fink
Subject: Problem with patch ncurses-5.9-20130216
Date: Mon, 18 Feb 2013 10:00:50 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

from the the build:

[...]
[   75s] gcc -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include  -D_GNU_SOURCE 
-DNDEBUG -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector 
-funwind-tables -fasynchronous-unwind-tables -g -pipe -D_REENTRANT  --param 
max-inline-insns-single=1200 -fPIC -DUSE_TERMLIB -c 
../ncurses/./tinfo/read_entry.c -o ../obj_s/read_entry.o
[   75s] ../ncurses/./tty/lib_twait.c: In function '_nc_timed_wait':
[   75s] ../ncurses/./tty/lib_twait.c:505:9: error: 'fds' undeclared (first use 
in this function)
[   75s] ../ncurses/./tty/lib_twait.c:505:9: note: each undeclared identifier 
is reported only once for each function it appears in
[   75s] ../ncurses/./tty/lib_twait.c:505:16: error: 'fd_list' undeclared 
(first use in this function)
[   75s] make[1]: *** [../obj_s/lib_twait.o] Error 1
[   75s] make[1]: *** Waiting for unfinished jobs....
[   76s] make[1]: Leaving directory 
`/home/abuild/rpmbuild/BUILD/ncurses-5.9/ncurses'
[   76s] make: *** [../lib/libncurses.so] Error 2
[   76s] make: Leaving directory `/home/abuild/rpmbuild/BUILD/ncurses-5.9/progs'
[   76s] + rm -rf /tmp/ncurses.YetN2Dzl
[   76s] error: Bad exit status from /var/tmp/rpm-tmp.RqAVkd (%build)


the missed point is that the macro USE_FUNC_POLL is not defined but fds and 
fd_list
are only used if USE_FUNC_POLL is defined.


     Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr



reply via email to

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