Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2001 16:33:23 -0700
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Alastair Hogge <agh@tpg.com.au>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: buildkernel - more
Message-ID:  <20011001163322.E304@blossom.cjclark.org>
In-Reply-To: <200109300955.TAA29001@buffy.tpgi.com.au>; from agh@tpg.com.au on Sun, Sep 30, 2001 at 07:55:16PM %2B0000
References:  <200109300955.TAA29001@buffy.tpgi.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 30, 2001 at 07:55:16PM +0000, Alastair Hogge wrote:
> [Sorry for starting this in a new thread, but I lost all my emails]
> 
> Hello,
> 
> In the last episode I had a helpful tip from someone (sorry can't remember
> there name :-( ). The tip was to make, make install the kernel from the
> kernel directory instead of make buildkernel from /usr/src (the usaul way
> right?). Well this tip did help me, I was able to build.install the kernel (
> thank you very much someon). This tip was fo systems that hadn't run
> make buildworld (?). I had already done the buildworld thing I just still
> got errors. Why?
> 
> Just to go over what I used to do (using 4.4-STABLE):
> <do>
> cd /usr/src/sys/i386/conf/
> cp GENERIC FREEBIE
> ee FREEBIE # change ident from GENERIC to FREEBIE
> config FREEBIE
> cd ../../compile/FREEBIE
> make depend
> cd /usr/src
> make buildkernel KERNCONF=FREEBIE
> </do>
> I would then get the errors with ipfilter.
> So after the helpfull tip from <someone> I would
> <newdo>
> # make depend
> make
> make install
> </newdo>
> Now that woked.
> I would just like to know why I'm having trouble with my original
> way?

You have stale files in your object tree. You should always nuke the
object tree between source updates,

  # rm -rf /usr/obj

-- 
Crist J. Clark                           cjclark@alum.mit.edu

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




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