No subject

Sun Jul 8 18:14:56 CDT 2012

7.4 Errors while building pppd, pptpd, and kernel modules

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 */

Steve Cowles

> -----Original Message-----
> From: Mark Dutton [mailto:mark at]
> Sent: Sunday, July 08, 2001 12:41 AM
> To: pptp-server at
> Subject: [pptp-server] Unknown PPP_MAGIC in header files
> Hi there
> I am trying to add MSCHAP into my PPTP. I have dowloaded
> ppp.2.3.11 source and patched it. My PPP stuff all compiles
> beautifully, but when I try to compile the kernel drivers,
> I get the error saying PPP_MAGIC is undefined and hence errors.
> Any ideas?
> Regards
> Mark Dutton

More information about the pptp-server mailing list