| Summary: | with IPFilter options in the kernel, it errors on compile | ||
|---|---|---|---|
| Product: | Base System | Reporter: | drama <drama> |
| Component: | i386 | Assignee: | Darern Reed <darrenr> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
drama
2001-01-24 02:50:22 UTC
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/ # 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. =) How-To-Repeat: read full description. 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 this has been fixed with recent imports Responsible Changed From-To: freebsd-bugs->darrenr darrenr is responsible for ipfilter |