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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 > > How did you build your system? At one time you maybe cd'ed into > usr.bin/lex and just typed 'make' without 'make obj'? > > The fix is to: > > rm -rf /usr/obj/* > cd /usr/src > make cleandir > make buildworld > cvs -q up > > and you shouldn't see this again. > 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, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBnxX5qRfpzJluFF4RAhQ9AJ0Te92LCPA2jV5eY+yOrWC/ci+i9ACfRVWA kiCiy4E9NiRVGomhRULESUc= =gEeE -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041120100129.GA26009>
