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

Bug#165897: dpkg doesn't compile with recent glibc and gcc



reassign 165897 libncurses5-dev
thanks

On Tue, 22 Oct 2002, Koblinger Egmont wrote:

> Dpkg fails to compile with newest gcc (3.2) and glibc (2.3.1).
> With gcc-3.2 and glibc-2.3 it was okay.
>
> I've already compiled hundreds of applications with the newest gcc and
> glibc, so I really doubt it's a glibc bug. (It can be, though.)
>
> Here's the end of the compile messages:
>
> make[1]: Entering directory `/build/work/compile/utils'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/build/work/compile/utils'
> make[1]: Entering directory `/build/work/compile/dselect'
> c++ -g -O2  -Wall -Wno-implicit -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB  -g -O2 -c basecmds.cc
> c++ -g -O2  -Wall -Wno-implicit -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB  -g -O2 -c baselist.cc
> c++ -g -O2  -Wall -Wno-implicit -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB  -g -O2 -c basetop.cc
> c++ -g -O2  -Wall -Wno-implicit -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB  -g -O2 -c bindings.cc
> cursesfile=`echo '#include <curses.h>' | \
>          gcc -E - | grep 'curses.h' | head -1 | \
>          sed -e 's/^[^"]*"//; s/".*$//'`; \
> if [ "$cursesfile" = "" ]; then echo "can't find curses file"; exit 1; fi; \
> perl ./mkcurkeys.pl keyoverride $cursesfile > curkeys.h
> c++ -g -O2  -Wall -Wno-implicit -Wwrite-strings -Wpointer-arith -Wimplicit -Wnested-externs -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB  -g -O2 -c curkeys.cc
> In file included from curkeys.cc:31:
> curkeys.h:168: `KEY_EVENT' was not declared in this scope
> make[1]: *** [curkeys.o] Error 1
> make[1]: Leaving directory `/build/work/compile/dselect'
> make: *** [all-recursive] Error 2

Looks like an ncurses bug to me.




Reply to: