Overview
Features
Download
Documentation
Community
Add-Ons & Services

Android NDK runtime error

Please post support and help requests here.

Android NDK runtime error

Postby Mikhail » 04 Feb 2013, 15:52

Hi,

I built poco 1.4.6 with ndk r8d NDK_TOOLCHAIN_VERSION=4.6.
I created Android project with logic from Data:Samples:Binding and when I run it got following error when application is trying to load my shared library.

Cannon load library soinfo_relocate: cannont locate symbol "_ZN4Poco16RefCountedObjectC2Ev"

Am really grateful if somebody can help me.

Below are my project configuration:

Applicaton.mk /////////

APP_STL := gnustl_static
APP_CPPFLAGS := -frtti -fexceptions
APP_ABI := armeabi-v7a

Android.mk ////////

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := Sync
LOCAL_SRC_FILES := Sync.cpp

LOCAL_C_INCLUDES := /usr/local/poco-1.4.6/include
LOCAL_CFLAGS := -DPOCO_ANDROID -DPOCO_NO_FPENVIRONMENT -DPOCO_NO_WSTRING -DPOCO_NO_SHAREDMEMORY
LOCAL_LDFLAGS := /usr/local/poco-1.4.6/lib/libPocoUtild.a \
/usr/local/poco-1.4.6/lib/libPocoNetd.a \
/usr/local/poco-1.4.6/lib/libPocoFoundationd.a \
/usr/local/poco-1.4.6/lib/libPocoXMLd.a \
/usr/local/poco-1.4.6/lib/libPocoDatad.a \
/usr/local/poco-1.4.6/lib/libPocoDataSQLited.a
LOCAL_ALLOW_UNDEFINED_SYMBOLS :=true

include $(BUILD_SHARED_LIBRARY)
Mikhail
 
Posts: 1
Joined: 04 Feb 2013, 15:35

Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron