GNU bug report logs - #953
pre-crt0.o error for build in separate directory

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Wed, 10 Sep 2008 04:35:02 UTC

Severity: minor

Found in version 23.0.60

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 953 in the body.
You can then email your comments to 953 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#953; Package emacs. Full text and rfc822 format available.

Message #3 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: pre-crt0.o error for build in separate directory
Date: Wed, 10 Sep 2008 00:27:09 -0400
Package: emacs
Severity: minor
Version: 23.0.60

I don't normally build in a separate directory, but I was trying it as
an experiment.

I had CVS checkout in:

/somedir/trunk

This contained the result of a normal build, ie had not been cleaned.

I then did:

cd /somedir/build
../trunk/configure

which warned me:

   WARNING: The directory tree `/somedir/trunk' is being used as a build
   directory right now; it has been configured in its own right. To
   configure in another directory as well, you MUST use GNU make. If
   you do not have GNU make, then you must now do `make distclean' in
   /somedir/trunk, and then run ../trunk/configure again."

Since I use GNU make (3.81 on RHEL 5.2), I carried on without running
distclean.

The build failed because /somedir/build/src/pre-crt0.o was not generated.
Running `make prec-crt0.o' in that directory, I was told
that "`/somedir/trunk/src/pre-crt0.o' is up to date."

I had to delete the pre-crt0.o in trunk/src in order to get a version
to compile in build/src.

Thus, the initial message output by configure is incorrect.

I'm not sure where the bug is here: in configure's message, or GNU
make, or Emacs.

(The same thing was happening for character.o and chartab.o until I
fixed their broken dependencies on $(config_h).)





Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Fri, 20 May 2011 18:39:02 GMT) Full text and rfc822 format available.

Notification sent to Glenn Morris <rgm <at> gnu.org>:
bug acknowledged by developer. (Fri, 20 May 2011 18:39:02 GMT) Full text and rfc822 format available.

Message #8 received at 953-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 953-done <at> debbugs.gnu.org
Subject: Re: pre-crt0.o error for build in separate directory
Date: Fri, 20 May 2011 14:37:57 -0400
I notice that the current version of configure gives a different
message:

  source directory already configured; run \"make distclean\" there first

So I guess this was an autoconf issue and not an Emacs one.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 18 Jun 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 59 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.