From owner-freebsd-stable Mon Oct 7 8: 1:45 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC60037B401 for ; Mon, 7 Oct 2002 08:01:43 -0700 (PDT) Received: from ice.wonderworks.com (ice.WonderWorks.com [192.203.206.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EFD643E4A for ; Mon, 7 Oct 2002 08:01:43 -0700 (PDT) (envelope-from kyle_jones@wonderworks.com) Received: by ice.wonderworks.com id g97F1W5r009194; Mon, 7 Oct 2002 08:01:32 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15777.41420.522543.168441@ice.wonderworks.com> Date: Mon, 7 Oct 2002 08:01:32 -0700 From: Kyle Jones To: "Sergey A. Osokin" Cc: Spider , freebsd-stable@freebsd.org Subject: Re: Problem build kernel In-Reply-To: <20021007112358.GA35777@freebsd.org.ru> References: <00a901c26dea$c04c0ea0$c271b6d4@stanowisko1> <20021007112358.GA35777@freebsd.org.ru> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid X-Face: /cA45WHG7jWq>(O3&Z57Y<"WsX5ddc,4c#w0F*zrV#=M 0@~@,s;b,aMtR5Sqs"+nU.z^CSFQ9t`z2>W,S,]:[+2^ Nbf6v4g>!&,7R4Ot4Wg{&tm=WX7P["9%a)_da48-^tGy ,qz]Z,Zz\{E.,]'EO+F)@$KtF&V Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sergey A. Osokin writes: > On Mon, Oct 07, 2002 at 12:17:33PM +0200, Spider wrote: > > Freebsd 4.6.2- RELEASE > > Make Buildworld > > Bulid kerner 4.7 Rc > > ===> accf_data > > "/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 > > > > Stop in /usr/src/sys/modules. > > *** Error code 1 > > Looks like you use old method, try a new way. > From http://www.freebsd.org/doc/handbook/kernelconfig-building.html > > Procedure 2. Building a kernel the ``new'' way > 1. Change to the /usr/src directory. > # cd /usr/src > 2. Compile the kernel. > # make buildkernel KERNCONF=MYKERNEL > 3. Install the new kernel. > # make installkernel KERNCONF=MYKERNEL That won't help. I had the same problem yesterday using "make buildkernel". I found the answer in the freebsd-stable list archive. The fix is (still) to do this as root: cd /usr cvs co -r RELENG_4 src/share/mk cd src/share/mk make install Then build the kernel using the correct procedure, which depends on whether you have full sources. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message