Date: Tue, 15 Dec 1998 01:15:17 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: Alexander Leidinger <netchild@wurzelausix.CS.Uni-SB.DE> Cc: current@FreeBSD.ORG Subject: Re: 'make clean' in /usr/src does not cleanup .o's or shared libs ? Message-ID: <199812150915.BAA52668@apollo.backplane.com> References: <199812150906.KAA01672@wurzelausix>
next in thread | previous in thread | raw e-mail | index | archive | help
:On 14 Dec, Matthew Dillon wrote:
:
:> It seemed to do the right thing for me, once I finally got the
:> object modules and other junk cleaned out of /usr/src from all
:> my partial makes (i.e. when you do something like
:> 'cd /usr/src/usr.bin/ls; make; make install' and for to 'make clean').
:
:freebsd.cf (/usr/src/etc/...) gets created in /usr/obj/... after you
:cleaned out /usr/src from partial makes?
:Sounds very strange.
As far as I can tell.
:find /usr/src -name \*.o -print
:shows only <mykernel>/*.o
:
:find /usr/src -name .depend -print
:shows <mykernel>/.depend
The object files, .depend files, binaries, synthesized source files,
and other junk residing in /usr/src are typically left-overs from
manual builds of various subprograms. i.e. if I need to
recompile/reinstall, say, inetd I usually do:
cd /usr/src/usr.sbin/inetd
make
make install
make clean <----- the piece I often forget to do
(objects, binaries, etc... are created in /usr/src, not /usr/obj)
So after a while, junk builds up in /usr/src. When I get all the junk
removed, buildworld seems to only operate in /usr/obj and everythings goes
fine. If I don't remove all the junk, buildworld attempts to remove it
from /usr/src for me which, of course, fails miserably over a read-only
NFS mount.
:Last cvsup on this machine: Dec, 7
:
:Do I have to check it with a more recent current?
:
:Bye,
:Alexander.
Can't help you there. I would definitely sync up to the latest current.
I think buildworld works as of the current moment.
-Matt
:--
:http://netchild.home.pages.de A.Leidinger @ wurzelausix.cs.uni-sb.de
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications & God knows what else.
<dillon@backplane.com> (Please include original email in any response)
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812150915.BAA52668>
