From owner-freebsd-isdn Thu Jul 15 12:58:22 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from unidui.uni-duisburg.de (unidui.uni-duisburg.de [134.91.4.3]) by hub.freebsd.org (Postfix) with ESMTP id 7BFEF151C9 for ; Thu, 15 Jul 1999 12:58:17 -0700 (PDT) (envelope-from kurek@unidui.uni-duisburg.de) Received: from uni-duisburg.de (athome106.uni-duisburg.de [134.91.17.116]) by unidui.uni-duisburg.de (8.8.6 (PHNE_14041)/8.8.6) with ESMTP id VAA23824; Thu, 15 Jul 1999 21:53:21 +0200 (METDST) Message-ID: <378E49CE.D2524BFC@uni-duisburg.de> Date: Thu, 15 Jul 1999 19:51:26 +0000 From: Markus Kurek X-Mailer: Mozilla 4.61 [en] (Win95; U) X-Accept-Language: en,de MIME-Version: 1.0 To: Udo Schweigert Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: spppcontrol do not compile on NetBSD-1.4 References: <19990714200929.A24440@etecs3.uni-duisburg.de> <19990714220016.A1349@alaska.cert.siemens.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Udo Schweigert wrote: > > I tried upgrading my system to the new beta. > > > > cc -O2 -g -Wall -I.. -Werror -c spppcontrol.c > > In file included from spppcontrol.c:61: > > ../if_sppp.h:110: field `pp_comp' has incomplete type > > > > This is on NetBSD-1.4. > > This is a problem due to VJ compression, which is new in sppp. > > In spppcontrol.c we have at lines 50-58: > > #ifdef __FreeBSD__ > #if __FreeBSD__ >= 3 > #include > #endif > #include > #include > #include > #include > #endif > > Here we should have the appropriate #includes for non-FreeBSD; an inspection > of i4b_ipr.c shows that something like this could be sufficient: > > #ifdef __FreeBSD__ > #if __FreeBSD__ >= 3 > #include > #endif > #include > #include > #else > #include > #include > #include > #endif > #include > #include > > Maybe you can verify/correct this solution. Now spppcontrol compiles w/o a problem, but the result seems to be useless. spppcontrol isp0 spppcontrol: SIOCGIFGENERIC(SPPPIOGDEFS): Invalid argument -- Markus Kurek To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message