From owner-freebsd-bugs Wed Jan 24 2:30:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CFC4837B400 for ; Wed, 24 Jan 2001 02:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0OAU2U07881; Wed, 24 Jan 2001 02:30:02 -0800 (PST) (envelope-from gnats) Date: Wed, 24 Jan 2001 02:30:02 -0800 (PST) Message-Id: <200101241030.f0OAU2U07881@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: i386/24598: with IPFilter options in the kernel, it errors on compile Reply-To: Peter Pentchev Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR i386/24598; it has been noted by GNATS. From: Peter Pentchev 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. =) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message