Subject: Re: unable to make build
To: Perry E. Metzger <perry@piermont.com>
From: Richard Earnshaw <rearnsha@arm.com>
List: current-users
Date: 05/08/2000 12:07:40
> 
> Joseph Sarkes <joe@js1.jsnet> writes:
> > Something is still not quite right with the KERNOBJ changes
> > yet. If I manually copy the file, will I be able to make
> > build again?
> > 
> > Build started at: Wed May  3 20:33:06 EDT 2000
> > (cd /usr/src/etc && make DESTDIR=/ distrib-dirs)
> > "Makefile", line 261: Could not find bsd.kernobj.mk
> > Fatal errors encountered -- cannot continue
> > *** Error code 1
> 
> did you "cd /usr/src; make build" FIRST?
> 
> There is no guarantee that you'll have all the needed include or make
> files in place if you don't "make build" each time.
> 
> .pm


Last time I looked, "make build" does not do a "make obj" first.  So you 
have to run "make obj" manually or new subdirs will get their objects put 
in the wrong place.  Of course, before you can do "make obj" you need to 
make sure that /usr/share/mk is up-to-date.

R.