From owner-freebsd-questions@FreeBSD.ORG Wed Jan 19 08:07:52 2005 Return-Path: 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 632D816A4CE for ; Wed, 19 Jan 2005 08:07:52 +0000 (GMT) Received: from chello084114137224.1.15.vie.surfer.at (chello084114137224.1.15.vie.surfer.at [84.114.137.224]) by mx1.FreeBSD.org (Postfix) with SMTP id E0F8D43D5A for ; Wed, 19 Jan 2005 08:07:50 +0000 (GMT) (envelope-from 4711@chello.at) Received: (qmail 18299 invoked from network); 19 Jan 2005 08:07:49 -0000 Received: from matrix010.matrix.net (192.168.123.10) by ns.matrix.net with SMTP; 19 Jan 2005 08:07:49 -0000 From: Christian Hiris <4711@chello.at> To: freebsd-questions@freebsd.org Date: Wed, 19 Jan 2005 09:07:49 +0100 User-Agent: KMail/1.7 References: <20050119041411.GA708@pearlyfreepress.com> In-Reply-To: <20050119041411.GA708@pearlyfreepress.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200501190907.49299.4711@chello.at> cc: "Scott C. MacCallum" Subject: Re: Custom Kernel 'make depend' Failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2005 08:07:52 -0000 On Wednesday 19 January 2005 05:14, Scott C. MacCallum wrote: > Greetings, > > I am running FreeBSD 5.3 Stable. > > I had been following the steps found in the handbook to make a custom > kernel: > > /usr/sbin/config MYKERNEL > cd ../compile/MYKERNEL > make depend You run the old, traditional way to build a kernel. Did you rebuild world after you have cvsuped your sources? I would recommend that you do some cleanup and then build world and kernel the new way. Clean up /usr/obj (if exists): # cd /usr/obj # chflags -R noschg * # rm -rf * Clean up sources: # cd /usr/src # make cleandir ; make cleandir Read /usr/src/UPDATING. Build world and kernel: # make buildworld # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL Reboot into single user mode and install world. # adjkerntz -i # fsck -p # mount -u / # mount -a -t ufs # swapon -a # mergemaster -p # cd /usr/src # make installworld # mergemaster # reboot For the details please read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html Good luck! -- Christian Hiris <4711@chello.at> | OpenPGP KeyID 0x3BCA53BE OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu