How to Configure Ubuntu 13.04 Raring Ringtail for Properly Compiling Android ROMs

This blog has moved! Find this post at my new site, http://nathanpfry.com/posts

About these ads

9 thoughts on “How to Configure Ubuntu 13.04 Raring Ringtail for Properly Compiling Android ROMs

  1. I followed the instructions but my build fails with compile errors. I have tried AOKP, aosp even cyanogenMOD but they all fail.
    I am using ubuntu 13.04 64 bit and oracle java 6 u45.
    The output:
    bionic/libc/private/bionic_atomic_arm.h:145:77: error: expression list treated as compound expression in initializer [-fpermissive]
    bionic/libc/private/bionic_atomic_arm.h:146:1: error: expected ‘,’ or ‘;’ before ‘{‘ token
    bionic/libstdc++/src/one_time_construction.cpp:111:1: error: expected ‘}’ at end of input
    make: *** [/home/robert/out/aokp/target/product/grouper/obj/SHARED_LIBRARIES/libstdc++_intermediates/src/one_time_construction.o] Error 1
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.

    • Recently it looks like some updates have been happening on Google’s side of the code, and github has been down for maintenance. The past couple of days I have ran into repeated errors trying during the “repo sync” step.

      Give it a couple of days and check the Status pages for github and Google’s mirror. Then try a fresh sync and compile. Good luck!

  2. Pingback: Building Android Open Source Project for the PandaBoard | Dev @ Work

  3. I found with Lubuntu 13.04 it works best to separate the following initial apt-get command:

    [1] run first

    sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev

    [2]
    then go ahead and copy/paste the original apt command listed in this article in full.

    Otherwise I would receive apt dep. conflicts.

    Great guide!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s