From owner-freebsd-questions Thu Jan 9 20:57: 8 2003 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 890C937B401 for ; Thu, 9 Jan 2003 20:57:07 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 5B96943F43 for ; Thu, 9 Jan 2003 20:57:01 -0800 (PST) (envelope-from mwm-dated-1042606619.547d08@mired.org) Received: (qmail 41509 invoked from network); 10 Jan 2003 04:57:00 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 10 Jan 2003 04:57:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15902.21147.251670.170336@guru.mired.org> Date: Thu, 9 Jan 2003 22:56:59 -0600 To: Giorgos Keramidas Cc: Darren , freebsd-questions@FreeBSD.org Subject: Re: kernel won't compile In-Reply-To: <20030109202829.GB2021@gothmog.gr> References: <05fc01c2b804$b2b9dba0$6601a8c0@crotchett.com> <20030109202829.GB2021@gothmog.gr> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.68 (Shut Out) 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 In <20030109202829.GB2021@gothmog.gr>, Giorgos Keramidas typed: > On 2003-01-09 11:29, Darren wrote: > > I have successfully compiled a new kernel once already on a new > > install of FreeBSD 4.7-RELEASE. Since then, I have run cvsup and > > portupgrade. Now, I need to recompile the kernel again. But, I'm > > running into errors. I have been following the handbook. But, > > apparently, I'm missing something. The way I understand the manual, > > you use the first method of "config CUSTOM_KERNEL" and if you have > > updated the kernel sources, you have to use the second method of > > "make buildkernel KERNCONF=MYKERNEL". > Don't use the "config .. make depend" method. More accurately, you only use the "config ... make depend" method when the running system and kernel match the sources you are trying to build. After changing the config file, for instance. If you only build the kernel when you're updating the system, you should never use the "config ... make depend" method. http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message