From owner-freebsd-current Thu Oct 17 18:44:23 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA15914 for current-outgoing; Thu, 17 Oct 1996 18:44:23 -0700 (PDT) Received: from clam.niwa.cri.nz (clam.niwa.cri.nz [131.203.56.8]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA15909 for ; Thu, 17 Oct 1996 18:44:19 -0700 (PDT) Received: from frc.niwa.cri.nz (frc.niwa.cri.nz [131.203.59.1]) by clam.niwa.cri.nz (8.8.0/8.8.0) with ESMTP id OAA02667; Fri, 18 Oct 1996 14:46:23 +1300 (NZDT) Received: from alf.niwa.cri.nz (alf.niwa.cri.nz [131.203.58.14]) by frc.niwa.cri.nz (8.8.0/8.8.0) with SMTP id BAA19638; Fri, 18 Oct 1996 01:47:17 GMT Date: Fri, 18 Oct 1996 14:45:08 +1300 (NZDT) From: Wayne Knowles X-Sender: wdk@alf.niwa.cri.nz To: "Marc G. Fournier" cc: current@freebsd.org Subject: Re: make re-makes for no apparent reason... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 17 Oct 1996, Marc G. Fournier wrote: > > Hi... > > I know that generally you are supposed to do: > > make cleandir;make depend;make > > when rebuilding the source tree, and generally I do, but > tonight I wanted to make sure that I had completed my compile > of /usr/src/lib (ie. my recent crashes hadn't happened part way > through). > > So, I just did a 'cd /usr/src/lib;make', but its recompiling > everything from scratch again, as if the existing .o files don't already > exist, but, as an ls shows, the libraries have already been built: Something like this happens to me when I use tcsh and have a symbolic link as /usr/src. If your shell sets PWD (like tcsh) then you may have to 'unsetenv PWD' to stop make following the wrong path into /usr/obj I haven't spent much time with this problem, I just worked out what I had to do to work around the problem. If anybody has a more permanent suggestion to avoiding the problem, I would be very grateful. Wayne -- _____ Wayne Knowles Title : Systems Programmer / o \/ NIWA Fisheries Research Usenet: w.knowles@niwa.cri.nz \/ v /\ PO. Box 14-901, Kilbirnie `---' Wellington, NEW ZEALAND