Bug 25347

Summary: ipfilter does not build
Product: Base System Reporter: Hendrik Scholz <hscholz>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   

Description Hendrik Scholz 2001-02-24 23:40:01 UTC
        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

Fix: 

Simply create the /usr/src/contrib/ipfilter/netinet
        directory
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.
Comment 1 k 2001-02-25 07:50:36 UTC
>         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
Comment 2 Johan Karlsson freebsd_committer freebsd_triage 2001-02-25 10:55:21 UTC
State Changed
From-To: open->closed

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}.