On Sat, 30 Jan 1999, Bret Mills wrote:
> Hello to the listserver, Has anyone had any luck compiling the ppp2.3.5 into
> the 2.0.36 Kernel? I am having the same problems that I see on the
> listserver with the 2.1 & 2.2 kernel's I have tried to copy the ppp.c file
> manually and got differant errors when I compiled the Kernel but still got
> errors so I guess it is not associated with the newer Kernels. I am running
> Slackware here.
> I also loaded a new slackware Dist. 3.6 on a differant Drive and when I
> tried to compile a new Kernel with it and saying yes to PPP it wouldn't
> compile and I beleive it uses 2.3.5 PPP as well.
> IF someone has got this to compile correctly I would realy like hearing from
> you.
This is how I did ppp-2.3.5 and linux-2.0.36 on RH5.2
1. cd /usr/src/linux/drivers/net/; mv ppp.c ppp.c.orig
2. cd /tmp/ppp-2.3.5/; ./configure; make kernel
(note that now make kernal will report ppp.c transferred also)
3. modify /usr/src/linux/drivers/net/ppp.c by changing the if/else block
(starting from line 3079) from
#if LINUX_VERSION_CODE < VERSION(2,1,86)
#define FREE_SKB(skb) dev _kfree_skb(skb)
.....
...
#endif
to just #define FREE_SKB(skb) dev_kfree_skg (skb, FREE_WRITE)
4. compile your kernal and then ppp.
I don't know what the implications, but it works for me.
Good Luck.
cheers
Richard KHOO Guan Chen
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]