[Top][All Lists]

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

Re: lynx-dev Compile problems w/ncurses

From: vtailor
Subject: Re: lynx-dev Compile problems w/ncurses
Date: Wed, 19 Apr 2000 10:37:40 -0400

>     * From: "T.E.Dickey" <address@hidden>
>     * 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:
>> -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 defi
>> 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
You get the following linker errors if you compile the latest lynx source with
the latest Australian pdcurses library:

C:\tools\gnu\lynx\src>gcc -o lynx *.o -L..\WWW\Library\Implementation -lwww -lpd
curses -lpanel -lwsock32 -luser32
C:\tools\gnu\lib/libpdcurses.a(initscr.o)(.text+0x187):initscr.c: undefined refe
rence to `_imp___iob'
C:\tools\gnu\lib/libpdcurses.a(initscr.o)(.text+0x1e5):initscr.c: undefined refe
rence to `_imp___iob'
C:\tools\gnu\lib/libpdcurses.a(initscr.o)(.text+0x22a):initscr.c: undefined refe
rence to `_imp___iob'
C:\tools\gnu\lib/libpdcurses.a(initscr.o)(.text+0x31c):initscr.c: undefined refe
rence to `_imp___iob'
C:\tools\gnu\lib/libpdcurses.a(pdcscrn.o)(.text+0x2bd):pdcscrn.c: undefined refe
rence to `_imp___iob'
C:\tools\gnu\lib/libpdcurses.a(pdckbd.o)(.text+0x3b):pdckbd.c: more undefined re
ferences to `_imp___iob' follow

reply via email to

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