Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2003 19:33:35 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        "Michael A. Smith" <msmith@code-fu.com>
Cc:        alpha@FreeBSD.ORG
Subject:   Re: make: don't know how to make /usr/src/sys/sys/_types.h [more details]
Message-ID:  <20030224033335.GA17371@athlon.pn.xcllnt.net>
In-Reply-To: <3E597F64.7060902@code-fu.com>
References:  <3E58E6AC.2050401@code-fu.com> <20030223195454.GA654@athlon.pn.xcllnt.net> <3E597F64.7060902@code-fu.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, Feb 23, 2003 at 09:11:48PM -0500, Michael A. Smith wrote:
> Marcel Moolenaar wrote:
> >Probably a stale dependency. Try cleaning your object directory (or 
> >at least all the .depend files).
> 
> I've never done this before. How do I do it? [read below for more
> remembered details]

Well, ``cd /usr/obj; rm -rf *'' normally does the trick :-)
See also below.

> THEN, I tried upgrading to RELEASE_4 (then 4.7) and THAT'S when I first
> saw the "make: don't know how to make /usr/src/sys/sys/_types.h" message
> when building the kernel.

A ``make buildkernel'' uses bits prepared by a previous
``make buildworld''. If you change the source tree, without
doing a ``make buildworld'' first, ``make buildkernel''
can fail because the object tree contains bits that do not
match the source tree anymore. A ``make buildworld'' will
do the trick.

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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