ubuntu 在 R40e 上 還有 Debian 在 Sempron 2600 上

2009年1月29日 星期四

果然有error.. build OK!

果然,沒有那麼簡單,make 的過程出現 Error:
Copy: jasmin (out/host/linux-x86/obj/EXECUTABLES/jasmin_intermediates/jasmin)
Install: out/host/linux-x86/bin/screenshot2
Install: out/host/linux-x86/bin/traceview
Install: out/host/linux-x86/lib/libswt-atk-gtk-3236.so
Install: out/host/linux-x86/lib/libswt-cairo-gtk-3236.so
Install: out/host/linux-x86/lib/libswt-gtk-3236.so
Install: out/host/linux-x86/lib/libswt-pi-gtk-3236.so
target asm: grub_start_stage2 <= external/grub/stage2/start.S
Target userdata fs image: out/target/product/eee_701/userdata.img
du: 無法存取「out/target/product/eee_701/data」: 沒有此一檔案或目錄
/bin/bash: line 0: [: -lt: unary operator expected find: out/target/product/eee_701/data: 沒有此一檔案或目錄
out/host/linux-x86/bin/genext2fs: out/target/product/eee_701/data is neither a file nor a directory
make: *** [out/target/product/eee_701/userdata.img] Error 1 make: *** Waiting for unfinished jobs.... 
但也還好,google一下,有回應: Change 8265: Fix the build issue when building installer_img with TARGET_ARCH=x86 所以follow說明,找一下 bootable/diskinstaller/config.mk 改一下:
installer_target_data_files := \
$(INSTALLED_BOOTIMAGE_TARGET) \
$(INSTALLED_SYSTEMIMAGE) \   
$(INSTALLED_USERDATAIMAGE_TARGET) \
$(bootldr_bin)
改成
installer_target_data_files := \
droidcore \
$(bootldr_bin)
然後重新下一次 make xxxx... 的 command.. 結果呢? 還在 build.. 希望會有好結果..
花了一個晚上,終於build OK了。 只有在最後,target Dex xxxx 的階段,不知道是因為 memory 不夠(只有512M),所以 swap 一直動作,hd 轉個不停,大概持續1個多小時,然後沒有任何output。 disk space 也沒有改變,幾乎以為是當機。 最後的log是:
--- Finished installer data image -[ out/target/product/eee_701/installer/installer_data.img ]-
Creating bootable installer image: out/target/product/eee_701/installer.img
Updated inst_boot length to be 4444KB
Updated inst_data length to be 420764KB
I/diskconfig(16123): Requesting operation on a regular file, not block device.
I/config_mbr(16123): Configuring pentry. status=0x80 type=0x83 start_lba=2048 len_lba=8888
I/config_mbr(16123): Configuring pentry. status=0x0 type=0x83 start_lba=10936 len_lba=841528
I/config_mbr(16123): Configuring pentry. status=0x0 type=0x0 start_lba=0 len_lba=0
I/config_mbr(16123): Configuring pentry. status=0x0 type=0x0 start_lba=0 len_lba=0
Copying images to specified partition offsets
I/diskutils(16123): Writing RAW image 'out/target/product/eee_701/installer/installer_tmp.img' to 'out/target/product/eee_701/installer.img' (offset=1048576)
I/diskutils(16123): Wrote 4550656 bytes to out/target/product/eee_701/installer.img @ 1048576
I/diskutils(16123): Writing RAW image 'out/target/product/eee_701/installer/installer_data.img' to 'out/target/product/eee_701/installer.img' (offset=5599232)
I/diskutils(16123): Wrote 430862336 bytes to out/target/product/eee_701/installer.img @ 5599232
File edit complete. Wrote 2 images.
Done with bootable installer image -[ out/target/product/eee_701/installer.img ]-

沒有留言:

標籤

網誌存檔