I've had the exact same problems -- with the exact same software
versions, both for linux and ppp.
I solved those problems and intended to publish my patch, only
my sucessfully compiled sources act strange and I have had too
little time to trace that down. I will give you an excerpt of
the patches I've done, that should be sufficient for your
compile to go through:
*** ppp-2.3.5/linux/ppp.c.orig Wed Mar 25 00:54:59 1998
--- ppp-2.3.5/linux/ppp.c Sat Nov 7 20:56:32 1998
***************
*** 7,13 ****
* Dynamic PPP devices by Jim Freeman <[EMAIL PROTECTED]>.
* ppp_tty_receive ``noisy-raise-bug'' fixed by Ove Ewerlid <[EMAIL PROTECTED]>
*
! * ==FILEVERSION 980319==
*
* NOTE TO MAINTAINERS:
* If you modify this file at all, please set the number above to the
--- 7,13 ----
* Dynamic PPP devices by Jim Freeman <[EMAIL PROTECTED]>.
* ppp_tty_receive ``noisy-raise-bug'' fixed by Ove Ewerlid <[EMAIL PROTECTED]>
*
! * ==FILEVERSION 981107==
*
* NOTE TO MAINTAINERS:
* If you modify this file at all, please set the number above to the
***************
*** 3076,3085 ****
/*
* Send a frame to the remote.
*/
! #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)
#endif
static int
--- 3076,3085 ----
/*
* Send a frame to the remote.
*/
! #if (LINUX_VERSION_CODE >= VERSION(2,1,86) || LINUX_VERSION_CODE >= VERSION(2,0,30)
&& LINUX_VERSION_CODE < VERSION(2,1,0))
! #define FREE_SKB(skb) dev_kfree_skb(skb, FREE_WRITE)
#else
! #define FREE_SKB(skb) dev_kfree_skb(skb)
#endif
static int
That should do it. I'll get back when I have a more complete
patch, I was trying to port back some updates made in the
ppp code in the linux kernel tree, that has evolved separate
from the ppp tree, but not very successfully -- the code
kind of works, but I have problems sending chunks of data
larger than one kilobyte at a time or so.... Something
timeouts. I have been too occupied at work so I haven't
had time to track this down. Am using CSLIP at the
moment, have for the last few years, but thought I just
_had_ to start using ppp. ;-)
Leif Erlingsson
On Wed, 11 Nov 1998, Minh Van Le wrote:
> > > i need to know various sites, or given information where i can solve my
> > > ppp-2.3.5 compile problems please.
> >
> > Err... what *are* the problems?
The problem is that ppp.c in linux-2.0.35 has a later
"Fileversion" than the ppp.c in the ppp-2.3.5, because
inconsequential updates has been done to it. But we need the
version in ppp-2.3.5, which we won't get. This is solved just
by changing the "Fileversion" in ppp-2.3.5 ppp.c. One more
thing is wrong with ppp-2.3.5 ppp.c, see my patch.
Good Luck, and stay in touch -- I will mail you my finished
patch when I get it working right, and I'd appreciate to hear
your comments on how the above patch works out for you!
________________________________________________________________
Leif Erlingsson, Katrinebergsvagen 70, 146 50 Tullinge, Sweden
TEL +46 8 778-5038, MOB +46 709 14-0631, URL http://www.lege.com
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]