On Fri, 13 Aug 1999, Laurent Descamps wrote:
|I get the following error when compiling the new ppp-2.3.9 release :
|
|cc -O2 -pipe -Wall -g -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE
|-I../include -DCHAPMS=1 -DUSE_CRYPT=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
|sys-linux.o: In function `ppp_available':
|/usr/include/sys/stat.h:169: undefined reference to `makedev'
|make[1]: *** [pppd] Error 1
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)
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]