help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem building emacs from bzr


From: Tim X
Subject: Re: Problem building emacs from bzr
Date: Wed, 30 Mar 2011 08:29:34 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Nordlöw <per.nordlow@gmail.com> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]