[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Compile error on i686/linux RH 6.2
From: |
T.E.Dickey |
Subject: |
Re: lynx-dev Compile error on i686/linux RH 6.2 |
Date: |
Thu, 6 Apr 100 20:18:35 -0400 (EDT) |
> I get the following output when trying to compile lynx-2.8.3pre2 on my
> system :
this is a bug in glibc 2.1.3, which the maintainers thereof were told more
than a month ago. (someone defined a symbol 'ERR' for a register name).
It has other neat side effects (breaks makedepend in XFree86 for xterm ;-).
-- until they get around to fixing it, your workaround would be to
modify that ucontext.h file - change it to 'GLIBC_ERROR' I suppose...
-- probably wouldn't hurt to email the glibc maintainers, since the last
email I saw on the topic indicated they weren't in a hurry to fix it.
> make[1]: Entering directory `/root/lynx2-8-3/src'
> Compiling Lynx sources
> cd chrtrans && make \
> SITE_DEFS="" \
> CFLAGS="-O2 -DLINUX -D_GNU_SOURCE " \
> CPPFLAGS="" \
> CC="gcc" tables
> make[2]: Entering directory `/root/lynx2-8-3/src/chrtrans'
> make[2]: Nothing to be done for `tables'.
> make[2]: Leaving directory `/root/lynx2-8-3/src/chrtrans'
> gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -I. -I..
> -Ichrtrans -I./chrtrans -I.. -I../src -I../WWW/Library/Implementation
> -O2 -DLINUX -D_GNU_SOURCE -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 `/root/lynx2-8-3/src'
> make: *** [all] Error 2
> ---
>
> I would really appreciate some suggestions on this. Is my system
> broken, or is it a problem with the lynx distribution ?
>
> I checked the /usr/include/sys/ucontext.h file, but saw nothing
> special. As I just installed a fresh RedHat 6.2, which is supposed
> clean, it is surpising.
>
> Thanks in advance !
> --
> Damien WYART / address@hidden
>
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey