I just built the cupcake branch of Android (debug build) on Ubuntu Karmic 64-bit. Karmic ships with gcc 4.4.1.
Here are some notes regarding the instructions posted on the web at http://source.android.com/download 1. The required packages list needs to be updated, adding the following: sun-java6-jdk (replaces sun-java5-jdk) liblzo2-dev uboot-mkimage 2. The ln -s /usr/lib32/libX11.so.6 /usr/lib32/libX11.so step is no longer necessary. 3. The prelink map still does not leave enough space for one of the libraries built in debug mode. 4. DmTrace::parseAndAddFunction in dmtrace.cpp needed const-related surgery. 5. freerunner-ril.c needed surgery related to the timeout_elapsed variable. Its declaration is guarded with a conditional but not the use of it. 6. Many files required adding a #include <cstdio> or <stdio.h> in order to build. Here is at least a partial list of the files I edited. Some of these could be factored into include files. frameworks/base/tools/aidl/AST.cpp frameworks/base/tools/aidl/Type.cpp frameworks/base/tools/aidl/Type.h external/srec/tools/grxmlcompile/netw_arc.h development/emulator/qtools/trace_reader.cpp frameworks/base/tools/localize/file_utils.cpp frameworks/base/tools/localize/merge_res_and_xliff.cpp frameworks/base/tools/localize/file_utils.h frameworks/base/tools/localize/Perforce.cpp frameworks/base/tools/localize/SourcePos.cpp frameworks/base/tools/localize/Values.cpp frameworks/base/tools/localize/XLIFFFile.cpp frameworks/base/tools/localize/XLIFFFile.h frameworks/base/tools/localize/Configuration.h -- Ryan C. Underwood runderwo(at)mail.win.org ----- End forwarded message ----- -- Ryan C. Underwood runderwo(at)mail.win.org -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
