Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,806,279 Members 52,963 Now Online
XDA Developers Android and Mobile Development Forum

Follow up on [ROM Build From Source Help] Error at compiling stage

Tip us?
 
AndroidNoob69
Old
#1  
AndroidNoob69's Avatar
Senior Member - OP
Thanks Meter 482
Posts: 1,373
Join Date: Jun 2013
Location: Singapore

 
DONATE TO ME
Default Follow up on [ROM Build From Source Help] Error at compiling stage

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


My Work

Remember the BUTTON!
Phones:
Xperia P(White): CyanogenMod 11 by percy_g2
Xperia Neo V(Blue): Carbon Rom by vishal_android_freak

 
HashyCode
Old
#2  
HashyCode's Avatar
Recognized Contributor
Thanks Meter 2,143
Posts: 944
Join Date: Aug 2012
Location: Cheras
Quote:
Originally Posted by AndroidNoob69 View Post
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
Can you tell me which sources is this?
 
AndroidNoob69
Old
#3  
AndroidNoob69's Avatar
Senior Member - OP
Thanks Meter 482
Posts: 1,373
Join Date: Jun 2013
Location: Singapore

 
DONATE TO ME
Quote:
Originally Posted by HashyCode View Post
Can you tell me which sources is this?
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


My Work

Remember the BUTTON!
Phones:
Xperia P(White): CyanogenMod 11 by percy_g2
Xperia Neo V(Blue): Carbon Rom by vishal_android_freak

 
HashyCode
Old
#4  
HashyCode's Avatar
Recognized Contributor
Thanks Meter 2,143
Posts: 944
Join Date: Aug 2012
Location: Cheras
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.
 
AndroidNoob69
Old
#5  
AndroidNoob69's Avatar
Senior Member - OP
Thanks Meter 482
Posts: 1,373
Join Date: Jun 2013
Location: Singapore

 
DONATE TO ME
Quote:
Originally Posted by HashyCode View Post
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.
2GB RAM 4GB swap

Sent my AOSP Xperia P


My Work

Remember the BUTTON!
Phones:
Xperia P(White): CyanogenMod 11 by percy_g2
Xperia Neo V(Blue): Carbon Rom by vishal_android_freak

 
HashyCode
Old
#6  
HashyCode's Avatar
Recognized Contributor
Thanks Meter 2,143
Posts: 944
Join Date: Aug 2012
Location: Cheras
Quote:
Originally Posted by AndroidNoob69 View Post
2GB RAM 4GB swap

Sent my AOSP Xperia P
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.
 
AndroidNoob69
Old
#7  
AndroidNoob69's Avatar
Senior Member - OP
Thanks Meter 482
Posts: 1,373
Join Date: Jun 2013
Location: Singapore

 
DONATE TO ME
Quote:
Originally Posted by HashyCode View Post
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.
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


My Work

Remember the BUTTON!
Phones:
Xperia P(White): CyanogenMod 11 by percy_g2
Xperia Neo V(Blue): Carbon Rom by vishal_android_freak

 
HashyCode
Old
#8  
HashyCode's Avatar
Recognized Contributor
Thanks Meter 2,143
Posts: 944
Join Date: Aug 2012
Location: Cheras
Quote:
Originally Posted by AndroidNoob69 View Post
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
Try it maybe?

THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Submitting a Patch to Gerrit – Featuring XplodWild – XDA Developer TV

Not every developer specializes in every area of … more

Learn How to Make a Live Wallpaper all by Yourself

Stillimages can bebeautiful, but some of you prefer to see animations on your screens. … more

Google Play Services Updated to Version 6.1

In addition to Android operating system proper, Google is focusing hard on giving the developers … more

CyanogenMod 11 M10 Available for Supported Devices

Summer vacation isover for most students out there, and it’s the time to get back to … more