[pptp-server] mppe patch compile error
Jamin Collins
JaminC at adapt-tele.com
Wed Mar 14 18:41:48 CST 2001
Jay Moore [mailto:jmoore at sailnet.com] wrote:
> ppp.c: In function `ppp_tty_read':
> ppp.c:511: `PPP_MAGIC' undeclared (first use in this function)
(snip)
> what am I doing wrong.
The answer to this problem is in the FAQ
http://www.vibrationresearch.com/pptpd/pptpd-FAQ.txt:
7.4.1. Get PPP_VERSION or PPP_MAGIC undefined error message while compiling
ppp kernel modules
Solution: add the following lines to
/usr/src/linux/include/linux/if_ppp.h
#define PPP_VERSION "2.3.11"
#define PPP_MAGIC 0x5002 /* Magic value for the ppp
structure */
I'm not a big fan of telling people to RTFM, but sometimes it doesn't hurt.
Also, I found similiar documentation by simply searching for "ppp_magic
poptop" at http://www.hotbot.com.
Jamin W. Collins
More information about the pptp-server
mailing list