I've had a slight problem with compileing lynx (2.8.4 rel1=>, haven't
tryed 2.8.3 and below).
This is the make report
make[2]: Leaving directory `/home/live/Download/lynx2-8-4/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 `/home/live/Download/lynx2-8-4/src'
make: *** [all] Error 2
This is probably a problem with my OS (slackware 7.1, egcs-2.91.66) then
with lynx, but here is how i fixed it anyway.
I wrapped the enum defination in <sys/ucontext.h> in a #ifndef __LYNX_SRC,
the added -D__LYNX_SRC to the makefile.
Horrible hack, but works!
--
--------------------------------------------------------------------------
| These are the thoughts of a mere mortal, plz feel free to ignore. |
| -Nastaha Live |
| [URL: mailto:address@hidden |
| [URL: http://www.braecklein.freeserve.co.uk/] |
--------------------------------------------------------------------------