From owner-freebsd-stable Wed Jul 24 7:58:57 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 4E14637B400 for ; Wed, 24 Jul 2002 07:58:53 -0700 (PDT) Received: from swansea.cableinet.net (swansea.cableinet.net [194.117.135.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB63D43E31 for ; Wed, 24 Jul 2002 07:58:52 -0700 (PDT) (envelope-from bnazir@swansea.cableinet.net) Received: by swansea.cableinet.net (Postfix, from userid 1001) id 1F482119F7; Wed, 24 Jul 2002 15:56:50 +0100 (BST) Date: Wed, 24 Jul 2002 15:56:50 +0100 From: Burhan Nazir To: freebsd-stable@freebsd.org Subject: Re: Today's buildworld failed: Could not find bsd.init.mk -SOLVED Message-ID: <20020724145650.GB7101@swansea.cableinet.net> References: <20020724144737.GA7101@swansea.cableinet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020724144737.GA7101@swansea.cableinet.net> User-Agent: Mutt/1.5.1i 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 Oops, as rightly pointed out by some of you...i forgot to make installworld! Sorry! -Burhan Burhan Nazir wrote: > Delivered-To: postmaster@swansea.cableinet.net > Delivered-To: freebsd-stable@freebsd.org > Date: Wed, 24 Jul 2002 15:47:37 +0100 > From: Burhan Nazir > To: freebsd-stable@freebsd.org > Subject: Today's buildworld failed: Could not find bsd.init.mk > User-Agent: Mutt/1.5.1i > List-ID: > List-Archive: (Web Archive) > List-Help: (List Instructions) > List-Subscribe: > List-Unsubscribe: > X-Loop: FreeBSD.ORG > Precedence: bulk > > I'm having a problem compliling a custom kernel after doing a make world. > The configuration of the kernel was the same as what I had been using for > over a year. > > I followed the instructions: > > cvsup .... > make buildworld > make buildkernel (this worked) > make installkernel > reboot (to single user) > mergemaster > reboot > > When i then go back and try and build my old custom kernel it fails with: > > ================================================ > > cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. > -I../../../include -I../../contrib/ipfilter -D_KERNEL -include opt_global.h > -elf -mpreferred-stack-boundary=2 vers.c > linking kernel > text data bss dec hex filename > 2962065 290816 253620 3506501 358145 kernel > cd ../../modules ; env MAKEOBJDIRPREFIX=/usr/src/sys/compile/TEST/modules > MACHINE=i386 make obj ; env > MAKEOBJDIRPREFIX=/usr/src/sys/compile/TEST/modules MACHINE=i386 make all > ===> 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 > > ================================================= > > I then tried building the GENERIC kernel again and this time it failed with > the same error message. > > I find this strange as it built with no problems during the buildkernel > upgrade. > > I noticed that my /usr/share/mk directory did not have the two file > bsd.init.mk and bsd.links.mk, so I copied them from /usr/src/share/mk but > then I get a different error. > > Any help most appreciated. > > uname -a > FreeBSD swansea.cableinet.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Wed Jul 24 > 14:22:25 BST 2002 > bnazir@swansea.cableinet.net:/usr/obj/usr/src/sys/GENERIC i386 > > -Burhan > > -- > FreeBSD 4.6-STABLE | http://www.freebsd.org > 3:38PM up 35 mins, 5 users, load averages: 0.00, 0.00, 0.05 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- FreeBSD 4.6-STABLE | http://www.freebsd.org 3:56PM up 52 mins, 5 users, load averages: 0.00, 0.00, 0.00 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message