Subject: Re: build.sh: crosscompiling trouble
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-toolchain
Date: 02/26/2002 23:00:53
On Wed, 27 Feb 2002, Hubert Feyrer wrote:
: On Tue, 26 Feb 2002, Todd Vierling wrote:
: > : dependall ===> compat
: > : nbmake: don't know how to make /usr/include/mips/cdefs.h. Stop
: >
: > : What's the right way to rebuild my Indy's system from my (much faster) PC?
: >
: > Since you're trying to rebuild a tree without host-specific objdirs
: > (OBJHOSTMACHINE) on a different architecture, all of your hostprogs are now
: > invalid, causing invalid .depend entries as just one symptom.
: >
: > "make cleandir" first.
:
: I did both, but still get the same error.
Well, *something* related to src/tools/compat is obviously thinking that
/usr/include/mips/cdefs.h should exist on an i386 -- which is, of course,
bogus.
Look carefully in src/tools/compat and any related objdirs and make *sure*
there's no stray .depend file or generated .h files. In particular, you
might have a .depend file lurking in the source directory
(src/tools/compat), which was created *before* you made objdirs for use on
the native or cross-from-i386 build(s).
--
-- Todd Vierling <tv@wasabisystems.com> * Wasabi & NetBSD: Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/