Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 2002 15:56:50 +0100
From:      Burhan Nazir <burhan@blueyonder.co.uk>
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>
In-Reply-To: <20020724144737.GA7101@swansea.cableinet.net>
References:  <20020724144737.GA7101@swansea.cableinet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <burhan@blueyonder.co.uk>
> To: freebsd-stable@freebsd.org
> Subject: Today's buildworld failed: Could not find bsd.init.mk
> User-Agent: Mutt/1.5.1i
> List-ID: <freebsd-stable.FreeBSD.ORG>
> List-Archive: <http://docs.freebsd.org/mail/>; (Web Archive)
> List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
> List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-stable>
> List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-stable>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020724145650.GB7101>