From owner-freebsd-alpha Sun Feb 23 18:11:58 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 2100A37B401 for ; Sun, 23 Feb 2003 18:11:57 -0800 (PST) Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41EA743FE0 for ; Sun, 23 Feb 2003 18:11:56 -0800 (PST) (envelope-from msmith@code-fu.com) Received: (qmail 24188 invoked from network); 24 Feb 2003 02:12:09 -0000 Received: from unknown (HELO code-fu.com) (aunchaki@[66.92.151.60]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with RC4-MD5 encrypted SMTP for ; 24 Feb 2003 02:12:09 -0000 Message-ID: <3E597F64.7060902@code-fu.com> Date: Sun, 23 Feb 2003 21:11:48 -0500 From: "Michael A. Smith" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: alpha@freebsd.org Subject: Re: make: don't know how to make /usr/src/sys/sys/_types.h [more details] References: <3E58E6AC.2050401@code-fu.com> <20030223195454.GA654@athlon.pn.xcllnt.net> In-Reply-To: <20030223195454.GA654@athlon.pn.xcllnt.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 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] Thanks! Bernd Walter wrote: > You should update to the latest -stable and then update to 5.0. > Updating directly with an older version might not work. I had the same problem trying to upgrade to RELEASE_4, which is why I tried to downgrade back to 4.6 (the last known good version on this box). > Did you run buildworld first? Otherwise you don't have updated tools > in /usr/obj to run buildkernel. Yup. I ran "make -j4 buildword" before "make buildkernel KERNCONF=ZEUS". In thinking this over, I *may* have remembered a clue to what's going on. I was wrong in the original post about getting this error when trying to upgrade to 5.0. World and kernel built and installed without error, but the machine wouldn't boot. I went back to kernel.old, modules.old and etc.old (I backup etc before running mergemaster). I then renamed kernel.old, modules.old and etc.old (to kernel, modules, and etc). I've rebooted several times without incident and everything seems to be running fine (except updating the system). 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. I'm thinking there MUST be tons of out-of-sync stuff in the system from when I ran "make installword" in the earlier 5.0 update. I went back to the old kernel, modules and etc, but everything else is out-of-sync. This might be causing this problem. This isn't a production machine, I can wipe and re-install, but I'd rathe rnot have to do it. -- Michael A. Smith Programmer at Large To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message