From owner-freebsd-hackers Mon Oct 18 10:11:34 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 9630814C33; Mon, 18 Oct 1999 10:11:27 -0700 (PDT) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p01-dn03kiryunisiki.gunma.ocn.ne.jp [210.232.224.130]) by peach.ocn.ne.jp (8.9.1a/OCN) with ESMTP id CAA27202; Tue, 19 Oct 1999 02:11:24 +0900 (JST) Message-ID: <380B50CB.AA3808E1@newsguy.com> Date: Tue, 19 Oct 1999 01:54:35 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: hackers@freebsd.org, marcel@freebsd.org, Mike Smith , peter@freebsd.org, bde@freebsd.org Subject: kernel/loader & world Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well, once I discarded my preconceptions and re-read the error message, the problem is obvious: In file included from /usr/src/sys/boot/i386/libi386/../../../sys/signal.h:236, from /usr/src/sys/boot/i386/libi386/../../../sys/param.h:90, from /usr/src/sys/boot/i386/libi386/aout_freebsd.c:29: /usr/src/sys/boot/i386/libi386/../../../sys/ucontext.h:34: machine/ucontext.h: No such file or directory We include the files directly from the source tree, but some of them then go and include files from , which, of course, refers to /usr/include/machine/*. Thus, some of the files are up-to-date, and some are not. Unless you build world first. [but you can't build world until you booted a new kernel, and you can't boot a new kernel until you have a new loader, but you can't build a new loader...] On the gripping hand, this is boot/i386, but we cannot use a -I to get the right machine/* includes because the path to them is sys/.../include/*. There is some perverse and subtle irony to it. :-) If we are changing the upgrade procedure to "kernel then world", the problem here is far greater than simply machine/ucontext.h. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org "I always feel generous when I'm in the inner circle of a conspiracy to subvert the world order and, with a small group of allies, just defeated an alien invasion. Maybe I should value myself a little more?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message