Build Android Ginger Bread source Code on Ubuntu 11.10

484 views
Skip to first unread message

sunil bhatia

unread,
Nov 17, 2011, 7:33:13 AM11/17/11
to Android Building
Hi All,

I am trying to Build using Ubuntu 11.10 of Ginger bread Source code, I
am facing following error while building.

Any help on this would be highly appreciated.

Thanks and Regards
Sunil Bhatia
----------------------------------------------------------------------------------------------------------------
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by
default]
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by
default]
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by
default]
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by
default]

<built-in>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by
default]

<built-in>:0:0: note: this is the location of the previous definition

<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by
default]

<built-in>:0:0: note: this is the location of the previous definition
<built-in>:0:0: note: this is the location of the previous definition
<built-in>:0:0: note: this is the location of the previous definition

<built-in>:0:0: note: this is the location of the previous definition

<built-in>:0:0: note: this is the location of the previous definition
true
host C++: read_addr <= sdk/emulator/qtools/read_addr.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by
default]
<built-in>:0:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors

make: *** [out/host/linux-x86/obj/EXECUTABLES/obbtool_intermediates/
Main.o] Error 1
make: *** Waiting for unfinished jobs....


Jean-Baptiste Queru

unread,
Nov 17, 2011, 11:57:09 AM11/17/11
to android-...@googlegroups.com
For anything other than the master branch, you'll need to use Ubuntu
10.04 if you want to be able to build the source code "as is".

JBQ

> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Yuriy Kulikov

unread,
Dec 8, 2011, 6:14:50 AM12/8/11
to Android Building
Hi!
Dunno if you still need that, but check this guide:
http://www.tuxtopia.nl/2011/10/20/guide-building-android-2-3-7-on-ubuntu-11-10-64-bit/

BR,
Yuriy

Reply all
Reply to author
Forward
0 new messages