From owner-freebsd-current Mon Oct 21 0:16:11 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B9EE37B404 for ; Mon, 21 Oct 2002 00:16:09 -0700 (PDT) Received: from ns.altadena.net (ns.altadena.net [206.126.144.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB12443E88 for ; Mon, 21 Oct 2002 00:16:08 -0700 (PDT) (envelope-from pete@ns.altadena.net) Received: from ns.altadena.net (localhost [127.0.0.1]) by ns.altadena.net (8.12.6/8.12.3) with ESMTP id g9L7G3Cj033041 for ; Mon, 21 Oct 2002 00:16:03 -0700 (PDT) (envelope-from pete@ns.altadena.net) Received: (from pete@localhost) by ns.altadena.net (8.12.6/8.12.3/Submit) id g9L7G35D033040 for current@freebsd.org; Mon, 21 Oct 2002 00:16:03 -0700 (PDT) (envelope-from pete) From: Pete Carah Message-Id: <200210210716.g9L7G35D033040@ns.altadena.net> Subject: Cross-build world and kernel broken by g_bde stuff To: current@freebsd.org Date: Mon, 21 Oct 2002 00:16:03 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=iso8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The gbde stuff, both in sys and sbin, are set up in both source and makefiles so that they can't be cross-built under -stable. (and the first build under current may be a problem too, since geom/bde/g_bde.h won't be installed either...) Hint: /sys is NOT a valid way to find /usr/src/sys in a cross-build environment. (and machine/* doesn't exist there anyhow). Most other kernel functions use -I- and then a host of other include paths; because of the fact that machine/*.h doesn't exist as such in the source tree I don't know how to reference this. There is an installed copy of what should be in /usr/include in the i386 section of /usr/obj; is there a standardized way of directing the includes there? (the makefiles and make macros are very convoluted.) These don't exist under stable: machine/lock.h geom/geom.h geom/bde/g_bde.h and various others that do exist have wrong values. I did add the stdint.h (and friends) stuff to my stable just to get around this the last time. However, I don't want to change things that already exist in -stable... Generates LOTS of error messages; make -k doesn't help since it refuses to link the kernel anyhow... -- Pete To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message