Hi all,
I've been trying to get pppd 2.3.9 to compile but I'm getting a strange
compiler error:
cd chat; make all
make[1]: Entering directory `/home/ian/ppp-2.3.9/chat'
cc -c -O2 -g -pipe -DTERMIOS
-DSIGTYPE=void -UNO_SLEEP
-DFNDELAY=O_NDELAY -o chat.o chat.c
cc -o chat chat.o
make[1]: Leaving directory `/home/ian/ppp-2.3.9/chat'
cd pppd; make all
make[1]: Entering directory `/home/ian/ppp-2.3.9/pppd'
cc -O2 -pipe -Wall -g -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE
-I../include -DCHAPMS=1 -DUSE_CRYPT=1 -DHAVE_CRYPT_H=1 -DHAS_SHADOW -c
main.c -o main.o
In file included from /usr/include/sys/resource.h:27, from main.c:39:
/usr/include/resourcebits.h:103: warning: `RLIM_INFINITY' redefined
/usr/include/asm/resource.h:25: warning: this is the location of the
previous definition
In file included from /usr/include/sys/resource.h:27, from main.c:39:
/usr/include/resourcebits.h:102: parse error before `('
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/ian/ppp-2.3.9/pppd'
make: *** [all] Error 2
It seems to be having a problem with resource.h which I beleive is a
part of the GNU C library (?) Could this mean that I have outdated C
libraries ? Is there a way of checking which versions I have ?
Rgds,
Ian.
PS: 2.3.40 kernel (upgraded from 2.0.36)