Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 1996 01:33:39 -0400 (EDT)
From:      "Marc G. Fournier" <scrappy@ki.net>
To:        current@freebsd.org
Subject:   make re-makes for no apparent reason...
Message-ID:  <Pine.NEB.3.95.961017011750.11364A-100000@spirit.ki.net>

next in thread | raw e-mail | index | archive | help

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:

quagmire# ls -lt libc*
-rw-r--r--  1 root  wheel  621162 Oct  3 21:02 libc_pic.a
-rwxr-xr-x  1 root  wheel  433958 Oct  3 21:02 libc.so.3.0
-rw-r--r--  1 root  wheel  624072 Oct  3 20:35 libc_p.a
-rw-r--r--  1 root  wheel  539202 Oct  3 20:03 libc.a

	Some of the files its trying to rebuild again are:

quagmire# ls -l gen/getpass.c
-rw-r--r--  1 root  wheel  4010 Jul 12 16:49 gen/getpass.c

	Which, other then the one it did recompile, was already
compiled:

quagmire# ls -lt getpass*
-rwxr-xr-x  1 root  wheel  1513 Oct 17 01:23 getpass.o
-rw-r--r--  1 root  wheel  1644 Oct  3 21:03 getpass.3.gz
-rwxr-xr-x  1 root  wheel  1919 Oct  3 20:43 getpass.so
-rwxr-xr-x  1 root  wheel  1911 Oct  3 20:19 getpass.po

	So, gen/getpass.c (as one example), hasn't changed since
Jul 12th, and was initially compiled on Oct 3rd...why does it
feel that it has to compile it again?

Marc G. Fournier                                  scrappy@ki.net
Systems Administrator @ ki.net               scrappy@freebsd.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.961017011750.11364A-100000>