Closed GoogleCodeExporter closed 9 years ago
Hi David!
It looks that libmain.so is not correctly linked to the SDLActivity.
Can you paste here the complete console output generated when you run
compile.sh?
I've never tested eepp on Android 4 ( i'm working against 2.3 ), so i don't
know if it's working yet, the android port is not even close to be finished, so
you'll have to wait a little to see something stable ( and the SDL port is also
unstable as you can see, so i depend on that too ).
Original comment by spart...@gmail.com
on 28 Feb 2012 at 1:53
in my ndk i didnt check compile option , i just use your compile.sh and a tried wth my default ndk r7 , it compile well and i see the lib .
Error while mapping shared library sections:
/system/bin/linker: No such file or directory.
Error while mapping shared library sections:
libstdc++.so: No such file or directory.
Error while mapping shared library sections:
libm.so: No such file or directory.
Error while mapping shared library sections:
liblog.so: No such file or directory.
Error while mapping shared library sections:
libcutils.so: No such file or directory.
Error while mapping shared library sections:
libz.so: No such file or directory.
Error while mapping shared library sections:
libutils.so: No such file or directory.
Error while mapping shared library sections:
libbinder.so: No such file or directory.
Error while mapping shared library sections:
libexpat.so: No such file or directory.
Error while mapping shared library sections:
libcrypto.so: No such file or directory.
Error while mapping shared library sections:
libgabi++.so: No such file or directory.
Error while mapping shared library sections:
libicuuc.so: No such file or directory.
Error while mapping shared library sections:
libicui18n.so: No such file or directory.
Error while mapping shared library sections:
libssl.so: No such file or directory.
Error while mapping shared library sections:
libstlport.so: No such file or directory.
Error while mapping shared library sections:
libnativehelper.so: No such file or directory.
Error while mapping shared library sections:
libnetutils.so: No such file or directory.
Error while mapping shared library sections:
libGLESv2_dbg.so: No such file or directory.
Error while mapping shared library sections:
libEGL.so: No such file or directory.
Error while mapping shared library sections:
libwpa_client.so: No such file or directory.
Error while mapping shared library sections:
libhardware_legacy.so: No such file or directory.
Error while mapping shared library sections:
libpixelflinger.so: No such file or directory.
Error while mapping shared library sections:
libhardware.so: No such file or directory.
Error while mapping shared library sections:
libemoji.so: No such file or directory.
Error while mapping shared library sections:
libjpeg.so: No such file or directory.
Error while mapping shared library sections:
libskia.so: No such file or directory.
Error while mapping shared library sections:
libui.so: No such file or directory.
Error while mapping shared library sections:
libGLESv2.so: No such file or directory.
Error while mapping shared library sections:
libgui.so: No such file or directory.
Error while mapping shared library sections:
libcamera_client.so: No such file or directory.
Error while mapping shared library sections:
libsqlite.so: No such file or directory.
Error while mapping shared library sections:
libdvm.so: No such file or directory.
Error while mapping shared library sections:
libGLESv1_CM.so: No such file or directory.
Error while mapping shared library sections:
libETC1.so: No such file or directory.
Error while mapping shared library sections:
libsonivox.so: No such file or directory.
Error while mapping shared library sections:
libstagefright_foundation.so: No such file or directory.
Error while mapping shared library sections:
libmedia.so: No such file or directory.
Error while mapping shared library sections:
libnfc_ndef.so: No such file or directory.
Error while mapping shared library sections:
libusbhost.so: No such file or directory.
Error while mapping shared library sections:
libharfbuzz.so: No such file or directory.
Error while mapping shared library sections:
libhwui.so: No such file or directory.
Error while mapping shared library sections:
libbluedroid.so: No such file or directory.
Error while mapping shared library sections:
libdbus.so: No such file or directory.
Error while mapping shared library sections:
libandroid_runtime.so: No such file or directory.
Error while mapping shared library sections:
libvorbisidec.so: No such file or directory.
Error while mapping shared library sections:
libstagefright_yuv.so: No such file or directory.
Error while mapping shared library sections:
libdrmframework.so: No such file or directory.
Error while mapping shared library sections:
libchromium_net.so: No such file or directory.
Error while mapping shared library sections:
libstagefright_amrnb_common.so: No such file or directory.
Error while mapping shared library sections:
libstagefright_enc_common.so: No such file or directory.
Error while mapping shared library sections:
libstagefright_avc_common.so: No such file or directory.
Error while mapping shared library sections:
libstagefright.so: No such file or directory.
Error while mapping shared library sections:
libmtp.so: No such file or directory.
Error while mapping shared library sections:
libexif.so: No such file or directory.
Error while mapping shared library sections:
libmedia_jni.so: No such file or directory.
Error while mapping shared library sections:
libbcc.so: No such file or directory.
Error while mapping shared library sections:
libbcinfo.so: No such file or directory.
Error while mapping shared library sections:
libRS.so: No such file or directory.
Error while mapping shared library sections:
librs_jni.so: No such file or directory.
Error while mapping shared library sections:
libandroid.so: No such file or directory.
Error while mapping shared library sections:
libwebcore.so: No such file or directory.
Error while mapping shared library sections:
libGLES_android.so: No such file or directory.
Error while mapping shared library sections:
libsrv_um.so: No such file or directory.
Error while mapping shared library sections:
libIMGegl.so: No such file or directory.
Error while mapping shared library sections:
libEGL_POWERVR_SGX540_120.so: No such file or directory.
Error while mapping shared library sections:
libusc.so: No such file or directory.
Error while mapping shared library sections:
libGLESv1_CM_POWERVR_SGX540_120.so: No such file or directory.
Error while mapping shared library sections:
libGLESv2_POWERVR_SGX540_120.so: No such file or directory.
Error while mapping shared library sections:
libpvrANDROID_WSEGL.so: No such file or directory.
Error while mapping shared library sections:
libpvr2d.so: No such file or directory.
Error while mapping shared library sections:
gralloc.s5pc110.so: No such file or directory.
(no debugging symbols found)
(no debugging symbols found)
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
warning: shared library handler failed to enable breakpoint
0x400a566c in __ioctl ()
from /home/david/dbobjects/enginegame/eepp/android-project/obj/local/armeabi/libc.so
Original comment by Davidgui...@gmail.com
on 28 Feb 2012 at 9:46
Oh, now i know what's happening. Indeed, the __ioctl() error happens when
libmain.so can't be loaded, and that's because the library wasn't generated,
it's trying to compile against some source files that are not in the repository
( a game that i'm developing ).
I committed some changes to the repository, now compiles against empty_window
project, and use by default another android ABI. So if everything goes right
you'll see a circle and a rectangle rotating, nothing fancy, just for testing.
If you want to load resources you'll need to upload them to the sdcard of your
phone, or load them from the app APK ( i didn't test this, but it works, you
need to load the apk as a zip file with cZip class ). To upload data to your
sdcard look at data.sh file.
PD: I changed the format of the textures fonts a couple of days ago, so don't
try to use a texture font from the SDK, regenerate them, or just use ttf fonts.
Original comment by spart...@gmail.com
on 28 Feb 2012 at 3:04
Closed.
Original comment by spart...@gmail.com
on 30 Sep 2012 at 6:21
Original issue reported on code.google.com by
Davidgui...@gmail.com
on 28 Feb 2012 at 1:31