From owner-freebsd-questions Thu Oct 17 12:32:17 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 40D8137B40D for ; Thu, 17 Oct 2002 12:32:16 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47A5643E75 for ; Thu, 17 Oct 2002 12:32:15 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id g9HJW4Kg093381; Thu, 17 Oct 2002 20:32:04 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id g9HJVnUU093376; Thu, 17 Oct 2002 20:31:49 +0100 (BST) Date: Thu, 17 Oct 2002 20:31:49 +0100 From: Matthew Seaman To: James Schmidt Cc: questions@FreeBSD.ORG Subject: Re: Problems compiling kernel after cvsup from 4.6.2-Release-p2 to 4.7-Release Message-ID: <20021017193149.GB92333@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , James Schmidt , questions@FreeBSD.ORG References: <20021017140815.T54009-100000@speedy.insekure.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021017140815.T54009-100000@speedy.insekure.com> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-13.4 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.41 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 Thu, Oct 17, 2002 at 02:13:19PM -0500, James Schmidt wrote: > Here is what happened when I tried to config and compile the new 4.7 > kernel: > "/usr/src/sys/modules/accf_data/../../conf/kmod.mk", line 63: Could not > find bsd.init.mk > "/usr/src/sys/modules/accf_data/../../conf/kmod.mk", line 190: Could not > find bsd.links.mk > make: fatal errors encountered -- cannot continue > *** Error code 1 That's the 'old' way of compiling a kernel. Nowadays you should do it the 'new' way, like this: cd /usr/src make buildkernel KERNCONF=UNIPROC make installkernel KERNCONF=UNIPROC (Putting 'KERNCONF=UNIPROC' into /etc/make.conf is a pretty handy trick...) The old way is only guarranteed to work nowadays if you've already done a {build,install}world and a {build,install}kernel with the same sources. Preferably in the order and according to the instructions given in /usr/src/UPDATING. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message