[pptp-server] problems compiling ppp-2.3.10 with kernel2.2.16

Kenneth E. Lussier kenlussier at mediaone.net
Mon Jul 3 17:04:55 CDT 2000


Ahhhh.... now the truth comes out ;-) I always recommend grabbing virgin 
source code. Every distribution (with the notable exception of Debian) 
mucks with the kernel to optimize for that particular ditro. Most Linux 
hardware vendors (VA, Penguine, etc.) do the same thing. Since Mandrake is 
basically just RedHat with some extensions, they probably have broken code 
as well.

I recommend getting virgin kernel, ppp, and SSL source, and the basic mppe 
patch. Then copy everything to it's respective places (as stated in the 
HOWTO's). I'm pretty sure that that is what I did on the server side (the 
one that worked).

FYI,
Kenny

At 04:49 PM 7/3/00 -0500, Daniell Freed wrote:
>This is how I build it as well.  I don't know if it matters, but I build this
>on a Mandrake 7.1 box.  I am going to try
>downloading the normal kernel source for 2.2.16 and see if it will compile
>using this (since Mandrake's source didn't work).
>
>Dan
>
>"Kenneth E. Lussier" wrote:
>
> > I would be extremely interested in an answer to this myself. I built
> > pppd-2.3.10 + encryption with a 2.2.16 kernel fine on one system, and when
> > I tried to do it on another, I got the same errors. I ended up copying the
> > entire kernel source tree from the server to the client, as well as the
> > pppd binary, and it worked fine. The problem is that I can't remember how I
> > built the first one. I think I did everything manually (copying the RC4
> > files from SSL to the source tree, etc.) on the server, and on the client I
> > tried to use the "all-in-one" patch (ppp-2.3.10-openssl-0.9.5-mppe.patch).
> >
> > Kenny
> >
> > At 04:02 PM 7/3/00 -0500, Daniell Freed wrote:
> > >I have tried this with kernel version 2.2.15 and 2.2.16, but I continue to
> > >recieve errors when doing  make modules.
> > >
> > >What I get is a list of 'PPP_MAGIC' undeclared (first use in this
> > >function)  errors when trying to compile ppp.c.
> > >
> > >When I did the make kernel for ppp I noticed it skipped copying ppp.c to
> > >the ./linux/drivers/net subdir.  I tried copying this over manually, but I
> > >just got the same error .
> > >
> > >Does anyone know how to fix this?
> > >
> > >Thanks a bunch.
> > >--
> > >Daniell Freed
> > >Computer Services
> > >Dewitt, Ross, & Stevens
> > >
> > >He who fights with monsters might take care
> > >lest he thereby become a monster.
> > >And if you gaze for long into an abyss,
> > >the abyss gazes also into you.
> > >
> > >Beyond Good and Evil
> > >Friedrich Wilhelm Nietzche
>
>--
>Daniell Freed
>Computer Services
>Dewitt, Ross, & Stevens
>
>He who fights with monsters might take care
>lest he thereby become a monster.
>And if you gaze for long into an abyss,
>the abyss gazes also into you.
>
>Beyond Good and Evil
>Friedrich Wilhelm Nietzche
>




More information about the pptp-server mailing list