From owner-freebsd-questions Wed Aug 7 11:41:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99CCF37B400 for ; Wed, 7 Aug 2002 11:41:30 -0700 (PDT) Received: from mail.urchin.com (ns2.quantified.com [63.212.171.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id D93F543E42 for ; Wed, 7 Aug 2002 11:41:29 -0700 (PDT) (envelope-from dsilver@urchin.com) Received: from danzig.sd.quantified.net (web.quantified.com [63.212.171.5]) by mail.urchin.com (8.12.1/8.12.1) with ESMTP id g77Ih0Vo028863; Wed, 7 Aug 2002 11:42:38 -0701 (PDT) (envelope-from dsilver@urchin.com) Date: Wed, 7 Aug 2002 11:41:11 -0700 (PDT) From: Doug Silver X-Sender: dsilver@danzig.sd.quantified.net To: Brent Kearney Cc: questions@FreeBSD.ORG Subject: Re: kernel build fails In-Reply-To: <20020807113450.A33453@kearneys.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Filter-Version: 1.7 (mail.urchin.com) 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 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