From owner-freebsd-bugs Mon May 10 22:20: 4 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1885F1501F for ; Mon, 10 May 1999 22:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA22273; Mon, 10 May 1999 22:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 10 May 1999 22:20:02 -0700 (PDT) Message-Id: <199905110520.WAA22273@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bruce Evans Subject: Re: bin/11637: build of kdump in stable Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11637; it has been noted by GNATS. From: Bruce Evans To: FreeBSD-gnats-submit@FreeBSD.ORG, thompson@tgsoft.com Cc: Subject: Re: bin/11637: build of kdump in stable Date: Tue, 11 May 1999 15:10:28 +1000 >===% usr.bin/kdump >cc -nostdinc -O -pipe -pipe -pipe -I/w/CVS/release/src/usr.bin/kdump/../ktrace -I/w/CVS/release/src/usr.bin/kdump/../.. -I/usr/obj/w/CVS/release/src/tmp/usr/include -c /w/CVS/release/src/usr.bin/kdump/kdump.c >/bin/sh /w/CVS/release/src/usr.bin/kdump/mkioctls % ioctl.c >cc -nostdinc -O -pipe -pipe -pipe -I/w/CVS/release/src/usr.bin/kdump/../ktrace -I/w/CVS/release/src/usr.bin/kdump/../.. -I/usr/obj/w/CVS/release/src/tmp/usr/include -c ioctl.c >In file included from ioctl.c:62: >/usr/obj/w/CVS/release/src/tmp/usr/include/netinet/altq_afmap.h:39: field `af_flowinfo' has incomplete type >*** Error code 1 >>Fix: > >Appears that you need to include if_altq.h before altq_afmap.h. Seems like >you would have to fix this in mkioctls No. From mkioctls history: ---------------------------- revision 1.6 date: 1998/10/16 15:33:17; author: bde; state: Exp; lines: +50 -12 Generate code to interpret ioctl numbers for all ioctls defined in headers under /usr/include, not just for the ones in . The generated file includes all headers that seem to define ioctls, so build errors will probably occur if headers become less self- sufficient than they are already. This is a feature. Build errors shall not be fixed by adding more includes here. ... ---------------------------- Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message