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_at_FreeBSD.org FreeBSD committer
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:22 UTC