Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Feb 2002 07:26:29 -0600
From:      Bob <BobGiesen@earthlink.net>
To:        Thomas Schuerger <schuerge@wjpserver.CS.Uni-SB.DE>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Building GENERIC kernel fails
Message-ID:  <3C5BE905.8FEFDB2F@earthlink.net>
References:  <200202021251.g12CpLA28287@wjpserver.cs.uni-sb.de>

next in thread | previous in thread | raw e-mail | index | archive | help
   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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C5BE905.8FEFDB2F>