I posted the same thing a few days gao, and there is a solution.
Here is a patch you have to apply to pppd-2.3.5/linux/ppp.c
--- ppp.c.orig Tue Mar 24 15:54:59 1998
+++ ppp.c Mon Jul 20 23:09:12 1998
@@ -7,7 +7,7 @@
* Dynamic PPP devices by Jim Freeman <[EMAIL PROTECTED]>.
* ppp_tty_receive ``noisy-raise-bug'' fixed by Ove Ewerlid
<[EMAIL PROTECTED]>
*
- * ==FILEVERSION 980319==
+ * ==FILEVERSION 981001==
*
* NOTE TO MAINTAINERS:
* If you modify this file at all, please set the number above to the
@@ -3076,7 +3076,7 @@
/*
* Send a frame to the remote.
*/
-#if LINUX_VERSION_CODE < VERSION(2,1,86)
+#if LINUX_VERSION_CODE > VERSION(2,1,86)
#define FREE_SKB(skb) dev_kfree_skb(skb)
#else
#define FREE_SKB(skb) dev_kfree_skb(skb, FREE_WRITE)
If it doesn't apply properly, i.e. if it says that it failed to patch, all
you have to do is open ppp.c and change two lines.
The first one is the date, in the line where it say FILEVERSION. The
second change needs to be in Line 3079 (or around there), where it says:
#if LINUX_VERSION_CODE < VERSION(2,1,86)
change this to:
#if LINUX_VERSION_CODE > VERSION(2,1,86)
^^^^^^^
notice the difference.
The do make kernel, and off you go.
This is to the group and the maintainers. Why is it, that everyone has to
find out the hard way. Is there a site were it points that problem out,
did I miss something.
Peter H.
On Thu, 8 Oct 1998, Daniel G. Thompson wrote:
> I have been trying to put ppp-2.3.3 or ppp-2.3.5 into the linux Kernel
> 2.0.35 for a couple of
> days now. It appears to me that there have been some changes made to the
> native
> pppd.c in the kernel and installing one of the ppp patches messes things up
> to the point
> that I can not get a clean compile.
>
> I have finally grown tired of attempting to hack the thing into place, so I
> am looking to this
> group for any and all information that will leave me with at least a small
> repository of hair
> on my head, and a source tree that will compile and allow me to run kernel
> 2.0.34 or 2.0.35.
>
> FAQ's, URLS etc would be very useful to me.
> Thank you.
>
> Dan Thompson
> Wayland Communications
> [EMAIL PROTECTED]
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to [EMAIL PROTECTED]
>
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]