From owner-freebsd-alpha Sun Feb 23 19:33:46 2003 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D117E37B401 for ; Sun, 23 Feb 2003 19:33:44 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A7BD43FBF for ; Sun, 23 Feb 2003 19:33:43 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h1O3Xa1o039264; Sun, 23 Feb 2003 19:33:36 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.7/8.12.7) with ESMTP id h1O3XZ3U018622; Sun, 23 Feb 2003 19:33:35 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.7/8.12.7/Submit) id h1O3XZMS018621; Sun, 23 Feb 2003 19:33:35 -0800 (PST) (envelope-from marcel) Date: Sun, 23 Feb 2003 19:33:35 -0800 From: Marcel Moolenaar To: "Michael A. Smith" 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> References: <3E58E6AC.2050401@code-fu.com> <20030223195454.GA654@athlon.pn.xcllnt.net> <3E597F64.7060902@code-fu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E597F64.7060902@code-fu.com> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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