Re: [android-building] crtbegin.o: file not recognized occured when compile android android-2.1_r2.1p2

96 views
Skip to first unread message

Magnus Bäck

unread,
Nov 12, 2012, 10:55:33 AM11/12/12
to android-...@googlegroups.com
On Sunday, November 11, 2012 at 23:44 EST,
lanyuflying <lanyu...@gmail.com> wrote:

> platform: ubuntu 12.04
> android source tag:android-2.1_r2.1p2

That's a really old release of Android, and your Ubuntu's too new.
You should not expect this to work out of the box.

> complete info:
> host Executable: acp
> (out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
> /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/crtbegin.o: file not
> recognized: File format not recognized

It looks like the gcc in your path is the mingw32 cross-compiler gcc
that you've apparently installed on your machine.

> when I use objdump,the crtbegin.o can be recognized.

So, the objdump you're running is probably also from the cross-compiler
suite.

[...]

--
Magnus Bäck
ba...@google.com
Reply all
Reply to author
Forward
0 new messages