From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14672 invoked from network); 22 Sep 1998 16:24:43 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 22 Sep 1998 16:24:43 -0000 Received: from microwave.ph.msstate.edu (Microwave.PH.MsState.Edu [130.18.152.72]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA08836 for ; Tue, 22 Sep 1998 12:24:03 -0400 Received: from localhost (js1@localhost) by microwave.ph.msstate.edu (8.8.7/8.8.7) with SMTP id LAA07809 for ; Tue, 22 Sep 1998 11:23:28 -0500 Date: Tue, 22 Sep 1998 11:23:28 -0500 (CDT) From: Jiann-Ming Su To: axp-list@redhat.com Subject: Re: pppd 2.3.5 doesn't compile In-Reply-To: <19980920153323.A10857@acf2.nyu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII > > 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. > I did this and now get the following: cd chat; make all make[1]: Entering directory `/usr/local/src/ppp-2.3.5/chat' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/ppp-2.3.5/chat' cd pppd; make all make[1]: Entering directory `/usr/local/src/ppp-2.3.5/pppd' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/ppp-2.3.5/pppd' cd pppstats; make all make[1]: Entering directory `/usr/local/src/ppp-2.3.5/pppstats' cc -O -D_linux_ -I../include -o pppstats pppstats.c make[1]: Leaving directory `/usr/local/src/ppp-2.3.5/pppstats' cd chat; make all make[1]: Entering directory `/usr/local/src/ppp-2.3.5/chat' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/ppp-2.3.5/chat' cd pppd; make all make[1]: Entering directory `/usr/local/src/ppp-2.3.5/pppd' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/ppp-2.3.5/pppd' cd pppstats; make all make[1]: Entering directory `/usr/local/src/ppp-2.3.5/pppstats' cc -O -D_linux_ -I../include -o pppstats pppstats.c In file included from pppstats.c:65: ../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 ../include/linux/ppp_defs.h:113: parse error before `__u32' ../include/linux/ppp_defs.h:113: warning: no semicolon at end of struct or union ../include/linux/ppp_defs.h:115: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:116: parse error before `ppp_ioctects' ../include/linux/ppp_defs.h:116: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:117: parse error before `ppp_ipackets' ../include/linux/ppp_defs.h:117: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:118: parse error before `ppp_ierrors' ../include/linux/ppp_defs.h:118: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:119: parse error before `ppp_ilqrs' ../include/linux/ppp_defs.h:119: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:121: parse error before `ppp_obytes' ../include/linux/ppp_defs.h:121: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:122: parse error before `ppp_ooctects' ../include/linux/ppp_defs.h:122: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:123: parse error before `ppp_opackets' ../include/linux/ppp_defs.h:123: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:124: parse error before `ppp_oerrors' ../include/linux/ppp_defs.h:124: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:125: parse error before `ppp_olqrs' ../include/linux/ppp_defs.h:125: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:129: parse error before `__u32' ../include/linux/ppp_defs.h:129: warning: no semicolon at end of struct or union ../include/linux/ppp_defs.h:130: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:131: parse error before `vjs_searches' ../include/linux/ppp_defs.h:131: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:132: parse error before `vjs_misses' ../include/linux/ppp_defs.h:132: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:133: parse error before `vjs_uncompressedin' ../include/linux/ppp_defs.h:133: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:134: parse error before `vjs_compressedin' ../include/linux/ppp_defs.h:134: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:135: parse error before `vjs_errorin' ../include/linux/ppp_defs.h:135: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:136: parse error before `vjs_tossed' ../include/linux/ppp_defs.h:136: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:140: parse error before `__u32' ../include/linux/ppp_defs.h:140: warning: no semicolon at end of struct or union ../include/linux/ppp_defs.h:141: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:142: parse error before `comp_bytes' ../include/linux/ppp_defs.h:142: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:143: parse error before `comp_packets' ../include/linux/ppp_defs.h:143: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:144: parse error before `inc_bytes' ../include/linux/ppp_defs.h:144: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:145: parse error before `inc_packets' ../include/linux/ppp_defs.h:145: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:148: parse error before `in_count' ../include/linux/ppp_defs.h:148: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:149: parse error before `bytes_out' ../include/linux/ppp_defs.h:149: warning: data definition has no type or storage class ../include/linux/ppp_defs.h:152: parse error before `}' ../include/linux/ppp_defs.h:155: field `p' has incomplete type ../include/linux/ppp_defs.h:156: field `vj' has incomplete type ../include/linux/ppp_defs.h:160: field `c' has incomplete type ../include/linux/ppp_defs.h:161: field `d' has incomplete type In file included from pppstats.c:66: ../include/linux/if_ppp.h:92: parse error before `__u8' ../include/linux/if_ppp.h:92: warning: no semicolon at end of struct or union ../include/linux/if_ppp.h:93: warning: data definition has no type or storage class ../include/linux/if_ppp.h:95: parse error before `}' make[1]: *** [pppstats] Error 1 make[1]: Leaving directory `/usr/local/src/ppp-2.3.5/pppstats' make: *** [all] Error 2