From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 1994 invoked from network); 22 Sep 1998 22:18:50 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 22 Sep 1998 22:18:50 -0000 Received: from picu-sgh.demon.co.uk (qmailr@picu-sgh.demon.co.uk [194.222.182.163]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id SAA22697 for ; Tue, 22 Sep 1998 18:18:01 -0400 Received: (qmail 17267 invoked by uid 500); 22 Sep 1998 18:54:29 -0000 Date: 22 Sep 1998 18:54:29 -0000 Message-ID: <19980922185429.17266.qmail@picu-sgh.demon.co.uk> From: Peter Rye To: axp-list@redhat.com In-reply-to: (message from Jiann-Ming Su on Tue, 22 Sep 1998 11:23:28 -0500 (CDT)) Subject: Re: pppd 2.3.5 doesn't compile References: >>>>> "Jiann-Ming" == Jiann-Ming Su writes: >> > You may try adding > > #undef _LINUX_TYPES_H > #include >> > > to the top of sys-linux.c . This worked for a >> similar problem but on > Intel-linux. >> Jiann-Ming> I did this and now get the following: Jiann-Ming> make[1]: Entering directory Jiann-Ming> `/usr/local/src/ppp-2.3.5/pppstats' cc -O -D_linux_ Jiann-Ming> -I../include -o pppstats pppstats.c In file included from Jiann-Ming> pppstats.c:65: ../include/linux/ppp_defs.h:97: parse error Jiann-Ming> before `ext_accm' ../include/linux/ppp_defs.h:97: warning: Jiann-Ming> data definition has no type or storage class Jiann-Ming> ../include/linux/ppp_defs.h:113: parse error before `__u32' Make a similar change to pppstats.c Here's a patch I used here --- ppp-2.3.5/pppd/sys-linux.c Mon May 4 07:45:00 1998 +++ ppp-mod/pppd/sys-linux.c Sun Sep 20 21:19:24 1998 @@ -26,6 +26,7 @@ #include #include #include +#include #include #include --- ppp-2.3.5/pppstats/pppstats.c Wed Apr 1 00:48:03 1998 +++ ppp-mod/pppstats/pppstats.c Sun Sep 20 21:19:10 1998 @@ -47,6 +47,7 @@ #include #include #include +#include #ifndef STREAMS #include /* *BSD, Linux, NeXT, Ultrix etc. */