From nobody@FreeBSD.org  Wed Aug  7 04:14:43 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 191A937B400
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Aug 2002 04:14:43 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D3D1443E72
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Aug 2002 04:14:42 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g77BEbOT043226
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 7 Aug 2002 04:14:37 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g77BEb8Y043225;
	Wed, 7 Aug 2002 04:14:37 -0700 (PDT)
Message-Id: <200208071114.g77BEb8Y043225@www.freebsd.org>
Date: Wed, 7 Aug 2002 04:14:37 -0700 (PDT)
From: Rickhard <ice@asna.nu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: error when running make depend on kernel
X-Send-Pr-Version: www-1.0

>Number:         41403
>Category:       i386
>Synopsis:       error when running make depend on kernel
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 07 04:21:30 PDT 2002
>Closed-Date:    Fri Aug 23 12:58:15 PDT 2002
>Last-Modified:  Fri Aug 23 12:58:15 PDT 2002
>Originator:     Rickhard
>Release:        4.6
>Organization:
Asna
>Environment:
FreeBSD gambino 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:12 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC  i386
>Description:
I first cvsuped it and made a make buildworld.
After I have done config on the kernel
and goes to the dir to do make depend I get this error after a while: 
cd ../../modules ; env MAKEOBJDIRPREFIX=/usr/src/sys/compile/gambino/modules MACHINE=i386 make obj ;  env MAKEOBJDIRPREFIX=/usr/src/sys/compile/gambino/modules MACHINE=i386 make depend

===> 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 

>How-To-Repeat:
Try to compile the kernel
>Fix:
      
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: johan 
State-Changed-When: Fri Aug 23 12:51:56 PDT 2002 
State-Changed-Why:  
Doing a 'config, make depend, make' build of a kernel 
only works if you have done an make installworld first. 
That is the only way make depend can find new files 
such as bsd.init.mk. 

The supported way of building a kernel before 
installworld but after buildworld is to use 
#make buildkernel 
in /usr/src. 

Please see src/UPDATING for more information. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=41403 
>Unformatted:
