1 TITLE: Lynx compilation problems
2 LFS VERSION: up until 2.4.4
3 AUTHOR: Lee Harris <mr.1ee@ntlworld.com>
6 When you try to compile lynx on systems running glibc version 2.1.3 you may get an error.
9 This is caused because glibc and ncurses both have a symbol Called ERR
10 defined in their header files and lynx includes both files while compiling.
11 The remedy is quite simple though, as lynx only actually uses the one in the
14 Look in /usr/include/sys/ucontext.h for this :-
16 # define TRAPNO TRAPNO
21 And comment it out, eg
23 /*# define TRAPNO TRAPNO
28 Now it should be possible to compile lynx.
30 Remember to return ucontext.h to its original state after compilation.