From nobody@FreeBSD.org  Fri Jun  8 15:47:45 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id B1D1037B40E
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  8 Jun 2001 15:47:44 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.3/8.11.3) id f58Mlin64032;
	Fri, 8 Jun 2001 15:47:44 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200106082247.f58Mlin64032@freefall.freebsd.org>
Date: Fri, 8 Jun 2001 15:47:44 -0700 (PDT)
From: tubbs@home.se
To: freebsd-gnats-submit@FreeBSD.org
Subject: make buildworld fails when updating from 4.2-release to 4.3-stable. stops at ipmon.
X-Send-Pr-Version: www-1.0

>Number:         27975
>Category:       i386
>Synopsis:       make buildworld fails when updating from 4.2-release to 4.3-stable. stops at ipmon.
>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:   Fri Jun 08 15:50:00 PDT 2001
>Closed-Date:    Mon Jun 11 02:01:08 PDT 2001
>Last-Modified:  Mon Jun 11 02:01:37 PDT 2001
>Originator:     Markus
>Release:        4.2
>Organization:
>Environment:
FreeBSD tubbs.2y.net 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000     jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC  i386
>Description:
installed 4.2-release, cvsuped source to 4.3-stable and started make buildworld. make buildworld stops with following error:
===> sbin/ipmon
cc -O -pipe  -DIPL_NAME=\"/dev/ipl\" -I- -I/usr/src/sbin/ipmon/../../sys -I/usr/src/sbin/ipmon/../../contrib/ipfilter   -I/usr/obj/usr/src/i386/usr/include -c /usr/src/sbin/ipmon/../../contrib/ipfilter/ipmon.c
/usr/src/sbin/ipmon/../../contrib/ipfilter/ipmon.c:95: `TH_ECN' undeclared here (not in a function)
/usr/src/sbin/ipmon/../../contrib/ipfilter/ipmon.c:95: initializer element is not constant
/usr/src/sbin/ipmon/../../contrib/ipfilter/ipmon.c:95: (near initialization for `tcpfl[6].value')
/usr/src/sbin/ipmon/../../contrib/ipfilter/ipmon.c: In function `print_natlog':
/usr/src/sbin/ipmon/../../contrib/ipfilter/ipmon.c:408: `NL_FLUSH' undeclared (first use in this function)
/usr/src/sbin/ipmon/../../contrib/ipfilter/ipmon.c:408: (Each undeclared identifier is reported only once
/usr/src/sbin/ipmon/../../contrib/ipfilter/ipmon.c:408: for each function it appears in.)
*** Error code 1

Stop in /usr/src/sbin/ipmon.
*** Error code 1

Stop in /usr/src/sbin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
su-2.04# 

Ive tried to cvsup from 5 different servers with same results. Ive tried this on two different boxes.
>How-To-Repeat:
see above
>Fix:

>Release-Note:
>Audit-Trail:

From: Russell Jackson <rjackson@cs.csubak.edu>
To: freebsd-gnats-submit@FreeBSD.org, tubbs@home.se
Cc:  
Subject: Re: i386/27975: make buildworld fails when updating from 4.2-release to 4.3-stable. stops at ipmon.
Date: Sun, 10 Jun 2001 11:24:08 -0700

 Modify the following lines in ipmon.c
 
 /* Edited from "netinit/ip_compat.h" - Russell Jackson 6/10/2001 */
 #include "ip_compat.h"
 
 /* Edited from "netinit/ip_nat.h" Russell Jackson 6/10/2001 */
 #include "ip_nat.h"
 
 Fixes the undefined symbol errors
 
 Please reply if find any problems
 

From: Russell Jackson <rjackson@cs.csubak.edu>
To: freebsd-gnats-submit@FreeBSD.org, tubbs@home.se
Cc:  
Subject: Re: i386/27975: make buildworld fails when updating from 4.2-release to 4.3-stable. stops at ipmon.
Date: Sun, 10 Jun 2001 18:13:19 -0700

 Previous fix submitted is incomplete. I tried recompiling the source 
 tree to find the source still broken.
 
 Almost all source files in /usr/src/contrib/ipfilter have incorrect 
 #include directives for various headers that are local to the program 
 itself, but call them as if they are system headers with the prefix 
 netinet/ (but in quotation marks rather than angle brackets). These need 
 to be found in all .c files under /usr/src/contrib/ipfilter and have the 
 'netinet/' removed. I believe this should fix the build.
 
 I have not yet had a chance to test building the world again. I will 
 post update of progress at first chance.
 
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Mon Jun 11 02:01:08 PDT 2001 
State-Changed-Why:  
Superseded by PR 28002. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=27975 
>Unformatted:
