|Date: Fri, 20 Nov 1998 12:59:57 -0800 (PST)
|From: Linux Lists <[EMAIL PROTECTED]>
|To: Linux PPP List <[EMAIL PROTECTED]>
|Subject: URL about PPP 2.3.5 minor typo
|
|Hello,
|
|Quick question: does someone have a URL pointing to the description of the
|PPP 2.3.5 typo problem (instead of LINUX_VERSION_CODE >= , should be
|LINUX_VERSION_CODE <= , or something on this line ...) ??
|
|Thanks much.
|
|Regards,
|Ivan Passos
I don't know of a URL but here is a description of the symptoms of the
problem and a possibly a solution.
------------------------------------------------------------------------
Subject: Re: Error compiling PPP into kernel 2.0.x
In article <6l4edd$ha8$[EMAIL PROTECTED]>,
Linuxer <[EMAIL PROTECTED]> wrote:
>Whether I answer m or y to ppp in make config, I get these error messages
>(in make modules and make zImage respectively).
>function ppp_dev_xmit
>ppp.c:3104: too few arguments to function 'dev_kfree_skb'
>ppp.c:3115 "
>ppp.c:3128: "
>ppp.c:3169: "
>ppp.c:3177: "
>ppp.c:3182: "
>make[3] [ppp.o] error 1
>
>What's wrong?
>I ran make kernel from my /etc/ppp-2.3.5/ directory and it had no errors.
----
Sun Jul 12 00:47:56 CDT 1998
If you have such errors then, whatever the reason or kernel version, the
cure should be the same. With a pristine ppp-2.3.5 source tree, starting
at line 3079 in ppp-2.3.5/linux/ppp.c you have:
#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
Change the "<" to ">=" . Then copy the modified file to the kernel
source directory /usr/src/linux/drivers/net, replacing the old ppp.c
there, and recompile the kernel. The cautious may want to save the
old kernel ppp.c first. (The exact change may be "<" to ">" but the
difference won't affect most folks.)
If the particular Linux distribution you use has chosen to modify the
ppp.c code, you still should be able to use this as a guide to find
these lines somewhere near line 3079 and change them.
----------------------------------------------------------------------
-Clifford
---
Clifford Kite Not a guru. (tm)
[EMAIL PROTECTED] Not even close.
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]