hi Avtar: Is this directory also used for pre-cupcake source? It seems that the compilation issue was caused by the stale directory "recovery" under your android source root directory. You may remove it to see whether it works or not. Hope it helps! -- Chen On Sat, Jan 3, 2009 at 2:27 PM, Avtar Singh <s.av...@gmail.com> wrote:
> > Hi, > > I am following the instructions specified by Dima and Lim to build > Android on a EeePC. However, I want to build it on a Desktop with > Ubuntu 8.10. I created a new directory for Android source code, did a > "repo init", followed by "repo sync" and then explicitly did a git > clone of git://android.git.kernel.org/platform/vendor/asus/eee_701.git > to get the EeePC files. > > I only did a repo init (not with -b option) with the understanding > that the cupcake branch is now merged into the master branch. Is this > incorrect? Do I have to use '-b cupcake'? > > Subsequently, I ran the following command: > > TARGET_ARCH=x86 TARGET_PRODUCT=eee_701 DISABLE_DEXPREOPT=true > CC=gcc-4.2.1 CXX=g++-4.2.1 make -j2 installer_img > > The output I got is: > > ******************************************************************************** > build/core/product_config.mk:207: WARNING: adding test OTA key > ============================================ > TARGET_PRODUCT=eee_701 > TARGET_BUILD_VARIANT=eng > TARGET_SIMULATOR= > TARGET_BUILD_TYPE=release > TARGET_ARCH=x86 > HOST_ARCH=x86 > HOST_OS=linux > HOST_BUILD_TYPE=release > BUILD_ID= > ============================================ > build/core/main.mk:178: implicitly installing apns-conf_sdk.xml > build/core/base_rules.mk:117: *** recovery/amend: > MODULE.HOST.EXECUTABLES.amend already defined by bootable/recovery/ > amend. Stop. > > ******************************************************************************** > > What could be the issue? I have created symbolic links for 'gcc-4.2.1' > to point to "prebuilt/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/ > bin/i686-unknown-linux-gnu-gcc-4.2.1". > > Thanks, > Avtar > > On Dec 24 2008, 5:29 am, freedom <koansin....@gmail.com> wrote: > > Using gcc-4.2 instead of gcc-4.3 should help avoid modifying source, > > that is > > $ TARGET_ARCH=x86 TARGET_PRODUCT=eee_701 DISABLE_DEXPREOPT=true > > CC=gcc-4.2 CXX=g++-4.2 make ........ > > > > On Dec 23, 11:11 pm, "Lim,GeunSik" <lee...@gmail.com> wrote: > > > > > 3. Building x86 android full source > > > $ TARGET_ARCH=x86 TARGET_PRODUCT=eee_701 DISABLE_DEXPREOPT=true make - > > > j2 installer_img > > > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---