I'm using a Debian 2.0 update through FTP from ftp.debian.org. Kernel 2.0.35 More I've get the complete package PPP-2.3.5.tgz (because in Debian 2.0 PPPD has a version 2.3.5 but the kernel drivers are ver. 2.2.0 and they don't support the demand dialing) and I've tried to setup and compile the kernel. But it fails because the script kinstall (of ppp 2.3.5) don't substitute the file /usr/src/linux/driver/net/ppp.c because it has a FILEVERSION newer then ppp.c from package PPP-2.3.5 BUT really the original in the kernel has rel. 2.2.0. and kernel doesn't compile more. So I've manually changed this file and I've changed the line 3080 of ppp.c like this #if LINUX_VERSION_CODE < VERSION(2,1,86) /*#define FREE_SKB(skb) dev_kfree_skb(skb,)*/ /* OLD */ #define FREE_SKB(skb) dev_kfree_skb(skb, FREE_WRITE) /* NEW */ #else #define FREE_SKB(skb) dev_kfree_skb(skb, FREE_WRITE) # because the function dev_kfree_skb need 2 args like kernel >=2.1.86 (it's correct ?) and so kernel compiles correctly. B U T the pppd binary included in Debian 2.0 works not so fine (the IDLE option doesn't work more, with PPP kernel driver 2.2.0 it worked fine) and it's impossible compile the pppd 2.3.5 binary having various error in varius *.h ---- cut here --- In file included from sys-linux.c:68: ../include/linux/ppp_defs.h:97: parse error before `ext_accm' ../include/linux/ppp_defs.h:97: warning: data definition has no type or storage class ..(omissis).. In file included from sys-linux.c:71: pppd.h:266: parse error before `ext_accm' sys-linux.c:983: parse error before `ext_accm' sys-linux.c: In function `ppp_set_xaccm': sys-linux.c:988: `accm' undeclared (first use this function) sys-linux.c:988: (Each undeclared identifier is reported only once sys-linux.c:988: for each function it appears in.) sys-linux.c: In function `ccp_test': sys-linux.c:1047: storage size of `data' isn't known sys-linux.c:1054: sizeof applied to an incomplete type sys-linux.c:1047: warning: unused variable `data' --------- cut here -------- I must change manually the various include files ? (option discouraged from kinstall) ? Can help me ? Bye del Alex. == Ambrosini Alessandro IK2XKB Cernusco s/N - Italy mailto:[EMAIL PROTECTED] _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com - To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to [EMAIL PROTECTED]
