* Problem building emacs from bzr
@ 2011-03-29 9:02 Nordlöw
2011-03-29 17:34 ` Glenn Morris
2011-03-29 21:29 ` Tim X
0 siblings, 2 replies; 3+ messages in thread
From: Nordlöw @ 2011-03-29 9:02 UTC (permalink / raw
To: help-gnu-emacs
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'
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem building emacs from bzr
2011-03-29 9:02 Problem building emacs from bzr Nordlöw
@ 2011-03-29 17:34 ` Glenn Morris
2011-03-29 21:29 ` Tim X
1 sibling, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2011-03-29 17:34 UTC (permalink / raw
To: help-gnu-emacs
Nordlöw wrote:
> 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 .
[...]
> Is there another way to instruct the build system to find these files
> in i386-linux-gnu.
./configure --help | grep -A1 crt
--with-crt-dir=DIR directory containing crtn.o etc. The default is
/usr/lib, or /usr/lib64 on some platforms.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problem building emacs from bzr
2011-03-29 9:02 Problem building emacs from bzr Nordlöw
2011-03-29 17:34 ` Glenn Morris
@ 2011-03-29 21:29 ` Tim X
1 sibling, 0 replies; 3+ messages in thread
From: Tim X @ 2011-03-29 21:29 UTC (permalink / raw
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-29 21:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-29 9:02 Problem building emacs from bzr Nordlöw
2011-03-29 17:34 ` Glenn Morris
2011-03-29 21:29 ` Tim X
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.