Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2002 18:21:39 +0100
From:      Mark Rowlands <fuc952d@tninet.se>
To:        Thomas Schuerger <schuerge@wjpserver.CS.Uni-SB.DE>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Building GENERIC kernel fails
Message-ID:  <20020202172128.6FFAC37B405@hub.freebsd.org>
In-Reply-To: <200202021208.g12C8Hb27915@wjpserver.cs.uni-sb.de>
References:  <200202021208.g12C8Hb27915@wjpserver.cs.uni-sb.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 02 February 2002 1:08 pm, Thomas Schuerger wrote:
> Hi!
>
> I tried to build a GENERIC (unmodified file from /sys/i386/conf) 4.5
> kernel. The compilation stops at "ipfilter" with:
>
> ------
>
> ...
> ===> gx
> ===> if_disc
> ===> if_ef
> ===> if_faith
> ===> if_gif
> ===> if_ppp
> ===> if_sl
> ===> if_stf
> ===> if_tap
> ===> if_tun
> ===> if_vlan
> ===> ip6fw
> ===> ipfilter
> cc -O2 -march=pentiumpro -pipe -DIPFILTER_LKM -DIPFILTER_LOG
> -I/new/usr.src/sys/modules/ipfilter/../../contrib/ipfilter  -D_KERNEL
> -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
> -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-
> -I/new/usr.src/sys/modules/ipfilter/../../contrib/ipfilter -I. -I@
> -I@/../include  -mpreferred-stack-boundary=2 -c
> /new/usr.src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/mlfk_ipl.c
> In file included from
> /new/usr.src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/mlfk_ipl.c
>:50:
> /new/usr.src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_compat.
>h:297: osreldate.h: No such file or directory
> *** Error code 1
>
> Stop in /new/usr.src/sys/modules/ipfilter.
> *** Error code 1
>
> Stop in /new/usr.src/sys/modules.
> *** Error code 1
>
> Stop in /new/usr.src/sys/compile/GENERIC.
> Exit 1
>
> ------
>
> And look at that, I cannot find a file called "osreldate.h" anywhere
> in /usr/src. Where should that file be located normally?

Wrong question......  right question is why did my compile go wrong

1) try checking the archives
2) make buildworld  first 
 
-- 
Why take life seriously? You're not coming out of it alive anyway!

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020202172128.6FFAC37B405>