[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Compile problems w/ncurses
From: |
T.E.Dickey |
Subject: |
Re: lynx-dev Compile problems w/ncurses |
Date: |
Tue, 18 Apr 100 08:35:19 -0400 (EDT) |
> It seems like I can't compile Lynx with ncurses whereas it
> compiles fine with slang.
That's a bug in glibc 2.13 (broken definition of 'ERR').
simple fix: modify ucontext.h
> I had the problem with dev21 so I thought I'd fetch the latest
> pre6 version to see if the problem persisted before reporting.
>
> And it does.
>
> Here is the output around the point where things go awry:
>
>
> gcc -DHAVE_CONFIG_H
> -DLOCALEDIR=\"/usr/local/encap/lynx2-8-3/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 /home/mojo/src/lynx2-8-3/src'
> make: *** [all] Error 2
> Morten
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey