From thompson@tgsoft.com Mon May 10 21:46:36 1999
Return-Path: <thompson@tgsoft.com>
Received: from squirrel.tgsoft.com (cx20270-a.pwy1.sdca.home.com [24.0.169.3])
	by hub.freebsd.org (Postfix) with SMTP id 3AB99158DA
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 10 May 1999 21:46:34 -0700 (PDT)
	(envelope-from thompson@tgsoft.com)
Received: (qmail 4125 invoked by uid 128); 11 May 1999 04:45:36 -0000
Message-Id: <19990511044536.4124.qmail@squirrel.tgsoft.com>
Date: 11 May 1999 04:45:36 -0000
From: thompson@tgsoft.com
Reply-To: thompson@tgsoft.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: build of kdump in stable
X-Send-Pr-Version: 3.2

>Number:         11637
>Category:       bin
>Synopsis:       build of kdump fails
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 10 21:50:00 PDT 1999
>Closed-Date:    Sat Jun 3 20:41:43 PDT 2000
>Last-Modified:  Sat Jun 03 20:48:13 PDT 2000
>Originator:     mark thompson
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
tgsoft
>Environment:

CVSupped today (May 10, 1999)

>Description:

===% 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



>How-To-Repeat:

make buildworld

>Fix:
	
Appears that you need to include if_altq.h before altq_afmap.h. Seems like
you would have to fix this in mkioctls


>Release-Note:
>Audit-Trail:

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
 

From: mark thompson <thompson@squirrel.tgsoft.com>
To: bde@zeta.org.au
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/11637: build of kdump in stable
Date: 11 May 1999 05:29:54 -0000

     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.
 Charming.
 
 So someone needs to fix netinet/altq_afmap.h.
 
 -mark
 
 -- 
 
 -mark <thompson@tgsoft.com>
 
 
State-Changed-From-To: open->closed 
State-Changed-By: nrahlstr 
State-Changed-When: Sat Jun 3 20:41:43 PDT 2000 
State-Changed-Why:  
kdump is no longer causing buildworlds to fall over. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=11637 
>Unformatted:
