Typo
[linux_from_scratch_hints.git] / OLD / lynx.txt
blob1d2bcf2cde1b1fb7b6b1d39b1b5b60a44dafac25
1 TITLE:          Lynx compilation problems
2 LFS VERSION:    up until 2.4.4
3 AUTHOR:         Lee Harris <mr.1ee@ntlworld.com>
5 SYNOPSIS:
6         When you try to compile lynx on systems running glibc version 2.1.3 you may get an error.
8 HINT:
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 
12 ncurses header .
14 Look in /usr/include/sys/ucontext.h for this :-
16                  # define TRAPNO TRAPNO 
17                   ERR, 
18                  # define ERR    ERR 
19                   EIP, 
21 And comment it out, eg
23                  /*# define TRAPNO TRAPNO 
24                   ERR, 
25                  # define ERR    ERR 
26                   EIP, */
28 Now it should be possible to compile lynx.
30 Remember to return ucontext.h to its original state after compilation.
32 -- 
34 Lee Harris