[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev Compile problem: redefinition of ERR
From: |
Robert Mognet |
Subject: |
lynx-dev Compile problem: redefinition of ERR |
Date: |
Mon, 1 Jan 2001 11:54:51 -0500 |
Hello,
Trying to compile Lynx 2.8.4dev15.
System is Red Hat 6.2 - kernel 2.2.18
gcc == egcs-2.91.66
The error from compiler:
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 `/usr/src/lynx2-8-4/src'
make: *** [all] Error 2
------------------------------------------------
The file /usr/include/curses.h defines ERR as (-1)
The file /usr/include/sys/ucontext.h defines names for
the CPU registers.
Can anyone steer me to some clues ??
TIA
Robert
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden
- lynx-dev Compile problem: redefinition of ERR,
Robert Mognet <=