Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 2002 11:41:11 -0700 (PDT)
From:      Doug Silver <dsilver@urchin.com>
To:        Brent Kearney <brent@kearneys.ca>
Cc:        questions@FreeBSD.ORG
Subject:   Re: kernel build fails
Message-ID:  <Pine.LNX.4.21.0208071137560.9563-100000@danzig.sd.quantified.net>
In-Reply-To: <20020807113450.A33453@kearneys.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 7 Aug 2002, Brent Kearney wrote:

> 
> Hello,
> 
> I installed FreeBSD 4.5 from CD, created a custom kernel config, 
> ran 'config MYNEWKERNEL', 'cd ../../compile/MYNEWKERNEL ; make 
> depend ; make', and the build fails.  I updated the sources 
> using cvsup, then tried again, (after a 'make clean'), and got 
> the same results.  
> It does this consistently, and using the 'make buildkernel 
> KERNEL=MYNEWKERNEL' method gives the same results (last part 
> of the output is below).  Something must be missing...  Any 
> constructive suggestions are most welcome.  
> 
> Thanks,
> 
> Brent
> 
> 
[snip]

I've seen it recommended that due to changes in certain configuration
files (bsd.*.mk I think), it's best to do your compiling from /usr/src
like so:

make buildkernel KERNCONF=MYNEWKERNEL

Then, if that builds properly, you just need to execute this:

make installkernel KERNCONF=MYNEWKERNEL

This has worked very consistently for me across numerous systems.
 -- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Doug Silver
Network Manager
Urchin Software Corp.	http://www.urchin.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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?Pine.LNX.4.21.0208071137560.9563-100000>