On Mon, 20 Sep 1999, Ken Ingram wrote:
> -g -O2 -I. -I. -I../images -I/usr/X11R6/include spellchecker.C
> spellchecker.C: In function `void create_ispell_pipe(const LString &)':
> spellchecker.C:348: passing `int *' as argument 2 of `select(int,
> __fd_set *, __fd_set *, __fd_set *, timeval *)'
> make[1]: *** [spellchecker.o] Error 1
> make[1]: Leaving directory `/usr/src/lyx-1.0.3/src'
> make: *** [all] Error 1
This is very fast becoming a FAQ so I'm also sending it to lyx-users.
It's due to gcc-2.95 not liking autoconf's generated test to find the
parameter types of select(). The appropriate people have been informed
more than once about this and a number of other problems. This particular
problem isn't yet fixed though :-(
A simple workaround for you is to do:
sed -e "s/extern select/extern int select/" < configure > newconf
mv newconf configure
then rerun configure and make.
Allan. (ARRae)