unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* emacs build failure on today's debian
@ 2011-06-15  8:52 Miles Bader
  2011-06-15  9:16 ` Julien Danjou
  0 siblings, 1 reply; 11+ messages in thread
From: Miles Bader @ 2011-06-15  8:52 UTC (permalink / raw)
  To: emacs-devel

   $ make
   ...
   make[1]: Entering directory `/usr/local/build/emacs/master/src'
   make[1]: *** No rule to make target `/usr/lib/crt1.o', needed by `temacs'.  Stop.
   make[1]: Leaving directory `/usr/local/build/emacs/master/src'
   make: *** [src] Error 2
   make: Leaving directory `/usr/local/build/emacs/master'

   $ locate crt1 | grep /usr/lib
   /usr/lib/x86_64-linux-gnu/Mcrt1.o
   /usr/lib/x86_64-linux-gnu/Scrt1.o
   /usr/lib/x86_64-linux-gnu/crt1.o
   /usr/lib/x86_64-linux-gnu/gcrt1.o

It seems pretty dodgy that Emacs is directly looking for these files at
all, but oh well, I guess it's some messiness related to dumping.  If it
needs to use them, though, isn't there a less brittle way to find out
where they are?

For instance, this seems to work with gcc (starting with gcc 4.3):

   $ gcc -print-file-name=crt1.o
   /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.6.1/../../../crt1.o

Thanks,

-Miles

-- 
Somebody has to do something, and it's just incredibly pathetic that it
has to be us.  -- Jerry Garcia



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-06-16  7:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-15  8:52 emacs build failure on today's debian Miles Bader
2011-06-15  9:16 ` Julien Danjou
2011-06-15  9:38   ` Miles Bader
2011-06-15  9:50     ` Andreas Schwab
2011-06-15 16:09     ` Glenn Morris
2011-06-16  4:14       ` Miles Bader
2011-06-16  6:57         ` Glenn Morris
2011-06-16  7:18           ` Miles Bader
2011-06-16  7:33             ` Glenn Morris
2011-06-15  9:56   ` Bruce Stephens
2011-06-15 10:06     ` Julien Danjou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).