I have compiled linux-2.0.36 and ppp-2.3.5 on my RedHat 5.2. The changes
needed are quite trivail - just delete 3 lines from ppp.c. The zImage and
pppd executables are, I assume OK since I am using them now.( However
there are quite big differences between the 2 versions of ppp.c) The
steps: -
1. cd /usr/src
2. tar zxvf linux-2.0.36.tar.gz
3. cd /usr/include
4. rm -rf asm
5. ln -s /usr/src/linux/include/asm-i386 asm
(the original link to just asm)
6. cd /usr/src/linux/drivers/net
7. mv ppp.c ppp.c.old
8. cd /tmp
9. tar zxvf ppp-2.3.5.tar.gz
10. cd ppp-2.3.5/
11. ./configure
12. make kernel
13. cp linux/ppp.c /usr/src/linux/drivers/net/ppp.c
14. modify THIS copy of ppp.c. Change this block (from line 3079)
#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
to just :-
#define FREE_SKB(skb) dev_kfree_skb(skb, FREE_WRITE)
15. cd /usr/src/linux
16. make mrproper; make menuconfig; make dep; make clean; make zImage;
make modules; make modules_install.
17. cd /tmp/ppp-2.3.5/
18. make
19. make install or just copy over the pppd/pppd & pppstats/pppstats
executables.
etc, etc, etc..
Hope this is not just a waste of bandwidth.
cheers.
Richard KHOO Guan Chen
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]