From owner-freebsd-current  Mon Nov 20  0:28: 2 2000
Delivered-To: freebsd-current@freebsd.org
Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38])
	by hub.freebsd.org (Postfix) with ESMTP id 348E937B479
	for <current@FreeBSD.org>; Mon, 20 Nov 2000 00:27:57 -0800 (PST)
Received: from dragon.nuxi.com (root@trang.nuxi.com [209.152.133.57])
	by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id AAA17346;
	Mon, 20 Nov 2000 00:27:56 -0800 (PST)
	(envelope-from obrien@NUXI.com)
Received: (from obrien@localhost)
	by dragon.nuxi.com (8.11.1/8.11.1) id eAK8Rsg70070;
	Mon, 20 Nov 2000 00:27:54 -0800 (PST)
	(envelope-from obrien)
Date: Mon, 20 Nov 2000 00:27:53 -0800
From: "David O'Brien" <obrien@FreeBSD.org>
To: Mark R Grant <mark@mmcable.com>
Cc: current@FreeBSD.org
Subject: Re: Error in libstdc++ buildworld
Message-ID: <20001120002753.A70004@dragon.nuxi.com>
Reply-To: current@FreeBSD.org
References: <3A17F7D1.732AB18D@mmcable.com> <20001119082746.A39585@dragon.nuxi.com> <3A180358.652F4AF9@mmcable.com> <20001119084953.A43120@dragon.nuxi.com> <3A181FB7.FBB1A4AC@mmcable.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3A181FB7.FBB1A4AC@mmcable.com>; from mark@mmcable.com on Sun, Nov 19, 2000 at 12:45:11PM -0600
X-Operating-System: FreeBSD 5.0-CURRENT
Organization: The NUXI BSD group
X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3  90 76 5D 69 58 D9 98 7A
X-Pgp-Rsa-Keyid: 1024/34F9F9D5
Sender: owner-freebsd-current@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

On Sun, Nov 19, 2000 at 12:45:11PM -0600, Mark R Grant wrote:
> 1.  I cleaned up the source directories using "cd /usr ; make cleandir"
> 2.  I cleaned up the object directories using "cd /usr/obj ; chflags -R
> noschg * ; rm -rf *"

These two steps should be reversed.  The `make cleandir' in #1 will clean
out the /usr/obj/<...dir> shadow tree if it exists, else the dir w/in
/usr/src/  ``make cleandir && make cleandir'' is the way to ensure that
/usr/src is truely clean (or do your step #2 above first).

> 4.  I decided that since I am too much of a novice at this, I should use the
> buildworld and installworld seperately.  I ran "cd /usr/src ; make -j2
> buildworld"

With -jX (X > 1), you cannot trust any error output.  You would be better
off not using -j until you know you can build the world.  From the output
you provide I'm not sure why the /usr/obj/usr/src/i386/mk directory
doesn't exist.  But please try your step #2, followed by our step #1 and
see if this goes away.

-- 
-- David  (obrien@FreeBSD.org)
          GNU is Not Unix / Linux Is Not UniX


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message