From owner-freebsd-questions Sat Feb 2 5:26:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 5897937B404 for ; Sat, 2 Feb 2002 05:26:32 -0800 (PST) Received: from dialup-63.215.119.66.dial1.chicago1.level3.net ([63.215.119.66] helo=earthlink.net) by snipe.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16X0BY-0003oN-00; Sat, 02 Feb 2002 05:26:29 -0800 Message-ID: <3C5BE905.8FEFDB2F@earthlink.net> Date: Sat, 02 Feb 2002 07:26:29 -0600 From: Bob X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 4.4-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Thomas Schuerger Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Building GENERIC kernel fails References: <200202021251.g12CpLA28287@wjpserver.cs.uni-sb.de> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hhmmm... Well, either you are, indeed, missing the file (from where the Makefile is expecting to find it) or else there's something wrong w/ the Makefile. Sorry, I can't help you there... If you want to poke around until someone w/ more knowledge about this responds, look for "INCLUDES" lines in /sys/compile/GENERIC/Makefile. That will tell you the default directories under which the compiler will look for #included files. Happy hunting, Bob Thomas Schuerger wrote: > > It is in /usr/include for sure, but building the kernel doesn't look > there for the file. > > Shouldn't the file be somewhere in /usr/src so it can be installed > to /usr/include when installing world? > > Greetings, > Thomas. > > > It should be in /usr/include/. > > > > 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? > > > > > > Greetings, > > > Thomas. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > Gruß, > Thomas Schürger. http://www.menden.org http://www.gif-galerie.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message