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

Dougal Holmes dholmes at bigpond.net.au
Tue Jul 10 23:28:47 CDT 2001


Ahhh. Now I remember.

Looks like one of the patches didn't take....

In the ppp-2.3.11/linux/kinstall.sh file (which is used to patch the kernel
sources with the updated mppe code), there is a test to check whether the
kernel version is 2.2.17, and if so, to perform two additional patches. This
code is added by the ppp-2.3.11-mppe_kernel2217_update.patch (which is part
of the main specfile).

But the patch has an error (!) which means it works on kernels 2.2.18 and
above, not 2.2.17.

I've attached the revised patch. Copy this to your /usr/src/redhat/SOURCES,
and then run the kernel .spec file again. This should now work.

As for the comments people have been making about using clean sources, in
general I agree. But RedHat had packaged so many useful patches into their
kernel rpm (including the VPN patches that I wanted to use), that I found it
easier to update the kernel rpm to include the ppp-mppe stuff  :-)

Dougal

----- Original Message -----
From: "Brian Collins" <bcollins at newnanutilities.org>
To: "Dougal Holmes" <dholmes at bigpond.net.au>;
<pptp-server at lists.schulte.org>
Sent: Wednesday, July 11, 2001 3:06 AM
Subject: Re: [pptp-server] Re: Unknown PPP_MAGIC in header files


> Thanks for the info.  Unfortunately, I do all that and still get:
> ppp.c:1185: structure has no member named `tty_pushing'
> ppp.c:1195: structure has no member named `tty_pushing'
> ppp.c: In function `ppp_tty_flush_output':
> ppp.c:1320: structure has no member named `tty_pushing'
> ppp.c:1329: structure has no member named `tty_pushing'
> ppp.c: In function `rcv_proto_unknown':
> ppp.c:2563: too few arguments to function `kill_fasync_R3b71d908'
> make[2]: *** [ppp.o] Error 1
> make[1]: *** [_modsubdir_net] Error 2
> make: *** [_mod_drivers] Error 2
>
> Any ideas?
>
> I'm going to try to compile kernel-source from the src.rpm.
>
> --Brian
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppp-2.3.11-mppe_kernel2217_update.patch
Type: application/octet-stream
Size: 3357 bytes
Desc: not available
URL: <http://lists.schulte.org/mailman/private/pptp-server/attachments/20010711/03de1f1b/attachment.obj>


More information about the pptp-server mailing list