dalvik/vm/native/dalvik_system_Zygote.cpp: In function ‘int setrlimitsFromArray(ArrayObject*)’: dalvik/vm/native/dalvik_system_Zygote.cpp:194: error: aggregate ‘rlimit rlim’ has incomplete type and cannot be defined dalvik/vm/native/dalvik_system_Zygote.cpp:217: error: ‘setrlimit’ was not declared in this scope make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/libdvm_intermediates/native/dalvik_system_Zygote.o] Error 1 make: *** Waiting for unfinished jobs....
|
위의 링크에서는 에러가 난 dalvil_system_Zagote.cpp파일에 #include <sys/resource.h>를 추가해주면 빌드가 잘 된다고 나왔습니다.
위의 글을 믿고 cpp파일에
#include <sys/resource.h>
헤더파일 추가
2.g++-4.4-multilib gcc-4.4-multilib 설치 해결
host Executable: aapt (out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt) host C++: aidl <= frameworks/base/tools/aidl/aidl.cpp host C++: aidl <= frameworks/base/tools/aidl/aidl_language.cpp g++-4.4: g++-4.4: selected multilib '32' not installedselected multilib '32' not installed
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp] Error 1 make: *** Waiting for unfinished jobs.... make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt] Error 1 |
3. apt-get install libswitch-perl
http://blog.naver.com/ekdldhrtlsda/220196447307
Can't locate Switch.pm in @INC (you may need to install the Switch module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at external/webkit/Source/WebCore/make-hash-tools.pl line 23. BEGIN failed--compilation aborted at external/webkit/Source/WebCore/make-hash-tools.pl line 23. make: *** [out/target/product/hybus_4412/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/html/DocTypeStrings.cpp] Error 2 make: *** Waiting for unfinished jobs.. |
sudo apt-get install uboot-mkimage
Target ram disk: out/target/product/hybus_4412/ramdisk.img mkimage -A arm -O linux -T ramdisk -C none -a 0x30A00000 -n "ramdisk" -d out/target/product/hybus_4412/ramdisk.img out/target/product/hybus_4412/ramdisk-uboot.img /bin/bash: mkimage: command not found make: *** [out/target/product/hybus_4412/ramdisk.img] Error 127 make: *** Deleting file `out/target/product/hybus_4412/ramdisk.img' make: *** Waiting for unfinished jobs.... root@li:/home/li/Desktop/andsource/android# bj/STATIC_LIBRARIES/libLLVMBitReader_2_7_intermediates/libLLVMBitReader_2_7.a) bash: syntax error near unexpected token `)' |
민석
cp /usr/include/x86_64-linux-gnu/zconf.h /usr/include/
/usr/include/zlib.h:34: fatal error: zconf.h: No such file or directory
Install: out/host/linux-x86/bin/hierarchyviewer
Install: out/host/linux-x86/bin/hierarchyviewer1
host C++: hist_trace <= sdk/emulator/qtools/trace_reader.cpp
In file included from system/core/gpttool/gpttool.c:24:
/usr/include/zlib.h:34: fatal error: zconf.h: No such file or directory
compilation terminated.
make: *** [out/host/linux-x86/obj/EXECUTABLES/gpttool_intermediates/gpttool.o] Error 1
make: *** Waiting for unfinished jobs.... |
완료?
'out/target/common/obj/APPS/Contacts_intermediates/classes.dex' as 'classes.dex'... 'out/target/common/obj/APPS/Bluetooth_intermediates/classes.dex' as 'classes.dex'... Install: out/target/product/hybus_4412/system/app/Calendar.apk Install: out/target/product/hybus_4412/system/app/CalendarProvider.apk target Package: Development (out/target/product/hybus_4412/obj/APPS/Development_intermediates/package.apk) target Dex: android.core.tests.libcore.package.com.no-core-tests-res Warning: AndroidManifest.xml already defines versionCode (in http://schemas.android.com/apk/res/android); using existing value in manifest. Warning: AndroidManifest.xml already defines versionName (in http://schemas.android.com/apk/res/android); using existing value in manifest. 'out/target/common/obj/APPS/Development_intermediates/classes.dex' as 'classes.dex'... target Dex: android.core.tests.libcore.package.dalvik.no-core-tests-res target Dex: android.core.tests.libcore.package.libcore.no-core-tests-res 'out/target/common/obj/APPS/Email_intermediates/classes.dex' as 'classes.dex'... target Dex: android.core.tests.libcore.package.org.no-core-tests-res target Dex: android.core.tests.libcore.package.sun.no-core-tests-res Copying: out/target/common/obj/APPS/android.core.tests.libcore.package.tests.no-core-tests-res_intermediates/noproguard.classes.jar Install: out/target/product/hybus_4412/system/app/Bluetooth.apk Install: out/target/product/hybus_4412/system/app/Contacts.apk Install: out/target/product/hybus_4412/system/app/Development.apk Install: out/target/product/hybus_4412/system/app/Email.apk Copying: out/target/common/obj/JAVA_LIBRARIES/services_intermediates/noproguard.classes.dex Copying: out/target/common/obj/APPS/android.core.tests.libcore.package.libcore.no-core-tests-res_intermediates/noproguard.classes.dex Copying: out/target/common/obj/APPS/android.core.tests.libcore.package.org.no-core-tests-res_intermediates/noproguard.classes.dex target Dex: android.core.tests.libcore.package.tests.no-core-tests-res make: *** [out/target/common/obj/APPS/android.core.tests.libcore.package.sun.no-core-tests-res_intermediates/noproguard.classes-with-local.dex] Killed make: *** Waiting for unfinished jobs.... make: *** [out/target/common/obj/APPS/android.core.tests.libcore.package.com.no-core-tests-res_intermediates/noproguard.classes-with-local.dex] Killed |
ramdisk.img
ramdisk-uboot.img
userdata.img