0

Android undefined reference to 'typeinfo for ajn::BusObject'

asked 2014-08-31 00:34:35 -0700

jayatubi gravatar image

Hi,

I get this link error when I add the alljoyn libs into my NDK project:

undefined reference to 'typeinfo for ajn::BusObject'

Does this means that alljoyn didn't enable RTTI while my project does? If I need the RTTI feature do I need to compile the Android libs by myself with RTTI on? If so how could I enable the RTTI for alljoyn libs?

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-09-01 20:57:57 -0700

jayatubi gravatar image

After repo the source of Android and grab the libssl.so/libcrypto.so from 4.0 device, I could recompile the AllJoyn with

 -frtti -fexceptions

Then the new generated .a/.o files could be used in my project without errors.

Hope there could be more variant pre-compiled versions of the libs from the SDK officially next time because the Android environment is really complicate to setup.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-08-31 00:34:35 -0700

Seen: 201 times

Last updated: Sep 01 '14