Huh. This sort of errors should go to maintainers of:
- glibc
- ncurses
This is a serious namespace pollution: macro ERR used by
ncurses (curses.h) and somewhere in glibc (ucontext.h),
but mean completely different things. Hence the comilation error.
As a temporary and very ugly hack your can remove definition of ERR
from /usr/include/ucontext.h, near line 74. If this will not introduce
new errors... :(
Piotr Majka wrote:
>
> Hi
> [root@link /root]# rpm -q glibc-devel
> glibc-devel-2.1.3-16
> [root@link /root]# rpm -q ncurses
> ncurses-5.0-14 (own package - 20000401 patch)
> [root@link /root]#
>
> When I try building lynx-2.8.3dev-*, lynx-2.8.3pre*, with --with-ncurses
> and, --with-screen=ncurses and --enable-colors-style I got
>
> make[2]: Leaving directory
> `/home2/link.staff/BUILD/lynx2-8-3/src/chrtrans'
> gcc -DHAVE_CONFIG_H
> -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -Ichrtrans -I./chrtrans
> -I.. -I../src -I../WWW/Library/Implementation -O2 -fomit-frame-pointer
> -fno-exceptions -fno-rtti -pipe -s -mcpu=pentiumpro -march=pentiumpro
> -ffast-math -mieee-fp -fexpensive-optimizations -fexceptions -DLINUX
> -D_GNU_SOURCE -I/usr/include -c ./LYClean.c
> In file included from /usr/include/ucontext.h:27,
> from /usr/include/signal.h:317,
> from LYSignal.h:5,
> from ./LYClean.c:4:
> /usr/include/sys/ucontext.h:74: warning: `ERR' redefined
> /usr/include/curses.h:195: warning: this is the location of the previous
> definition
> In file included from /usr/include/ucontext.h:27,
> from /usr/include/signal.h:317,
> from LYSignal.h:5,
> from ./LYClean.c:4:
> /usr/include/sys/ucontext.h:73: parse error before `('
> make[1]: *** [LYClean.o] Error 1
> make[1]: Leaving directory `/home2/link.staff/BUILD/lynx2-8-3/src'
> make: *** [all] Error 2
> Bad exit status from /var/tmp/rpm-tmp.81966 (%build)
> [root@link SOURCES]#
>
> :\ Broken new entry to signals definition ?
>
> --
> Piotr "Charvel" Majka | PGP & GPG Public Key: finger [EMAIL PROTECTED] | Uin: 20873695
> GCM d- s-:- a-- C++ UL++++ P+ L+++ E--- W+ N+++ !o !K w--- !O M V- PS+ PE !Y
> PGP+ t--- !5 X R tv- b !DI D+ G++ e h r y++**
>
> --
> To unsubscribe:
> mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
--
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null