This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Android filesystem compiling error for Beagleboard-xM

Hi, during Android filesystem compiling for Beagleboard-xM (I used "make TARGET_PRODUCT=beagleboard OMAPES=5.x -j8") I experienced the following error (after 3 compilation hours):

...

...

target thumb C++: libwebcore <= external/webkit/WebCore/editing/EditCommand.cpp
target thumb C++: libwebcore <= external/webkit/WebCore/editing/Editor.cpp
target thumb C++: libwebcore <= external/webkit/WebCore/editing/EditorCommand.cpp
target thumb C++: libwebcore <= external/webkit/WebCore/editing/FormatBlockCommand.cpp
target thumb C++: libwebcore <= external/webkit/WebCore/editing/HTMLInterchange.cpp
target thumb C++: libwebcore <= external/webkit/WebCore/editing/IndentOutdentCommand.cpp
target thumb C++: libwebcore <= external/webkit/WebCore/editing/InsertIntoTextNodeCommand.cpp
arm-eabi-g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [out/target/product/beagleboard/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/editing/InsertIntoTextNodeCommand.o] Error 1
make: *** Waiting for unfinished jobs....

Seems that rootfs components have been created in out/target/product/beagleboard (I don't know if directories contain all necessary files) but the kernel image is not present in the path specified in DevKit 2.1DeveloperGuide: kernek/arch/arm/uImage; the only kernel image present is that in kernek/arch/arm/boot folder.

Do you think I am able to generate SD card to boot Android? Can you help me?

 

Thanks

 

Alessandro Tata

  • The Android filesystem build failed, so it would not be possible to prepare the sdcard.

    Could you try building  without the "-j8" in the make command?

    make TARGET_PRODUCT=beagleboard OMAPES=5.x

  • Hi, removing '-j8' option compilation fails with the following message:

    ...

    ...

    frameworks/base/core/res/res/values/public.xml:639: warning: No comment for public symbol android:style/Widget.TextView
    frameworks/base/core/res/res/values/public.xml:646: warning: No comment for public symbol android:style/Widget.TextView.PopupMenu
    frameworks/base/core/res/res/values/public.xml:647: warning: No comment for public symbol android:style/Widget.TextView.SpinnerItem
    frameworks/base/core/res/res/values/public.xml:656: warning: No comment for public symbol android:style/Widget.WebView
    target Java: framework (out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes)
    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.
    Copying: out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-jarjar.jar
    Copying: out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/emma_out/lib/classes-jarjar.jar
    Copying: out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar
    Copying: out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/noproguard.classes.jar
    target Dex: framework
    make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/noproguard.classes-with-local.dex] Killed

     

    Using '-j8', on the other hand, compilation fails the same but root and system folders are created in out/target/product/beagleboard folder.

     

    I am compiling sources under a Ubuntu 11.04 virtual machine using VMware player.

    Do you have other suggestion? Do you think that using VM can cause compilation problems?

     

    Thanks

     

    Alessandro Tata

  • It should be ok to build  on VM, however you need to allocate sufficient RAM to the VM.

    In our experience you would need 1-2 GB of RAM for android build.  Check if there is sufficient memory for the VM.

    In your log the build process was killed. I suspect this could be due to low RAM.

  • I have extended RAM in my VM and now all works.

    Thanks