[Completed] Follow up on [ROM Build From Source Help] Error at compiling stage - XDA Assist

Hi guys,
I have another error
Code:
target thumb C++: libjavacore <= libcore/luni/src/main/native/AsynchronousSocket CloseMonitor.cpp
system/vold/cryptfs.c: In function 'pbkdf2':
system/vold/cryptfs.c:871:82: warning: unused parameter 'params' [-Wunused-param eter]
static void pbkdf2(char *passwd, unsigned char *salt, unsigned char *ikey, void *params) {
^
system/vold/cryptfs.c: In function 'do_crypto_complete':
system/vold/cryptfs.c:1153:37: warning: unused parameter 'mount_point' [-Wunused -parameter]
static int do_crypto_complete(char *mount_point)
^
target thumb C++: libjavacore <= libcore/luni/src/main/native/ExecStrings.cpp
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacrypto_intermedi ates/crypto/src/main/native/org_conscrypt_NativeCrypto.o] Killed
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacore_intermediat es/dalvik/src/main/native/org_apache_harmony_dalvik_NativeTestTarget.o] Killed
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacore_intermediat es/luni/src/main/native/AsynchronousSocketCloseMonitor.o] Killed
Can you guys help me again?
TIA,
AndroidNoob69

AndroidNoob69 said:
Hi guys,
I have another error
Code:
target thumb C++: libjavacore <= libcore/luni/src/main/native/AsynchronousSocket CloseMonitor.cpp
system/vold/cryptfs.c: In function 'pbkdf2':
system/vold/cryptfs.c:871:82: warning: unused parameter 'params' [-Wunused-param eter]
static void pbkdf2(char *passwd, unsigned char *salt, unsigned char *ikey, void *params) {
^
system/vold/cryptfs.c: In function 'do_crypto_complete':
system/vold/cryptfs.c:1153:37: warning: unused parameter 'mount_point' [-Wunused -parameter]
static int do_crypto_complete(char *mount_point)
^
target thumb C++: libjavacore <= libcore/luni/src/main/native/ExecStrings.cpp
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacrypto_intermedi ates/crypto/src/main/native/org_conscrypt_NativeCrypto.o] Killed
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacore_intermediat es/dalvik/src/main/native/org_apache_harmony_dalvik_NativeTestTarget.o] Killed
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacore_intermediat es/luni/src/main/native/AsynchronousSocketCloseMonitor.o] Killed
Can you guys help me again?
TIA,
AndroidNoob69
Click to expand...
Click to collapse
Can you tell me which sources is this?

HashyCode said:
Can you tell me which sources is this?
Click to expand...
Click to collapse
AOSX ROM( https://github.com/AndroidOpenSourceXperia) synced the sources using Update.sh from android_scripts repo of AOSX git. Then i did excecuted CompileROM.sh and it went on for like 15 minutes and aborted by itself.
Btw aosx is just aosp with a little bit more of features from cm so technically i am compiling aosp
Sent my AOSP Xperia P

target thumb C++: libjavacore <= libcore/luni/src/main/native/ExecStrings.cpp
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacrypto_intermedi ates/crypto/src/main/native/org_conscrypt_NativeCrypto.o] Killed
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacore_intermediat es/dalvik/src/main/native/org_apache_harmony_dalvik_NativeTestTarget.o] Killed
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacore_intermediat es/luni/src/main/native/AsynchronousSocketCloseMonitor.o] Killed
It seems you're running out of RAM. How much your swap is set to?
HashyCode.

HashyCode said:
target thumb C++: libjavacore <= libcore/luni/src/main/native/ExecStrings.cpp
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacrypto_intermedi ates/crypto/src/main/native/org_conscrypt_NativeCrypto.o] Killed
make: *** Waiting for unfinished jobs....
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacore_intermediat es/dalvik/src/main/native/org_apache_harmony_dalvik_NativeTestTarget.o] Killed
make: *** [out/target/product/nypon/obj/SHARED_LIBRARIES/libjavacore_intermediat es/luni/src/main/native/AsynchronousSocketCloseMonitor.o] Killed
It seems you're running out of RAM. How much your swap is set to?
HashyCode.
Click to expand...
Click to collapse
2GB RAM 4GB swap
Sent my AOSP Xperia P

AndroidNoob69 said:
2GB RAM 4GB swap
Sent my AOSP Xperia P
Click to expand...
Click to collapse
Last time i use to have 2GB. I have same error like you. But it fixed as i add more 2GB.
Might turn off the pc for few hours and build back without making make clean or repo sync.
It might help.
HashyCode.

HashyCode said:
Last time i use to have 2GB. I have same error like you. But it fixed as i add more 2GB.
Might turn off the pc for few hours and build back without making make clean or repo sync.
It might help.
HashyCode.
Click to expand...
Click to collapse
Lol its a rented vps as my network is too weak to sync sources. So i just shut the server down and try to rebuild after a few hours?
Sent my AOSP Xperia P

AndroidNoob69 said:
Lol its a rented vps as my network is too weak to sync sources. So i just shut the server down and try to rebuild after a few hours?
Sent my AOSP Xperia P
Click to expand...
Click to collapse
Try it maybe?

Related

[Q] compiling kernel. Please give me some help?

Hello. When i try compile my kernel i got some errors
i'm on ubuntu 10.04, 10.10, 11.04, 11.10.
I'm using theese commands:
Code:
make ARCH=arm iconiaa500_defconfig
with no problems it says 'configuration written to .config' then i cant find that file.
whet i try to compile it with this command
Code:
make ARCH=arm CROSS_COMPILE=/home/myhomedir./A500-kernel/toolchains/arm-2009q3/bin/arm-none-eabi- -j3
then at the end i get something like:
Code:
drivers/usb/host/ehci-hub.c:130: warning: 'ehci_adjust_port_wakeup_flags' defined but not used
drivers/usb/host/ehci-lpm.c:20: warning: 'ehci_lpm_set_da' defined but not used
drivers/usb/host/ehci-lpm.c:40: warning: 'ehci_lpm_check' defined but not used
net/mac80211/tx.c: In function 'ieee80211_subif_start_xmit':
net/mac80211/tx.c:1753: warning: unused variable 'mppath'
arch/arm/boot/compressed/piggy.lzo.S: Assembler messages:
arch/arm/boot/compressed/piggy.lzo.S:4: Error: file not found: arch/arm/boot/compressed/piggy.lzo
make[2]: *** [arch/arm/boot/compressed/piggy.lzo.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make: *** [zImage] Error 2
make: *** Waiting for unfinished jobs....
anyone knows whats problem? thanks for spending some time. Sorry for bad english.
I was try many guides include nethams and sp3dev's
HTML:
http://forum.xda-developers.com/showthread.php?t=1158260&page=24
HTML:
http://forum.xda-developers.com/showthread.php?t=1158260&page=9
I'm using astarasikov-iconia-gnu-kernel source.
Sorry for bad English.

Building from source -- libLLVM.so error

Hi all,
I just got a Nexus 5 a week or so ago and figured I'd try to build my own ROM. I used the guide here: http://source.android.com/source/building-running.html
Build ran for about an hour, then exited with an error. Here's the last few lines of the log:
Code:
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
Copying: out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/emma_out/lib/classes-jarjar.jar
target Generated: libbcc <= frameworks/compile/libbcc/tools/build/gen-build-info.py
Install: out/host/linux-x86/lib/libLLVM.so
Copying: out/host/common/obj/JAVA_LIBRARIES/apache-xml-hostdex_intermediates/classes.jar
Copying: out/host/common/obj/JAVA_LIBRARIES/conscrypt-hostdex_intermediates/classes.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/guava_intermediates/emma_out/lib/classes-jarjar.jar
target thumb C++: third_party_WebKit_Source_core_webcore_dom_gyp <= external/chromium_org/third_party/WebKit/Source/core/dom/ActiveDOMObject.cpp
target thumb C++: third_party_WebKit_Source_core_webcore_dom_gyp <= external/chromium_org/third_party/WebKit/Source/core/dom/AnimationEvent.cpp
target thumb C++: third_party_WebKit_Source_core_webcore_dom_gyp <= external/chromium_org/third_party/WebKit/Source/core/dom/Attr.cpp
target thumb C++: third_party_WebKit_Source_core_webcore_dom_gyp <= external/chromium_org/third_party/WebKit/Source/core/dom/BeforeTextInsertedEvent.cpp
acp: partial write to 'out/host/linux-x86/lib/libLLVM.so' (4096 of 8192)
make: *** [out/host/linux-x86/lib/libLLVM.so] Error 1
make: *** Deleting file `out/host/linux-x86/lib/libLLVM.so'
target thumb C++: third_party_WebKit_Source_core_webcore_dom_gyp <= external/chromium_org/third_party/WebKit/Source/core/dom/BeforeUnloadEvent.cpp
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.
Has anyone ran into this sort of issue before?
Thanks in advance
Bensky91 said:
Build ran for about an hour, then exited with an error. Here's the last few lines of the log:
Code:
acp: partial write to 'out/host/linux-x86/lib/libLLVM.so' (4096 of 8192)
Has anyone ran into this sort of issue before?
Thanks in advance
Click to expand...
Click to collapse
Disk's not full is it?
gtj0 said:
Disk's not full is it?
Click to expand...
Click to collapse
Funny you should mention that, I just fixed my problem by resizing my partition. Didn't give enough space to the VM.
Thanks!

[Q] Help with CM10.2 compilation errors (from source)

Hey all, so I've built out a development environment and have followed tutorials on how to build CM10.2 from source. I would consider myself an advanced Linux user and things have been going well with the exception of these compliation errors. Any help troubleshooting these would be greatly appreciated.
Code:
target thumb C++: libc <= bionic/libc/bionic/pthread_debug.cpp
cc1plus: warning: command line option '-std=gnu99' is valid for C/ObjC but not for C++ [enabled by default]
make[3]: *** [linux] Error 2
make[2]: *** [headers_install] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/c0pp3r/android/cm10.2/kernel/htc/msm8960'
make: *** [/home/c0pp3r/android/cm10.2/out/target/product/evita/obj/KERNEL_OBJ/usr] Error 2
make: *** Waiting for unfinished jobs....
bionic/libc/bionic/pthread_debug.cpp:545:13: warning: 'void hashmap_removeEntry(HashTable*, HashEntry*)' defined but not used [-Wunused-function]
[email protected]:/home/c0pp3r/android/cm10.2#
You might get a better response in the Android Software/Hacking Development forum.
Sent from my Evita
Thanks for the tip. I'll do that.

Build error, need help?

Setup my build environment according to this post
http://forum.xda-developers.com/showthread.php?t=2639611
and trying to build this ROM
https://github.com/CarbonDev/android
I got a build error mid way
HTML:
hardware/qcom/display/msm8974/liboverlay/overlayMdp.cpp: In member function 'void overlay::MdpCtrl::setColor(uint32 _t)':
hardware/qcom/display/msm8974/liboverlay/overlayMdp.cpp:105:13: error: 'struct mdp_overlay' has no member named 'bg _color'
make: *** [/root/carbon/out/target/product/hammerhead/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayMdp.o] E rror 1
make: *** Waiting for unfinished jobs....
target thumb C++: liboverlay <= hardware/qcom/display/msm8974/liboverlay/overlayMdssRot.cpp
make: *** wait: No child processes. Stop.
I google and got this suggesting
Try switching hardware/qcom/display to cyanogenmod 's version
What file do I edit to change this?
Thanks.

[Q] [Compiling PA] Troubleshooting

Hello everyone,
I´m trying compile form PA4+ repos. I follow the step in this guide (http://forum.xda-developers.com/moto-g/development/4-4-4-nightlies-paranoid-4-4-motorola-t2792041)
But no matter what I do always get the following error:
Code:
host Executable: clang (/home/levis/paranoid/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang)
CC drivers/cpufreq/cpufreq_interactive.o
CC drivers/cpufreq/freq_table.o
../../../../../../kernel/motorola/msm8226/drivers/cpufreq/cpufreq_interactive.c: In function 'show_target_loads':
../../../../../../kernel/motorola/msm8226/drivers/cpufreq/cpufreq_interactive.c:813:6: warning: operation on 'ret' may be undefined [-Wsequence-point]
error, forbidden warning: cpufreq_interactive.c:813
make[4]: *** [drivers/cpufreq/cpufreq_interactive.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [drivers/cpufreq] Error 2
make[2]: *** [drivers] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/levis/paranoid/kernel/motorola/msm8226'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
Total time elapsed: 32 minutes (1937.343507123 seconds)
file does not exist or wrong directory located
Please Could you point me in the right direction.
- Solution 1
Delete the all folder (Yeah .. that's a shame ..) and resync again.
- Solution 2
Check if all the depency software is correctly installed.
- Solution 3
Use a prebuilt kernel
Code:
cd /yourpathtothesources/kernel/motorola/msm8226
make -j4 O=out
cp -R /yourpathtothesources/kernel/motorola/msm8226/out/* /yourpathtothesources/out/target/product/falcon/obj/KERNEL_OBJ
cp /yourpathtothesources/kernel/motorola/msm8226/out/arch/arm/boot/zImage /yourpathtothesources/out/target/product/falcon/kernel
Hope that's help.
Try first solution first !
thank you very much for your quick response. I will prove what you said and will post the results
Thanks +h2o64 , Whith the Solution 1, was perfect. Now I have installed and working my own compiled version.
levis_ap said:
Thanks +h2o64 , Whith the Solution 1, was perfect. Now I have installed and working my own compiled version.
Click to expand...
Click to collapse
Congrats! There is a new Linaro build toolchain! Personally I clean my entire build directory today
Sent from my Moto G using XDA Free mobile app

Categories

Resources