Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Sep 2002 09:17:49 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.ORG>
To:        "Bruce A. Mah" <bmah@FreeBSD.ORG>
Cc:        Peter Wemm <peter@wemm.org>, 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>
In-Reply-To: <200209070322.g873Mt9k011865@intruder.bmah.org>
References:  <200209061816.g86IG3ni003518@freefall.freebsd.org> <20020906211015.A381C2A7D6@canning.wemm.org> <20020906220146.GA2737@vega.vega.com> <200209070322.g873Mt9k011865@intruder.bmah.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <net/if_gre.h>. 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 <netinet/ip.h> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020907061749.GA6176>