Make Your Own Heat Sink for the LG Optimus 4X HD

Its not a rare occurrence that performing a resource heavy task on your Android device (e.g. … more

Learn How to Create an Old School Dialer

XDA is not only a great source for custom ROMs, kernels, and various modifications for numerous … more

USB Desktop Charger Roundup – XDA TV

Sometimes you learn one way to do something, and that’s the way you do it forever. You never … more

Samsung Galaxy Grand Duos Receives Early CM12 Port

Samsung Galaxy Grand is a dual-SIM phone with a 5 screen that was announced two years ago. … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Closed

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

OP AndroidNoob69

3rd June 2014, 05:16 AM   |  #1  
AndroidNoob69's Avatar
OP Senior Member
Flag Singapore
Thanks Meter: 612
 
1,458 posts
Join Date:Joined: Jun 2013
Donate to Me
More
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
3rd June 2014, 05:30 AM   |  #2  
HashyCode's Avatar
Recognized Contributor
Flag Cheras
Thanks Meter: 2,161
 
950 posts
Join Date:Joined: Aug 2012
More
Quote:
Originally Posted by AndroidNoob69

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?
3rd June 2014, 05:35 AM   |  #3  
AndroidNoob69's Avatar
OP Senior Member
Flag Singapore
Thanks Meter: 612
 
1,458 posts
Join Date:Joined: Jun 2013
Donate to Me
More
Quote:
Originally Posted by HashyCode

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
3rd June 2014, 05:49 AM   |  #4  
HashyCode's Avatar
Recognized Contributor
Flag Cheras
Thanks Meter: 2,161
 
950 posts
Join Date:Joined: Aug 2012
More
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.
3rd June 2014, 05:59 AM   |  #5  
AndroidNoob69's Avatar
OP Senior Member
Flag Singapore
Thanks Meter: 612
 
1,458 posts
Join Date:Joined: Jun 2013
Donate to Me
More
Quote:
Originally Posted by HashyCode

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
3rd June 2014, 06:16 AM   |  #6  
HashyCode's Avatar
Recognized Contributor
Flag Cheras
Thanks Meter: 2,161
 
950 posts
Join Date:Joined: Aug 2012
More
Quote:
Originally Posted by AndroidNoob69

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.
3rd June 2014, 06:23 AM   |  #7  
AndroidNoob69's Avatar
OP Senior Member
Flag Singapore
Thanks Meter: 612
 
1,458 posts
Join Date:Joined: Jun 2013
Donate to Me
More
Quote:
Originally Posted by HashyCode

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
3rd June 2014, 06:36 AM   |  #8  
HashyCode's Avatar
Recognized Contributor
Flag Cheras
Thanks Meter: 2,161
 
950 posts
Join Date:Joined: Aug 2012
More
Quote:
Originally Posted by AndroidNoob69

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?

The Following User Says Thank You to HashyCode For This Useful Post: [ View ]
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes