khoogc wrote:
> 
> Hi,
> 
> Could somebody tell me what I must do to compile ppp-2.3.9?
> Right now "make" craps out with the error:-
> 
> ---------------------------------cut--------------------------------
> 
> make[1]: Entering directory `/usr/local/src/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 -o pppd main.o
> magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o auth.o options.o
> demand.o utils.o sys-linux.o ipxcp.o md4.o chap_ms.o  -lcrypt
> sys-linux.o: In function `ppp_available':
> /usr/include/sys/stat.h:232: undefined reference to `makedev'
> make[1]: *** [pppd] Error 1
> make[1]: Leaving directory `/usr/local/src/ppp-2.3.9/pppd'
> make: *** [all] Error 2
> 
> ---------------------------------------------------------------------
> 
> System is a Redhat 5.2 with
> 
> glibc-2.0.7-29
> glibc-devel-2.0.7-29
> gcc-2.7.2.3-14
> 
> Thanks
> Richard KHOO Guan Chen

Hello,

I had the same problem, here is the solution the well known "Not a guru" 
sent to me a few weeks ago (I hope this time, I will be faster than him
to reply.. :-)  )

>>I got the same error and figured it was because I was behind in keeping up
>>the linux header files.  It turns out that /usr/include/sys/sysmacros.h has
>>makedev defined in it on the system here.  Adding
>>
>>#include <sys/sysmacros.h>
>>
>>to the end of the sys header list in pppd/sys-linux.c made the problem go
>>away.
>>
>>---
>>Clifford Kite                                               Not a guru. (tm)
>>


Regards

Laurent

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to