Date sent: Wed, 11 Nov 1998 12:19:53 +0100 From: adolf To: "linux-ppp@vger.rutgers.edu" Subject: ppp 2.3.5 solution hello I also had problems with newest linux kernels and pppd 2.3.5 but now everything works great :-) thanks to Jason Davis I hope you'll find this useful now i use pppd 2.3.5 and kernel 2.1.125 (i've tried 121 to 124 also) on RedHat 5.1 Now a solution writen by Jason Davis (thanks again :-) ------------------------------------------------------------------------- This little bit of info got me up and running hope it will work for you too: Let me guess... Compilation stops near the sys-linux.c file? If so, all you have to do is to: (assuming that you're in the ppp-2.3.5 top level dir.) 1. Type ./configure :-) 2. Cd into linux/ 3. Replace files `if.h', `if_arp.h', `if_ppp.h', `ppp-comp.h', `ppp_defs.h' and `route.h' with relevant ones from your /usr/include/net directory. Then, it will compile, but partially :-). It will stop on the `pppstats.c'. 4. Then, enter `-D__GLIBC__=2 into the COMPILE_FLAGS of your Makefile in the pppstats/ directory. (just in case...) 5. Tweak the file ppp-2.3.5/include/net/ppp-defs.h. Enter unsigned int bytes_out; unsigned int in_count; in the line 159 (under `unsigned int ratio;'). 6. Then cd into ppp-2.3.5 top level directory. Type standard `make ; make install' - it should compile without any problems... ------------------------------------------------------------------ adolf ------------------------------------------------------------------------------- Dostep do internetu 56 Kbps Flex / 64 Kbps ISDN http://www.getin.pl Darmowe konta pocztowe w sieci GETIN. http://box43.gnet.pl GETIN Internet Service Provider http://www.gnet.pl ------------------------------------------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to majordomo@vger.rutgers.edu