From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Problem building emacs from bzr Date: Wed, 30 Mar 2011 08:29:34 +1100 Organization: Unlimited download news at news.astraweb.com Message-ID: <8739m5aa4h.fsf@puma.rapttech.com.au> References: <909d6b12-4546-4467-8d4a-7a7f69815a04@glegroupsg2000goo.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1301434885 8674 80.91.229.12 (29 Mar 2011 21:41:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2011 21:41:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 29 23:41:21 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4gfB-00064L-7W for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Mar 2011 23:41:21 +0200 Original-Received: from localhost ([127.0.0.1]:41397 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4gfA-0003dX-H4 for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Mar 2011 17:41:20 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!news-xfer.nntp.sonic.net!news.astraweb.com!border6.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:1STBpElm7QEf15VOHbg4F5aJxvA= Original-Lines: 44 Original-NNTP-Posting-Host: 10908897.news.astraweb.com Original-X-Trace: DXC=855WmCFYEoCo; ii5o?B_6AL?0kYOcDh@J7^o:UA4R?cE=H4TLma<=PK]G; 2>V^?kWCCAkl5c@XgkNmF6^I1[hCYCLJTKb7NjoaO Original-Xref: usenet.stanford.edu gnu.emacs.help:186390 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80515 Archived-At: Nordlöw writes: > Hi! > > I get a build error concerning the files crt1.o, crti.o and crtn.o in /usr/lib when trying to build emacs dev (bzr) on Ubuntu 11.04. The follow lines fixes things but this is ugly: > > pushd /usr/lib > sudo ln -s i386-linux-gnu/crt1.o . > sudo ln -s i386-linux-gnu/crti.o . > sudo ln -s i386-linux-gnu/crtn.o . > popd > > Is there another way to instruct the build system to find these files in i386-linux-gnu. Is this a bug in structure of the gcc-installation on Ubuntu 11.04? Maybe I should ask gnu.gcc.help aswell... > > Any feedback appreciated... > > Thanks in advance, > Nordlöw > > > Error follows: > > make[1]: Leaving directory `/home/per/ware/emacs/lib-src' > boot=bootstrap-emacs; \ > if [ ! -x "src/$boot" ]; then \ > cd src; make all - --jobserver-fds=3,4 -j \ > CC='ccache gcc-4.5' CFLAGS='-march=native -fshow-column -fdirectives-only -O6 -fomit-frame-pointer -funroll-loops -ftree-vectorize -ftree-vectorizer-verbose=1 -floop-interchange -floop-block -flto' CPPFLAGS='' \ > LDFLAGS='-Wl,-znocombreloc ' MAKE='make' BOOTSTRAPEMACS="$boot"; \ > fi; > make[1]: Entering directory `/home/per/ware/emacs/src' > make[1]: *** No rule to make target `/usr/lib/crt1.o', needed by `temacs'. Stop. > make[1]: Leaving directory `/home/per/ware/emacs/src' Note that the bzr build process has recently changed. You now need to run ./autogen.sh to generate a new configure script rather than running autoconf directly. I built emacs from bzr sources earlier this week with no problems on two ubuntu 10.10 boxes. Tim -- tcross (at) rapttech dot com dot au