[pptp-server] Re: Unknown PPP_MAGIC in header files

Sebastian Schneider Pueba at t-online.de
Sun Jul 8 16:43:21 CDT 2001


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

than I get this message:

ppp_mppe.c:66: rc4.h: Datei oder Verzeichnis nicht gefunden 
ppp_mppe.c:67: rc4_enc.c: Datei oder Verzeichnis nicht gefunden 
ppp_mppe.c:68: rc4_skey.c: Datei oder Verzeichnis nicht gefunden 
ppp_mppe.c:77: parse error before `RC4_KEY' 
ppp_mppe.c:77: warning: no semicolon at end of struct or union 
ppp_mppe.c:78: warning: type defaults to `int' in declaration of 
`RC4_recv_key' 
ppp_mppe.c:78: warning: data definition has no type or storage class 
ppp_mppe.c:91: parse error before `}' ppp_mppe.c: In function 
`mppe_synchronize_key': 
ppp_mppe.c:105: warning: implicit declaration of function `RC4_set_key' 
ppp_mppe.c:105: dereferencing pointer to incomplete type ppp_mppe.c:105: 
dereferencing pointer to incomplete type 
ppp_mppe.c:105: dereferencing pointer to incomplete type 
ppp_mppe.c:106: dereferencing pointer to incomplete type 
ppp_mppe.c:106: dereferencing pointer to incomplete type 
ppp_mppe.c:106: dereferencing pointer to incomplete type 
... 
ppp_mppe.c:525: dereferencing pointer to incomplete type 
ppp_mppe.c:530: dereferencing pointer to incomplete type 
ppp_mppe.c:532: dereferencing pointer to incomplete type 
ppp_mppe.c:533: dereferencing pointer to incomplete type 
ppp_mppe.c: In function `mppe_incomp': 
ppp_mppe.c:546:dereferencing pointer to incomplete type 
ppp_mppe.c:547: dereferencing pointer to incomplete type make[2]: *** 
[ppp_mppe.o] Error 1 
make[2]: Leaving directory `/usr/src/linux-2.2.19.SuSE/drivers/net' 
make[1]: *** [_modsubdir_net] Error 2 
make[1]: Leaving directory `/usr/src/linux-2.2.19.SuSE/drivers' 
make: *** [_mod_drivers] Error 2


i solve this problem next week, because i find another solution:
try to find a precompiled ppp_mppe.o. i extracted this from package 
k_deflt-2.2.19-11.i386.rpm (patched by suse). only copy this file to 
/lib/modules/2.2.X/net/ .(edit /etc/modules.conf && depmod -a). So you don't 
need to patch the kernel && to install new modules. Now my PPTP-VPN works. 

Basti


Am Sonntag,  8. Juli 2001 12:55 schrieben Sie:
> Hi . Mine is Debian 2.2.18pre21
>
> ----- Original Message -----
> From: "Sebastian Schneider" <Pueba at t-online.de>
> To: <pptp-server at lists.schulte.org>
> Sent: Sunday, July 08, 2001 3:11 PM
> Subject: [pptp-server] Re: Unknown PPP_MAGIC in header files
>
> > hi,
> >
> > i did the same with the same problem 30 minutes ago. i use kernel 2.2.19.
> >
> > >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
> >
> > _______________________________________________
> > pptp-server maillist  -  pptp-server at lists.schulte.org
> > http://lists.schulte.org/mailman/listinfo/pptp-server
> > --- To unsubscribe, go to the url just above this line. --



More information about the pptp-server mailing list