[myTouch 3G, Magic Android Development] muasif80:
When I run the android.sh after doing all the above tasks on Ubuntu 10.04 I got this

I believe that the following output is giving errors. I request you to please help in understanding what has gone wrong with this. Why the instructions those you have given have not worked for me. I will be really thankful for any help.

************************************************************************************************************

I believe that the following output is giving errors. I request you to please help in understanding what has gone wrong with this. Why the instructions those you have given have not worked for me. I will be really thankful for any help.

************************************************************************************************************

============================================

PLATFORM_VERSION_CODENAME=AOSP

PLATFORM_VERSION=AOSP

TARGET_PRODUCT=full

TARGET_BUILD_VARIANT=eng

TARGET_SIMULATOR=

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv5te

HOST_ARCH=x86

HOST_OS=linux

HOST_BUILD_TYPE=release

BUILD_ID=OPENMASTER

============================================

Checking build tools versions...

************************************************************

You are attempting to build with the incorrect version

of java.

Your version is: java version "1.5.0_19".

The correct version is: 1.6.

Please follow the machine setup instructions at

http : // source . android . com / source / download . html

************************************************************

build/core/main.mk:129: *** stop. Stop.

============================================

PLATFORM_VERSION_CODENAME=AOSP

PLATFORM_VERSION=AOSP

TARGET_PRODUCT=full

TARGET_BUILD_VARIANT=eng

TARGET_SIMULATOR=

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv5te

HOST_ARCH=x86

HOST_OS=linux

HOST_BUILD_TYPE=release

BUILD_ID=OPENMASTER

============================================

Checking build tools versions...

************************************************************

You are attempting to build with the incorrect version

of java.

Your version is: java version "1.5.0_19".

The correct version is: 1.6.

Please follow the machine setup instructions at

http : // source . android . com / source / download . html

************************************************************

build/core/main.mk:129: *** stop. Stop.

remote: Counting objects: 16, done.

remote: Compressing objects: 100% (12/12), done.

remote: Total 12 (delta 6), reused 0 (delta 0)

Unpacking objects: 100% (12/12), done.

From git : // android . git . kernel . org / platform / manifest

3a78eff..9c07982 donut -> origin/donut

0bfe26a..b66d057 eclair -> origin/eclair

a5153b0..2872cdf froyo -> origin/froyo

7b52216..ad4d4d6 gingerbread -> origin/gingerbread

Your Name [Muhammad Asif]: Muhammad Asif

Your Email [muasif80 at gmail dot com]: muasif80 at gmail dot com

Your identity is: Muhammad Asif <muasif80 at gmail dot com>

is this correct [y/n]? y

repo initialized in /home/asif/magicDroid

fatal: destination path 'msm' already exists and is not an empty directory.

Already up-to-date.

Fetching projects: 3% (6/168) remote: Counting objects: 29, done.

remote: Compressing objects: 100% (18/18), done.

remote: Total 18 (delta 11), reused 3 (delta 0)

Unpacking objects: 100% (18/18), done.

From git : // android . git . kernel . org / build

1840de5..9ac1e65 gingerbread -> korg/gingerbread

7e27c8e..755bed4 master -> korg/master

Fetching projects: 4% (7/168) remote: Counting objects: 26, done.

remote: Compressing objects: 100% (12/12), done.

remote: Total 14 (delta 9), reused 0 (delta 0)

Unpacking objects: 100% (14/14), done.

From git : // android . git . kernel . org / platform / cts

c94170d..5766f49 froyo -> korg/froyo

remote: Counting objects: 298, done.

remote: Compressing objects: 100% (152/152), done.

remote: Total 193 (delta 74), reused 0 (delta 0)

Receiving objects: 100% (193/193), 14.71 KiB, done.

Resolving deltas: 100% (74/74), completed with 25 local objects.

From git : // android . git . kernel . org /platform/dalvik

b81fac3..d3046dd cupcake -> korg/cupcake

32f8982..b37eb51 donut -> korg/donut

2ca8eb9..9a69c6d eclair -> korg/eclair

886130b..70b130f froyo -> korg/froyo

Fetching projects: 46% (78/168) remote: Counting objects: 22, done.

remote: Compressing objects: 100% (12/12), done.

remote: Total 12 (delta 10), reused 0 (delta 0)

Unpacking objects: 100% (12/12), done.

From git : // android . git . kernel . org /platform/external/qemu

f979c58..3bf6efc master -> korg/master

3fd4433..3bf6efc tools_r9 -> korg/tools_r9

Fetching projects: 59% (100/168) remote: Counting objects: 143, done.

remote: Compressing objects: 100% (92/92), done.

remote: Total 101 (delta 41), reused 30 (delta 2)

Receiving objects: 100% (101/101), 130.87 KiB | 111 KiB/s, done.

Resolving deltas: 100% (41/41), completed with 21 local objects.

From git : // android . git . kernel . org /platform/frameworks/base

bdb7aee..7d234fa master -> korg/master

Fetching projects: 66% (111/168) remote: Counting objects: 131, done.

remote: Compressing objects: 100% (63/63), done.

remote: Total 86 (delta 43), reused 22 (delta 11)

Unpacking objects: 100% (86/86), done.

From git : // android . git . kernel . org /platform/libcore

5bcbe1c..2891830 gingerbread -> korg/gingerbread

27020e1..a16bf8b master -> korg/master

Fetching projects: 95% (160/168) remote: Counting objects: 928, done.

remote: Compressing objects: 100% (542/542), done.

remote: Total 736 (delta 406), reused 27 (delta 9)

Receiving objects: 100% (736/736), 115.65 KiB | 45 KiB/s, done.

Resolving deltas: 100% (406/406), completed with 78 local objects.

From git : // android . git . kernel . org /platform/sdk

8f5a0e4..f03c4ab master -> korg/master

af9a91e..798d453 tools_r9 -> korg/tools_r9

Fetching projects: 100% (168/168), done.

Syncing work tree: 100% (167/167), done.

./android.sh: line 50: cd: /home/asif/magicDroid/device/htc/sapphire/: No such file or directory

./android.sh: line 51: ./unzip-files.sh: No such file or directory

#

# configuration written to .config

#

scripts/kconfig/conf -s arch/arm/Kconfig

CHK include/linux/version.h

CHK include/generated/utsrelease.h

make[1]: `include/generated/mach-types.h' is up to date.

CALL scripts/checksyscalls.sh

CHK include/generated/compile.h

CC arch/arm/mach-msm/pm.o

LD ipc/built-in.o

GZIP kernel/config_data.gz

IKCFG kernel/config_data.h

CC kernel/configs.o

CC arch/arm/mach-msm/cpufreq.o

CC arch/arm/mach-msm/htc_battery.o

CC security/commoncap.o

LD kernel/built-in.o

CC security/min_addr.o

arch/arm/mach-msm/pm.c: In function 'msm_pm_init':

arch/arm/mach-msm/pm.c:773: warning: assignment from incompatible pointer type

arch/arm/mach-msm/pm.c:779: error: 'RESET_VECTOR' undeclared (first use in this function)

arch/arm/mach-msm/pm.c:779: error: (Each undeclared identifier is reported only once

arch/arm/mach-msm/pm.c:779: error: for each function it appears in.)

make[1]: *** [arch/arm/mach-msm/pm.o] Error 1

make[1]: *** Waiting for unfinished jobs....

CC crypto/api.o

CC block/elevator.o

make: *** [arch/arm/mach-msm] Error 2

make: *** Waiting for unfinished jobs....

CC block/blk-core.o

CC crypto/cipher.o

LD security/built-in.o

CC crypto/compress.o

CC block/blk-tag.o

CC crypto/algapi.o

CC crypto/scatterwalk.o

CC block/blk-sysfs.o

CC crypto/proc.o

CC block/blk-barrier.o

CC crypto/ablkcipher.o

CC crypto/blkcipher.o

CC block/blk-settings.o

CC block/blk-ioc.o

CC crypto/ahash.o

CC crypto/shash.o

CC block/blk-map.o

CC block/blk-exec.o

CC block/blk-merge.o

CC crypto/algboss.o

CC crypto/testmgr.o

CC block/blk-softirq.o

CC crypto/crypto_wq.o

CC block/blk-timeout.o

CC block/blk-iopoll.o

CC crypto/aead.o

CC block/blk-lib.o

CC block/ioctl.o

CC crypto/chainiv.o

CC block/genhd.o

CC crypto/eseqiv.o

CC block/scsi_ioctl.o

LD crypto/crypto_hash.o

CC crypto/pcompress.o

LD crypto/cryptomgr.o

CC crypto/hmac.o

CC block/noop-iosched.o

CC block/cfq-iosched.o

CC crypto/md5.o

CC crypto/sha1_generic.o

CC crypto/ecb.o

CC crypto/cbc.o

CC crypto/des_generic.o

CC crypto/twofish.o

CC crypto/twofish_common.o

CC crypto/aes_generic.o

CC crypto/arc4.o

CC crypto/deflate.o

CC crypto/crc32c.o

CC crypto/authenc.o

CC crypto/rng.o

LD block/built-in.o

CC crypto/krng.o

LD crypto/crypto.o

LD crypto/crypto_algapi.o

LD crypto/crypto_blkcipher.o

LD crypto/built-in.o

rm -f ./libestadrv.a

make -C /home/asif/magicDroid/msm/ M=`pwd` ARCH=arm CROSS_COMPILE=/home/asif/magicDroid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- modules

make[1]: Entering directory `/home/asif/magicDroid/msm'

WARNING: Symbol version dump /home/asif/magicDroid/msm/Module.symvers

is missing; modules will have no dependencies and modversions.

Building modules, stage 2.

MODPOST 1 modules

make[1]: Leaving directory `/home/asif/magicDroid/msm'

/home/asif/magicDroid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-strip --strip-unneeded wlan.ko

cp: cannot create regular file `/home/asif/magicDroid/device/htc/dream-sapphire/wlan.ko': No such file or directory

including device/htc/passion/vendorsetup.sh

including device/samsung/crespo/vendorsetup.sh

You're building on Linux

Lunch menu... pick a combo:

1. full-eng

2. full_x86-eng

3. simulator

4. full_passion-userdebug

5. full_crespo-userdebug

Which would you like? [full-eng] full-eng

============================================

PLATFORM_VERSION_CODENAME=AOSP

PLATFORM_VERSION=AOSP

TARGET_PRODUCT=full

TARGET_BUILD_VARIANT=eng

TARGET_SIMULATOR=false

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv5te

HOST_ARCH=x86

HOST_OS=linux

HOST_BUILD_TYPE=release

BUILD_ID=OPENMASTER

============================================

============================================

PLATFORM_VERSION_CODENAME=AOSP

PLATFORM_VERSION=AOSP

TARGET_PRODUCT=full

TARGET_BUILD_VARIANT=eng

TARGET_SIMULATOR=false

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv5te

HOST_ARCH=x86

HOST_OS=linux

HOST_BUILD_TYPE=release

BUILD_ID=OPENMASTER

============================================

Checking build tools versions...

************************************************************

You are attempting to build with the incorrect version

of java.

Your version is: java version "1.5.0_19".

The correct version is: 1.6.

Please follow the machine setup instructions at

http : // source . android . com / source / download . html

************************************************************

build/core/main.mk:129: *** stop. Stop.

./android.sh: line 84: cd: /home/asif/magicDroid/out/target/product/sapphire/: No such file or directory

Your files ready for flashing are here:

ls: cannot access *.img: No such file or directory

************************************************************************************************************

************************************************************************************************************