From hscholz@mail.toppoint.de  Sat Feb 24 15:31:28 2001
Return-Path: <hscholz@mail.toppoint.de>
Received: from mail.toppoint.de (bender.toppoint.de [195.244.243.2])
	by hub.freebsd.org (Postfix) with ESMTP id 0858337B503
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 24 Feb 2001 15:31:27 -0800 (PST)
	(envelope-from hscholz@mail.toppoint.de)
Received: (from uucp@localhost)
	by mail.toppoint.de (8.9.3/8.9.3) id AAA27773
	for FreeBSD-gnats-submit@freebsd.org; Sun, 25 Feb 2001 00:31:23 +0100 (MET)
Message-Id: <200102242322.f1ONMJd01816@perikles.lan.raisdorf.net>
Date: Sun, 25 Feb 2001 00:22:19 +0100 (CET)
From: Hendrik Scholz <hscholz@perikles.toppoint.de>
Reply-To: hscholz@perikles.toppoint.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: ipfilter does not build
X-Send-Pr-Version: 3.2

>Number:         25347
>Category:       bin
>Synopsis:       ipfilter does not build
>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:   Sat Feb 24 15:40:01 PST 2001
>Closed-Date:    Sun Feb 25 02:55:21 PST 2001
>Last-Modified:  Sun Feb 25 02:59:48 PST 2001
>Originator:     Hendrik Scholz
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
private
>Environment:

	I'm running 4.2-STABLE with a brand new kernel and a "world"
	that is about 4 weeks old.


>Description:

        I had ipfilter 3.4.8 running and compiled a new kernel 
        without make world.
        Now ipfilter does not recognize the "count in" pakets
        and I tried to do make freebsd4 in /usr/src/contrib/ipfilter.
        It stops, because there is no directory netinet. 
        Creating that directory fixes the problem


>How-To-Repeat:

        Use cvsup to get the latest source and compile a kernel.
        Do not compile the new src/contrib/ipfilter files.
	My ipfilter itself was very old (3.4.8). The one in the
        kernel seems to be newer.


>Fix:

        Simply create the /usr/src/contrib/ipfilter/netinet
        directory

>Release-Note:
>Audit-Trail:

From: Johan Karlsson <k@numeri.campus.luth.se>
To: hscholz@perikles.toppoint.de
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/25347: ipfilter does not build 
Date: Sun, 25 Feb 2001 08:50:36 +0100

 >         I had ipfilter 3.4.8 running and compiled a new kernel 
 >         without make world.
 
 This is not supported, do not do that.
 
 >         Now ipfilter does not recognize the "count in" pakets
 >         and I tried to do make freebsd4 in /usr/src/contrib/ipfilter.
 
 You should not build in contrib, go to sbin/ip* and build the 
 programs there.
 
 However, use buildworld/installworld in /usr/src and always keep your 
 kernel and userland in sync.
 
 /Johan K
 
State-Changed-From-To: open->closed 
State-Changed-By: johan 
State-Changed-When: Sun Feb 25 02:55:21 PST 2001 
State-Changed-Why:  
World and kernel should always be in sync, users 
are on their own otherwise. 

src/contrib only hold the src for contributed software. 
The build dir is always some place else and in this 
case in src/sbin/ip{f,fstat,nat,mon}. 

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