About Store Forum Documentation Contact



Post Reply 
Compiling for android: malloc_usable_size undefined
Author Message
Tottel Offline
Member

Post: #1
Compiling for android: malloc_usable_size undefined
Hi!

I was successfully compiling my application for Android a couple of weeks ago. I then was on a holiday, worked on other things and tested the same application on PC only.

Now, I want to try the application on my phone again, but I get the following compile error:

jni/../../source/izham_mem.cpp:125: error: undefined reference to 'malloc_usable_size'

Since the last working android build, I've updated EE several times. I haven't changed the AndroidSDK.

Any ideas on how to fix this?

Thanks!
01-09-2015 09:32 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Compiling for android: malloc_usable_size undefined
Thank you for reporting the issue, I'm investigating this right now.
01-09-2015 10:20 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #3
RE: Compiling for android: malloc_usable_size undefined
The issue is because of the new LZHAM compression library which I've integrated today, it uses a function that was removed from Android NDK.
I'll try to workaround this ASAP.
01-09-2015 10:38 AM
Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #4
RE: Compiling for android: malloc_usable_size undefined
Thanks Esenthel! smile
01-09-2015 10:43 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #5
RE: Compiling for android: malloc_usable_size undefined
The issue is now fixed in the source, I'm uploading binaries right now.
01-09-2015 11:02 AM
Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #6
RE: Compiling for android: malloc_usable_size undefined
Thanks a lot, Esenthel, that was super fast again! smile
01-09-2015 11:08 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #7
RE: Compiling for android: malloc_usable_size undefined
You're welcome smile
01-09-2015 11:13 AM
Find all posts by this user Quote this message in a reply
Post Reply