From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 28102 invoked from network); 22 Sep 1998 16:34:37 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 22 Sep 1998 16:34:37 -0000 Received: from mailserver.zia.ms.it (root@icaro.zia.ms.it [195.103.158.41]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA09310 for ; Tue, 22 Sep 1998 12:33:55 -0400 Organization: Rete Telematica Apuana _ Consorzio Zona Industriale Apuana - Massa - Italy Received: from icaro.zia.ms.it (adellam@icaro.zia.ms.it [195.103.158.41]) by mailserver.zia.ms.it (8.8.7/8.9.9) with SMTP id SAA17174 for ; Tue, 22 Sep 1998 18:33:17 +0200 Date: Tue, 22 Sep 1998 18:33:17 +0200 (CEST) From: "Andrea Dell'Amico" To: axp-list@redhat.com Subject: Re: pppd 2.3.5 doesn't compile In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 22 Sep 1998, Jiann-Ming Su wrote: > > 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: [...] compilation errors deleted. You need a patch to compile pppd 2.3.x against kernels 2.0.3x and glibc. You can find it in the redhat source rpm, or below :-). ciao andrea --- ppp-2.3.5/pppd/sys-linux.c.glibc Fri Jun 5 15:35:39 1998 +++ ppp-2.3.5/pppd/sys-linux.c Fri Jun 5 16:06:36 1998 @@ -55,18 +55,19 @@ #include #include #include +#include "/usr/include/net/ppp_defs.h" +#include "/usr/include/net/if_ppp.h" #else #include #include #include #include -#endif -#include -#include - #include #include #include +#endif +#include +#include #include "pppd.h" #include "fsm.h" --- ppp-2.3.5/pppstats/pppstats.c.glibc Fri Jun 5 16:29:05 1998 +++ ppp-2.3.5/pppstats/pppstats.c Fri Jun 5 16:30:57 1998 @@ -58,12 +58,14 @@ /* Linux */ #if __GLIBC__ >= 2 #include +#include "/usr/include/net/ppp_defs.h" +#include "/usr/include/net/if_ppp.h" #else #include -#endif #include #include #include +#endif #endif /* _linux_ */ #else /* STREAMS */