From owner-cvs-all Fri Sep 6 23:18:18 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C14637B400; Fri, 6 Sep 2002 23:18:11 -0700 (PDT) Received: from baraca.united.net.ua (ns.united.net.ua [193.111.8.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC40343E42; Fri, 6 Sep 2002 23:18:06 -0700 (PDT) (envelope-from max@vega.com) Received: from vega.vega.com (xDSL-2-2.united.net.ua [193.111.9.226]) by baraca.united.net.ua (8.11.6/8.11.6) with ESMTP id g876Hxs67809; Sat, 7 Sep 2002 09:18:00 +0300 (EEST) (envelope-from max@vega.com) Received: from vega.vega.com (max@localhost [127.0.0.1]) by vega.vega.com (8.12.5/8.12.5) with ESMTP id g876HtdO006189; Sat, 7 Sep 2002 09:17:55 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: (from max@localhost) by vega.vega.com (8.12.5/8.12.5/Submit) id g876HnN3006188; Sat, 7 Sep 2002 09:17:49 +0300 (EEST) Date: Sat, 7 Sep 2002 09:17:49 +0300 From: Maxim Sobolev To: "Bruce A. Mah" Cc: Peter Wemm , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/net if_gre.c if_gre.h src/sys/netinet ip_gre.c Message-ID: <20020907061749.GA6176@vega.vega.com> References: <200209061816.g86IG3ni003518@freefall.freebsd.org> <20020906211015.A381C2A7D6@canning.wemm.org> <20020906220146.GA2737@vega.vega.com> <200209070322.g873Mt9k011865@intruder.bmah.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200209070322.g873Mt9k011865@intruder.bmah.org> User-Agent: Mutt/1.4i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Sep 06, 2002 at 08:22:55PM -0700, Bruce A. Mah wrote: > If memory serves me right, Maxim Sobolev wrote: > > On Fri, Sep 06, 2002 at 02:10:15PM -0700, Peter Wemm wrote: > > > > ===> usr.bin/kdump > > > cc -O -pipe -I/home/src/usr.bin/kdump/../ktrace -I/home/src/usr.bin/kdump/ > > ../.. -c /home/src/usr.bin/kdump/kdump.c > > > cc -O -pipe -I/home/src/usr.bin/kdump/../ktrace -I/home/src/usr.bin/kdump/ > > ../.. -c ioctl.c > > > In file included from ioctl.c:63: > > > /usr/obj/home/src/i386/usr/include/net/if_gre.h:89: field `gi_i' has incomp > > lete type > > > /usr/obj/home/src/i386/usr/include/net/if_gre.h:133: field `mi' has incompl > > ete type > > > > Hmm, I suspect that actually broken is mkioctls, which have absolutely > > no reason to generate #include . In any case, I've committed > > a fix which should workaround the problem. Please let me know if it > > didn't help. > > It didn't seem to help me. I've got rev. 1.3 of if_gre.h, but kdump > gives exactly the same error message as before. (I attempted a > buildworld starting with a clean /usr/obj.) > > Is it possible that the generated ioctl.c needs to do something like > #define INET in order for your workaround to take effect? Ok, I've just added #include into generated ioctl.c. Please let me know if the problem persists. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message