Date: Sat, 20 Nov 2004 12:01:29 +0200 From: Ruslan Ermilov <ru@FreeBSD.org> To: freebsd-current@FreeBSD.org Cc: "Conrad J. Sabatier" <conrads@cox.net> Subject: Re: usr.bin/lex/lib object files not being placed under MAKEOBJDIRPREFIX Message-ID: <20041120100129.GA26009@ip.net.ua> In-Reply-To: <20041120012134.GF20068@dragon.nuxi.com> References: <20041118101356.53ed3f78@dolphin.local.net> <20041120012134.GF20068@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 19, 2004 at 05:21:34PM -0800, David O'Brien wrote: > On Thu, Nov 18, 2004 at 10:13:56AM -0600, Conrad J. Sabatier wrote: > > Noticed this during a cvs update today: > > dolphin:root:/usr/src/usr.bin# cvs -R update > > ? lex/lib/.depend > > ? lex/lib/libln.a > > ? lex/lib/libmain.o > > ? lex/lib/libyywrap.o >=20 > How did you build your system? At one time you maybe cd'ed into > usr.bin/lex and just typed 'make' without 'make obj'? >=20 > The fix is to: >=20 > rm -rf /usr/obj/* > cd /usr/src > make cleandir > make buildworld > cvs -q up >=20 > and you shouldn't see this again. >=20 Also may worth it finding any stray "obj" directories in the src/ tree. rm -rf /usr/obj/usr/src cd /usr/src find . -name obj -type d | xargs rm -rf make cleandir make cleandir "make cleandir" is run twice because if there's an "obj" symlink, the first cleandir will only remove the symlink but won't clean any object files, if there are any. A faster alternative to the above is: rm -rf /usr/obj/usr/src cd /usr/src find . -name obj | xargs rm -rfv make cleandir Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBnxX5qRfpzJluFF4RAhQ9AJ0Te92LCPA2jV5eY+yOrWC/ci+i9ACfRVWA kiCiy4E9NiRVGomhRULESUc= =gEeE -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041120100129.GA26009>