[pptp-server] kernel fails to build

Brian Denheyer bdenheyer at nextcomminc.com
Wed Aug 2 09:38:18 CDT 2000


Tom Eastep writes:
 > Thus spoke Brian Denheyer:
 > 
 > > 
 > > I tried again to patch and build everything.  ppp seems to build ok.
 > > The kernel has problems :
 > > 
 > > PPP_MAGIC
 > > PPP_VERSION
 > > 
 > > are both undeclared and so cause errors.
 > >
 > 
 > Edit /usr/src/linux/include/linux/if_ppp.h and add the following:
 > 
 > #define PPP_MAGIC	0x5002
 > #define PPP_VERSION	"2.3.11"
 > 

Thanks !

Well this immediately begs the question : why isn't this included in
the patch ?  Wouldn't this be a problem for _everyone_ who tried to
build ??

It turns out that in addition to rc4_skey.c, you also need rc4_locl.h
to be copied into the kernel source tree.

Everything seems to build now.  I still get the strange errors about
"static delcarations following non-static".

Of course, I don't know if it works yet...

Brian




More information about the pptp-server mailing list