From owner-freebsd-current Tue Dec 15 01:15:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA05618 for freebsd-current-outgoing; Tue, 15 Dec 1998 01:15:38 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA05612 for ; Tue, 15 Dec 1998 01:15:37 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.1/8.9.1) id BAA52668; Tue, 15 Dec 1998 01:15:17 -0800 (PST) (envelope-from dillon) Date: Tue, 15 Dec 1998 01:15:17 -0800 (PST) From: Matthew Dillon Message-Id: <199812150915.BAA52668@apollo.backplane.com> To: Alexander Leidinger Cc: current@FreeBSD.ORG Subject: Re: 'make clean' in /usr/src does not cleanup .o's or shared libs ? References: <199812150906.KAA01672@wurzelausix> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :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 /*.o : :find /usr/src -name .depend -print :shows /.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. (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