Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 1999 22:20:02 -0700 (PDT)
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/11637: build of kdump in stable
Message-ID:  <199905110520.WAA22273@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/11637; it has been noted by GNATS.

From: Bruce Evans <bde@zeta.org.au>
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 <sys/ioctl.h>.
 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




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