From nobody@FreeBSD.org  Wed Jan 24 02:09:17 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 B57AA37B698
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 24 Jan 2001 02:09:11 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f0OA9B405176;
	Wed, 24 Jan 2001 02:09:11 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200101241009.f0OA9B405176@freefall.freebsd.org>
Date: Wed, 24 Jan 2001 02:09:11 -0800 (PST)
From: drama@slakin.net
To: freebsd-gnats-submit@FreeBSD.org
Subject: with IPFilter options in the kernel, it errors on compile
X-Send-Pr-Version: www-1.0

>Number:         24598
>Category:       i386
>Synopsis:       with IPFilter options in the kernel, it errors on compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    darrenr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 24 02:10:01 PST 2001
>Closed-Date:    Wed Feb 21 13:38:30 PST 2001
>Last-Modified:  Wed Feb 21 13:39:38 PST 2001
>Originator:     matt snow
>Release:        FreeBSD 4.2 / ftp iso
>Organization:
slakin.net
>Environment:
drama@seven:~/ $ uname -a
FreeBSD seven.slakin.net 4.2-RELEASE FreeBSD 4.2-RELEASE #4: Mon Jan 22 13:05:27 GMT 2001     root@seven.slakin.net:/usr/src/sys/compile/MBSD  i386
drama@seven:~/ $ 
>Description:
i am a newbie to this so it could have just been the way i installed it.
i was configuring my kernel to support the following:

options         IPFILTER
options         IPFILTER_LOG

and after adding those 2 lines and installing the newest version of IPFilter-3.4.16 over the old version that came with 4.2,
the kernel would spit this error out:

===> ipfilter
cc -O -pipe -DIPFILTER_LKM -DIPFILTER_LOG  -D_KERNEL -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. -I@
-I@/../include  -mpreferred-stack-boundary=2 -c
/usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c
In file included from
/usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c:43:
@/netinet/ip_compat.h:267: osreldate.h: No such file or directory
*** Error code 1

Stop in /usr/src/sys/modules/ipfilter.
*** Error code 1

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

Stop in /usr/src/sys/compile/MIBSD.
root@seven:/usr/src/sys/compile/MIBSD/ #

>How-To-Repeat:
read full description.
>Fix:
cp /usr/include/osreldate.h /usr/src/include

like i said, im still a newbie to freebsd, i came from 3+ years of slackware linux to freebsd 4.2. but i love freebsd now. =)

>Release-Note:
>Audit-Trail:

From: Peter Pentchev <roam@orbitel.bg>
To: drama@slakin.net
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: i386/24598: with IPFilter options in the kernel, it errors on compile
Date: Wed, 24 Jan 2001 12:19:36 +0200

 Did you try to build your kernel with 'make buildkernel', or by issuing
 the 'config' command, changing to the kernel build dir, and doing
 'make depend all' there?
 
 If you did it through 'make buildkernel', did you do a 'make buildworld'
 before that?
 
 Note to FreeBSD developers: is this yet another case of buildkernel
 needing a buildworld? :(
 
 G'luck,
 Peter
 
 -- 
 No language can express every thought unambiguously, least of all this one.
 
 On Wed, Jan 24, 2001 at 02:09:11AM -0800, drama@slakin.net wrote:
 > 
 > >Number:         24598
 > >Category:       i386
 > >Synopsis:       with IPFilter options in the kernel, it errors on compile
 > >Originator:     matt snow
 > >Release:        FreeBSD 4.2 / ftp iso
 > >Organization:
 > slakin.net
 > >Environment:
 > drama@seven:~/ $ uname -a
 > FreeBSD seven.slakin.net 4.2-RELEASE FreeBSD 4.2-RELEASE #4: Mon Jan 22 13:05:27 GMT 2001     root@seven.slakin.net:/usr/src/sys/compile/MBSD  i386
 > drama@seven:~/ $ 
 > >Description:
 > i am a newbie to this so it could have just been the way i installed it.
 > i was configuring my kernel to support the following:
 > 
 > options         IPFILTER
 > options         IPFILTER_LOG
 > 
 > and after adding those 2 lines and installing the newest version of IPFilter-3.4.16 over the old version that came with 4.2,
 > the kernel would spit this error out:
 > 
 > ===> ipfilter
 > cc -O -pipe -DIPFILTER_LKM -DIPFILTER_LOG  -D_KERNEL -Wall
 > -Wredundant-decls -Wnested-externs -Wstrict-prototypes
 > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
 > -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. -I@
 > -I@/../include  -mpreferred-stack-boundary=2 -c
 > /usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c
 > In file included from
 > /usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c:43:
 > @/netinet/ip_compat.h:267: osreldate.h: No such file or directory
 > *** Error code 1
 > 
 > Stop in /usr/src/sys/modules/ipfilter.
 > *** Error code 1
 > 
 > Stop in /usr/src/sys/modules.
 > *** Error code 1
 > 
 > Stop in /usr/src/sys/compile/MIBSD.
 > root@seven:/usr/src/sys/compile/MIBSD/ #
 > 
 > >How-To-Repeat:
 > read full description.
 > >Fix:
 > cp /usr/include/osreldate.h /usr/src/include
 > 
 > like i said, im still a newbie to freebsd, i came from 3+ years of slackware linux to freebsd 4.2. but i love freebsd now. =)
 

From: matt <drama@slakin.net>
To: Peter Pentchev <roam@orbitel.bg>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: i386/24598: with IPFilter options in the kernel, it errors on
 compile
Date: Wed, 24 Jan 2001 02:50:22 +0000 (/etc/localtime)

 sorry..
 what i did was edited /usr/src/sys/i386/conf/MIBSD
 ran /usr/sbin/config MIBSD
 change to ../../compile/MIBSD
 ran make depend;make;make install
 
 -------
 Matt Snow
 drama@slakin.net
 www.slakin.net
 
 On Wed, 24 Jan 2001, Peter Pentchev wrote:
 
 > Did you try to build your kernel with 'make buildkernel', or by issuing
 > the 'config' command, changing to the kernel build dir, and doing
 > 'make depend all' there?
 > 
 > If you did it through 'make buildkernel', did you do a 'make buildworld'
 > before that?
 > 
 > Note to FreeBSD developers: is this yet another case of buildkernel
 > needing a buildworld? :(
 > 
 > G'luck,
 > Peter
 > 
 > -- 
 > No language can express every thought unambiguously, least of all this one.
 > 
 > On Wed, Jan 24, 2001 at 02:09:11AM -0800, drama@slakin.net wrote:
 > > 
 > > >Number:         24598
 > > >Category:       i386
 > > >Synopsis:       with IPFilter options in the kernel, it errors on compile
 > > >Originator:     matt snow
 > > >Release:        FreeBSD 4.2 / ftp iso
 > > >Organization:
 > > slakin.net
 > > >Environment:
 > > drama@seven:~/ $ uname -a
 > > FreeBSD seven.slakin.net 4.2-RELEASE FreeBSD 4.2-RELEASE #4: Mon Jan 22 13:05:27 GMT 2001     root@seven.slakin.net:/usr/src/sys/compile/MBSD  i386
 > > drama@seven:~/ $ 
 > > >Description:
 > > i am a newbie to this so it could have just been the way i installed it.
 > > i was configuring my kernel to support the following:
 > > 
 > > options         IPFILTER
 > > options         IPFILTER_LOG
 > > 
 > > and after adding those 2 lines and installing the newest version of IPFilter-3.4.16 over the old version that came with 4.2,
 > > the kernel would spit this error out:
 > > 
 > > ===> ipfilter
 > > cc -O -pipe -DIPFILTER_LKM -DIPFILTER_LOG  -D_KERNEL -Wall
 > > -Wredundant-decls -Wnested-externs -Wstrict-prototypes
 > > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
 > > -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-  -I. -I@
 > > -I@/../include  -mpreferred-stack-boundary=2 -c
 > > /usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c
 > > In file included from
 > > /usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c:43:
 > > @/netinet/ip_compat.h:267: osreldate.h: No such file or directory
 > > *** Error code 1
 > > 
 > > Stop in /usr/src/sys/modules/ipfilter.
 > > *** Error code 1
 > > 
 > > Stop in /usr/src/sys/modules.
 > > *** Error code 1
 > > 
 > > Stop in /usr/src/sys/compile/MIBSD.
 > > root@seven:/usr/src/sys/compile/MIBSD/ #
 > > 
 > > >How-To-Repeat:
 > > read full description.
 > > >Fix:
 > > cp /usr/include/osreldate.h /usr/src/include
 > > 
 > > like i said, im still a newbie to freebsd, i came from 3+ years of slackware linux to freebsd 4.2. but i love freebsd now. =)
 > 
 
 
State-Changed-From-To: open->closed 
State-Changed-By: darrenr 
State-Changed-When: Wed Feb 21 13:38:30 PST 2001 
State-Changed-Why:  
this has been fixed with recent imports 


Responsible-Changed-From-To: freebsd-bugs->darrenr 
Responsible-Changed-By: darrenr 
Responsible-Changed-When: Wed Feb 21 13:38:30 PST 2001 
Responsible-Changed-Why:  
darrenr is responsible for ipfilter 

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