Subject: Re: i386 -> macppc cross build prob
To: Patrick Welche <>
From: Todd Vierling <>
List: current-users
Date: 12/14/2001 12:28:11
On Fri, 14 Dec 2001, Patrick Welche wrote:

: install ===> compat
: dependall ===> binstall
: CC=cc /usr/src/tools/obj.macppc/tools.NetBSD-1.5Z-i386/bin/nbmkdep -a -Wall   -I
: /usr/src/tools/binstall/../../usr.bin/xinstall/../../bin/ls -include /usr/src/to
: ols/compat/obj.macppc/config.h /usr/src/tools/binstall/../../usr.bin/xinstall/..
: /../bin/ls/stat_flags.c /usr/src/tools/binstall/../../usr.bin/xinstall/xinstall.
: c
: cpp0: /usr/src/tools/compat/obj.macppc/config.h: No such file or directory
: cpp0: /usr/src/tools/compat/obj.macppc/config.h: No such file or directory
: /usr/src/tools/obj.macppc/tools.NetBSD-1.5Z-i386/bin/nbmkdep: compile failed.

Hm.  Can you verify that all of src/tools is up to date?  In particular, you
should have:


(all rev. 1.1)

Also, you should NOT have a src/tools/compat/config.h; this is a generated
file that should end up in the objdir of src/tools/compat.  (If you have a
src/tools/compat/config.h, you somehow built in that tree without objdirs at
some point after the autoconf stuff went in.  Maybe you did a "make all"
for some other architecture but forgot to "make obj" first?)

: (Never built it before, so also had UPDATE=1)

UPDATE is meant for use when rebuilding a built tree, not when starting from
scratch.  With that said, UPDATE shouldn't have affected anything....

-- Todd Vierling <>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support --