Is it possible that make ICEE support NDK development or having a plan for it?

kenchowcnkenchowcn Member Ken ChowOrganization: homeProject: android NDK
Dear ICE Developers,

ICE a great solution that I've ever seen for making networking interaction so flexible and safe, I just learn this framework for a few weeks, currently I am trying to move ICEE as a Dynamic library into android NDK, but C++ RTTI is not been supported in arm-linux-androideabi-g++, while arm-linux-gnueabi-g++ has supported, I understand why android should cut off RTTI, so, is it possible that make ICEE support NDK development now, or did you guys already have a plan for it?

Thanks,
Ken

Comments

  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi,

    Support for RTI, Excetions and STL is optional in Android NDK and you need to enable it see http://developer.android.com/ndk/guides/cpp-support.html
  • kenchowcnkenchowcn Member Ken ChowOrganization: homeProject: android NDK
    Hi, Xdm, thank you for your help, that really works, after one day dealing with NDK, I got another problem under below, I tried adding "APP_CPPFLAGS += -fexceptions -std=c++11", but still can't work, so please forgive me I have to bother you again.
    E:\JAVA\source\ICETest\jni\ICEinclude/Ice/Metrics.h:1849: error: undefined reference to 'vtable for IceMX::Metrics'
    E:/JAVA/NDK/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.exe: the vtable symbol may be undefined because the class is missing its key function
    E:\JAVA\source\ICETest\jni\ICEinclude/Ice/Metrics.h:1849: error: undefined reference to 'VTT for IceMX::Metrics'
    E:\JAVA\source\ICETest\jni\ICEinclude/Ice/Metrics.h:1849: error: undefined reference to 'vtable for IceUtil::Shared'
    E:/JAVA/NDK/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.exe: the vtable symbol may be undefined because the class is missing its key function
    E:\JAVA\source\ICETest\jni\ICEinclude/Ice/Connection.h:259: error: undefined reference to 'vtable for IceUtil::Shared'
    E:/JAVA/NDK/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.exe: the vtable symbol may be undefined because the class is missing its key function
    E:\JAVA\source\ICETest\jni\ICEinclude/Ice/FactoryTableInit.h:27: error: undefined reference to 'IceInternal::FactoryTableInit::FactoryTableInit() '
    E:\JAVA\source\ICETest\jni\ICEinclude/Ice/Exception.h:52: error: undefined reference to 'IceUtil::Exception::Exception()'
    E:\JAVA\source\ICETest\jni\ICEinclude/Ice/Connection.h:232: error: undefined reference to 'IceUtil::Shared::Shared()'
    E:\JAVA\source\ICETest\jni\ICEinclude/Ice/Exception.h:52: error: undefined reference to 'IceUtil::Exception::Exception()'
    E:\JAVA\source\ICETest\jni\ICEinclude/Ice/Exception.h:52: error: undefined reference to 'IceUtil::Exception::Exception()'
    E:\JAVA\source\ICETest\jni\ICEinclude/Ice/Metrics.h:1806: error: undefined reference to 'IceUtil::Shared::Shared()'
    jni/ICETest.cpp:12: error: undefined reference to 'IceInternal::FactoryTableInit::~FactoryTableInit( )'
    jni/ICETest.cpp:12: error: undefined reference to 'vtable for Ice::RemoteLoggerAlreadyAttachedException'
    E:/JAVA/NDK/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.exe: the vtable symbol may be undefined because the class is missing its key function
    jni/ICETest.cpp:12: error: undefined reference to 'Ice::RemoteLoggerAlreadyAttachedException::~Remot eLoggerAlreadyAttachedException()'
    jni/ICETest.cpp:12: error: undefined reference to 'vtable for Ice::AdapterNotFoundException'
    E:/JAVA/NDK/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.exe: the vtable symbol may be undefined because the class is missing its key function
    jni/ICETest.cpp:12: error: undefined reference to 'Ice::AdapterNotFoundException::~AdapterNotFoundEx ception()'
    jni/ICETest.cpp:12: error: undefined reference to 'vtable for IceMX::UnknownMetricsView'
    E:/JAVA/NDK/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.exe: the vtable symbol may be undefined because the class is missing its key function
    jni/ICETest.cpp:12: error: undefined reference to 'IceMX::UnknownMetricsView::~UnknownMetricsView()'
    jni/ICETest.cpp:12: error: undefined reference to 'VTT for IceMX::Metrics'
    jni/ICETest.cpp:12: error: undefined reference to 'vtable for IceMX::Metrics'
    E:/JAVA/NDK/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.exe: the vtable symbol may be undefined because the class is missing its key function
    ./obj/local/armeabi/objs/ICETest/ICETest.o:ICETest.cpp:typeinfo for Ice::ConnectionInfo: error: undefined reference to 'typeinfo for Ice::LocalObject'
    ./obj/local/armeabi/objs/ICETest/ICETest.o:ICETest.cpp:construction vtable for Ice::LocalObject-in-Ice::ConnectionInfo: error: undefined reference to 'typeinfo for Ice::LocalObject'
    ./obj/local/armeabi/objs/ICETest/ICETest.o:ICETest.cpp:construction vtable for Ice::LocalObject-in-Ice::ConnectionInfo: error: undefined reference to 'Ice::LocalObject::operator==(Ice::LocalObject const&) const'
    ./obj/local/armeabi/objs/ICETest/ICETest.o:ICETest.cpp:construction vtable for Ice::LocalObject-in-Ice::ConnectionInfo: error: undefined reference to 'Ice::LocalObject::operator<(Ice::LocalObject const&) const'
    ./obj/local/armeabi/objs/ICETest/ICETest.o:ICETest.cpp:construction vtable for Ice::LocalObject-in-Ice::ConnectionInfo: error: undefined reference to 'typeinfo for Ice::LocalObject'
    ./obj/local/armeabi/objs/ICETest/ICETest.o:ICETest.cpp:construction vtable for Ice::LocalObject-in-Ice::ConnectionInfo: error: undefined reference to 'IceUtil::Shared::__incRef()'
    ./obj/local/armeabi/objs/ICETest/ICETest.o:ICETest.cpp:construction vtable for Ice::LocalObject-in-Ice::ConnectionInfo: error: undefined reference to 'IceUtil::Shared::__decRef()'
    ./obj/local/armeabi/objs/ICETest/ICETest.o:ICETest.cpp:construction vtable for Ice::LocalObject-in-Ice::ConnectionInfo: error: undefined reference to 'IceUtil::Shared::__getRef() const'
    ./obj/local/armeabi/objs/ICETest/ICETest.o:ICETest.cpp:construction vtable for Ice::LocalObject-in-Ice::ConnectionInfo: error: undefined reference to 'IceUtil::Shared::__setNoDelete(bool)'
    ./obj/local/armeabi/objs/ICETest/ICETest.o:ICETest.cpp:vtable for Ice::ConnectionInfo: error: undefined reference to 'Ice::LocalObject::operator==(Ice::LocalObject const&) const'
    ./obj/local/armeabi/objs/ICETest/ICETest.o:ICETest.cpp:vtable for Ice::ConnectionInfo: error: undefined reference to 'Ice::LocalObject::operator<(Ice::LocalObject const&) const'
    ./obj/local/armeabi/objs/ICETest/ICETest.o:ICETest.cpp:vtable for Ice::ConnectionInfo: error: undefined reference to 'IceUtil::Shared::__incRef()'
    ./obj/local/armeabi/objs/ICETest/ICETest.o:ICETest.cpp:vtable for Ice::ConnectionInfo: error: undefined reference to 'IceUtil::Shared::__decRef()'
    ./obj/local/armeabi/objs/ICETest/ICETest.o:ICETest.cpp:vtable for Ice::ConnectionInfo: error: undefined reference to 'IceUtil::Shared::__getRef() const'
    ./obj/local/armeabi/objs/ICETest/ICETest.o:ICETest.cpp:vtable for Ice::ConnectionInfo: error: undefined reference to 'IceUtil::Shared::__setNoDelete(bool)'
    collect2.exe: error: ld returned 1 exit status
    make.exe: *** [obj/local/armeabi/libICETest.so] Error 1
    
  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    It's difficult to say without looking at your build Makefiles, but given that there are many missing symbols from IceUtil, I guess you didn't build it or you did not linked it with your libICETest.so
  • kenchowcnkenchowcn Member Ken ChowOrganization: homeProject: android NDK
    hi, xdm, sorry for replying late, I'm still struggling with this problem, and I still appreciate your diagnosis, thank you so much.

    1. I built all ICE needs library with NDK-BUILD, which refers:
    libbz2.a  libcrypto.a  libIce.a  libIceUtil.a  libiconv.so  libifaddrs.a  libssl.a
    

    2. I was trying to compile hello which is from https://github.com/zeroc-ice/ice-demos/tree/master/cpp/Ice/hello

    3. this is my Android.mk:
    LOCAL_PATH := $(call my-dir)
    
    APP_PLATFORM := android-19
    
    include $(CLEAR_VARS)
    LOCAL_MODULE := Server
    
    LOCAL_CFLAGS += -fexceptions -frtti -std=c++11
    
    LOCAL_LDLIBS := $(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/libgnustl_static.a \
                                    $(LOCAL_PATH)/exlibs/libbz2.a \
                                    $(LOCAL_PATH)/exlibs/libifaddrs.a \
                                    $(LOCAL_PATH)/exlibs/libcrypto.a \
                                    $(LOCAL_PATH)/exlibs/libssl.a \
                                    $(LOCAL_PATH)/exlibs/libIceUtil.a \
                                    $(LOCAL_PATH)/exlibs/libIce.a \
                                    $(LOCAL_PATH)/exlibs/libiconv.so
    
    LOCAL_C_INCLUDES := $(LOCAL_PATH) \
                                            $(NDK_HOME)/icee/include \
                                            $(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/4.8/include \
                                            $(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include \
                                            $(NDK_HOME)/openssl/include \
                                            $(NDK_HOME)/bzip2 \
                                            $(NDK_HOME)/android-ifaddrs \
                                            $(NDK_HOME)/libiconv-1.14/include \
                                            $(NDK_HOME)/sources/android/support/include/ \
                                            $(NDK_HOME)/platforms/android-21/arch-arm/usr/include/
    
    LOCAL_SRC_FILES := $(LOCAL_PATH)/HelloI.cpp \
                                       $(LOCAL_PATH)/Server.cpp \
                                       $(LOCAL_PATH)/Hello.cpp
    
    
    include $(CLEAR_VARS)
    LOCAL_MODULE := Client
    
    LOCAL_CFLAGS += -fexceptions -frtti -std=c++11
    
    LOCAL_LDLIBS := $(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/libgnustl_static.a \
                                    $(LOCAL_PATH)/exlibs/libbz2.a \
                                    $(LOCAL_PATH)/exlibs/libifaddrs.a \
                                    $(LOCAL_PATH)/exlibs/libcrypto.a \
                                    $(LOCAL_PATH)/exlibs/libssl.a \
                                    $(LOCAL_PATH)/exlibs/libIceUtil.a \
                                    $(LOCAL_PATH)/exlibs/libIce.a \
                                    $(LOCAL_PATH)/exlibs/libiconv.so
    
    LOCAL_C_INCLUDES := $(LOCAL_PATH) \
                                            $(NDK_HOME)/icee/include \
                                            $(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/4.8/include \
                                            $(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include \
                                            $(NDK_HOME)/openssl/include \
                                            $(NDK_HOME)/bzip2 \
                                            $(NDK_HOME)/android-ifaddrs \
                                            $(NDK_HOME)/libiconv-1.14/include \
                                            $(NDK_HOME)/sources/android/support/include/ \
                                            $(NDK_HOME)/platforms/android-21/arch-arm/usr/include/
    
    LOCAL_SRC_FILES := $(LOCAL_PATH)/Client.cpp \
                                         $(LOCAL_PATH)/HelloI.cpp \
                                         $(LOCAL_PATH)/Hello.cpp
    
    include $(BUILD_EXECUTABLE)
    

    4. this is ndk-build log:
    [email protected]:~/NDK/hello$ readelf -a exlibs/libIce.a | grep -i machine | head -1
      Machine:                           ARM
    [email protected]:~/NDK/hello$ ls exlibs/
    libbz2.a  libcrypto.a  libIce.a  libIceUtil.a  libiconv.so  libifaddrs.a  libssl.a
    [email protected]:~/NDK/hello$ cat build.sh 
    #!/bin/bash
    ndk-build $1 V=1 NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk
    [email protected]:~/NDK/hello$ sh build.sh 
    Android NDK: WARNING:Android.mk:Client: non-system libraries in linker flags: /opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/libgnustl_static.a ./exlibs/libbz2.a ./exlibs/libifaddrs.a ./exlibs/libcrypto.a ./exlibs/libssl.a ./exlibs/libIceUtil.a ./exlibs/libIce.a ./exlibs/libiconv.so    
    Android NDK:     This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES    
    Android NDK:     or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the    
    Android NDK:     current module    
    rm -f ./libs/arm64-v8a/lib*.so ./libs/armeabi/lib*.so ./libs/armeabi-v7a/lib*.so ./libs/armeabi-v7a-hard/lib*.so ./libs/mips/lib*.so ./libs/mips64/lib*.so ./libs/x86/lib*.so ./libs/x86_64/lib*.so
    rm -f ./libs/arm64-v8a/gdbserver ./libs/armeabi/gdbserver ./libs/armeabi-v7a/gdbserver ./libs/armeabi-v7a-hard/gdbserver ./libs/mips/gdbserver ./libs/mips64/gdbserver ./libs/x86/gdbserver ./libs/x86_64/gdbserver
    rm -f ./libs/arm64-v8a/gdb.setup ./libs/armeabi/gdb.setup ./libs/armeabi-v7a/gdb.setup ./libs/armeabi-v7a-hard/gdb.setup ./libs/mips/gdb.setup ./libs/mips64/gdb.setup ./libs/x86/gdb.setup ./libs/x86_64/gdb.setup
    [armeabi] Executable     : Client
    /opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -Wl,--gc-sections -Wl,-z,nocopyreloc --sysroot=/opt/android-ndk-r10e/platforms/android-3/arch-arm -Wl,-rpath-link=/opt/android-ndk-r10e/platforms/android-3/arch-arm/usr/lib -Wl,-rpath-link=./obj/local/armeabi ./obj/local/armeabi/objs/Client/./Client.o ./obj/local/armeabi/objs/Client/./HelloI.o ./obj/local/armeabi/objs/Client/./Hello.o ./obj/local/armeabi/libstdc++.a -lgcc -no-canonical-prefixes  -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -mthumb  -L/opt/android-ndk-r10e/platforms/android-3/arch-arm/usr/lib /opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/libgnustl_static.a ./exlibs/libbz2.a ./exlibs/libifaddrs.a ./exlibs/libcrypto.a ./exlibs/libssl.a ./exlibs/libIceUtil.a ./exlibs/libIce.a ./exlibs/libiconv.so -lstdc++ /opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/libsupc++.a -lc -lm -o ./obj/local/armeabi/Client
    /opt/Ice-3.6.1/include/Ice/Metrics.h:1848: error: undefined reference to 'vtable for IceMX::Metrics'
    /opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
    /opt/Ice-3.6.1/include/Ice/Metrics.h:1848: error: undefined reference to 'VTT for IceMX::Metrics'
    /opt/android-ndk-r10e/icee/include/Ice/Handle.h:86: error: undefined reference to 'Ice::upCast(Ice::Communicator*)'
    ././Client.cpp:227: error: undefined reference to 'vtable for Ice::RemoteLoggerAlreadyAttachedException'
    /opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
    ././Client.cpp:227: error: undefined reference to 'Ice::RemoteLoggerAlreadyAttachedException::~RemoteLoggerAlreadyAttachedException()'
    ././Client.cpp:227: error: undefined reference to 'vtable for Ice::AdapterNotFoundException'
    /opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
    ././IceUtil/Exception.cpp:441: error: undefined reference to 'std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)'
    /opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/include/sstream:584: error: undefined reference to 'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const'
    
    ...many,so many undefineds
    
    ././Hello.cpp:238: error: undefined reference to 'Ice::OperationNotExistException::OperationNotExistException(char const*, int, Ice::Identity const&, std::string const&, std::string const&)'
    ././Hello.cpp:270: error: undefined reference to 'Ice::OperationNotExistException::OperationNotExistException(char const*, int, Ice::Identity const&, std::string const&, std::string const&)'
    ././Hello.cpp:271: error: undefined reference to 'typeinfo for Ice::OperationNotExistException'
    ././Hello.cpp:271: error: undefined reference to 'Ice::OperationNotExistException::~OperationNotExistException()'
    ./include/IceUtil/Monitor.h:232: error: undefined reference to 'IceUtil::Cond::broadcast()'
    ./include/Ice/Handle.h:86: error: undefined reference to 'Ice::upCast(Ice::TCPConnectionInfo*)'
    ./include/Ice/Handle.h:46: error: undefined reference to 'Ice::upCast(Ice::TCPConnectionInfo*)'
    ./include/Ice/Handle.h:86: error: undefined reference to 'Ice::upCast(Ice::WSConnectionInfo*)'
    ./include/Ice/Handle.h:46: error: undefined reference to 'Ice::upCast(Ice::WSConnectionInfo*)'
    ./include/Ice/Handle.h:57: error: undefined reference to 'Ice::upCast(Ice::TCPConnectionInfo*)'
    collect2: error: ld returned 1 exit status
    make: *** [obj/local/armeabi/Client] Error 1
    [email protected]:~/NDK/hello$ 
    
  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    one thing that first come to mind here is that the link order doesn't seems correct, try to put Ice before IceUtil and both before the other libraries, try something like this
    LOCAL_LDLIBS :=                 $(LOCAL_PATH)/exlibs/libIce.a \
                                    $(LOCAL_PATH)/exlibs/libIceUtil.a \
                                    $(LOCAL_PATH)/exlibs/libbz2.a \
                                    $(LOCAL_PATH)/exlibs/libifaddrs.a \
                                    $(LOCAL_PATH)/exlibs/libcrypto.a \
                                    $(LOCAL_PATH)/exlibs/libssl.a \
                                    $(LOCAL_PATH)/exlibs/libiconv.so \
                                    $(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/libgnustl_static.a
    
  • kenchowcnkenchowcn Member Ken ChowOrganization: homeProject: android NDK
    After making a change as you said, still not working, this is partial of log :
    [COLOR=#4C2F2D][FONT=Courier][armeabi] Executable     : Client[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -Wl,--gc-sections -Wl,-z,nocopyreloc --sysroot=/opt/android-ndk-r10e/platforms/android-3/arch-arm -Wl,-rpath-link=/opt/android-ndk-r10e/platforms/android-3/arch-arm/usr/lib -Wl,-rpath-link=./obj/local/armeabi ./obj/local/armeabi/objs/Client/./Client.o ./obj/local/armeabi/objs/Client/./HelloI.o ./obj/local/armeabi/objs/Client/./Hello.o ./obj/local/armeabi/libstdc++.a -lgcc -no-canonical-prefixes  -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -mthumb  -L/opt/android-ndk-r10e/platforms/android-3/arch-arm/usr/lib [COLOR=#FF0000]./exlibs/libIce.a ./exlibs/libIceUtil.a ./exlibs/libbz2.a ./exlibs/libifaddrs.a ./exlibs/libcrypto.a ./exlibs/libssl.a ./exlibs/libiconv.so /opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/libgnustl_static.a[/COLOR] -lstdc++ /opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/libsupc++.a -lc -lm -o ./obj/local/armeabi/Client[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/Ice-3.6.1/include/Ice/Metrics.h:1848: error: undefined reference to 'vtable for IceMX::Metrics'[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/Ice-3.6.1/include/Ice/Metrics.h:1848: error: undefined reference to 'VTT for IceMX::Metrics'[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/android-ndk-r10e/icee/include/Ice/Handle.h:86: error: undefined reference to 'Ice::upCast(Ice::Communicator*)'[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]././Client.cpp:227: error: undefined reference to 'vtable for Ice::RemoteLoggerAlreadyAttachedException'[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function[/FONT][/COLOR]
    

    BTW: Is there any LOCAL_CFLAGS that I should being configured or other parameters affected?
  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Can your libIce.a be missing some object files?

    You can check the contents with
    ar -vt libIce.a
    

    By looking at android doc doesn't seems that your use of LOCAL_LDLIBS is quite correct, I think you should be using LOCAL_STATIC_LIBRARIES and LOCAL_SHARED_LIBRARIES instead to refer the static and shared libraries respectively.
    APP_STL := gnustl_static
    LOCAL_STATIC_LIBRARIES := Ice IceUtil bz2 ifaddrs crypto ssl
    LOCAL_SHARED_LIBRARIES := iconv
    

    This assumes the local modules for the libraries match the names in LOCAL_STATIC_LIBRARIES and LOCAL_SHARED_LIBRARIES
  • kenchowcnkenchowcn Member Ken ChowOrganization: homeProject: android NDK
    I have tried everything, and still can't compile successfully.
    http://stackoverflow.com/questions/1...static-library I also tried this method,it does't work in my system.

    MUST BE something wrong, BUT I have no idea where is it, I need more eyes, thanks, xdm!

    ar -vt libIce.a:
    [COLOR=#492BD9][FONT=Courier][COLOR=#1aad11][B][email protected][/B][/COLOR][COLOR=#4c2f2d]:[/COLOR][B]~/NDK/hello[/B][COLOR=#4c2f2d]$ ls[/COLOR][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]Android.mk      [COLOR=#1aad11][B]build.sh[/B][/COLOR]    config.client  [COLOR=#492bd9][B]exlibs[/B][/COLOR]     Hello.h    HelloI.cpp  [COLOR=#492bd9][B]libs[/B][/COLOR]      [COLOR=#492bd9][B]obj[/B][/COLOR][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]Application.mk  Client.cpp  config.server  Hello.cpp  Hello.ice  HelloI.h    Makefile  Server.cpp[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][COLOR=#1aad11][B][email protected][/B][/COLOR]:[COLOR=#492bd9][B]~/NDK/hello[/B][/COLOR]$ [COLOR=#B22222][B]ar -vt exlibs/libIce.a[/B][/COLOR][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 336064 Jan  1 08:00 1970 Acceptor.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 657968 Jan  1 08:00 1970 ACM.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 645300 Jan  1 08:00 1970 Application.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 646040 Jan  1 08:00 1970 AsyncResult.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  90088 Jan  1 08:00 1970 Base64.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1524040 Jan  1 08:00 1970 BasicStream.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 472484 Jan  1 08:00 1970 BatchRequestQueue.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  34516 Jan  1 08:00 1970 Buffer.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 896504 Jan  1 08:00 1970 CollocatedRequestHandler.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 575984 Jan  1 08:00 1970 CommunicatorI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1344440 Jan  1 08:00 1970 ConnectionFactory.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1453860 Jan  1 08:00 1970 ConnectionI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 412280 Jan  1 08:00 1970 ConnectionRequestHandler.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  22900 Jan  1 08:00 1970 Connector.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 670088 Jan  1 08:00 1970 ConnectRequestHandler.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 438292 Jan  1 08:00 1970 DefaultsAndOverrides.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 379232 Jan  1 08:00 1970 DeprecatedStringConverter.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 373792 Jan  1 08:00 1970 DispatchInterceptor.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 116408 Jan  1 08:00 1970 DynamicLibrary.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 380208 Jan  1 08:00 1970 EndpointFactory.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 513824 Jan  1 08:00 1970 EndpointFactoryManager.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 143712 Jan  1 08:00 1970 EndpointI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 351884 Jan  1 08:00 1970 EventHandler.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 509400 Jan  1 08:00 1970 Exception.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 267216 Jan  1 08:00 1970 FactoryTable.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 175448 Jan  1 08:00 1970 FactoryTableInit.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 289608 Jan  1 08:00 1970 GCObject.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 472728 Jan  1 08:00 1970 HttpParser.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 590556 Jan  1 08:00 1970 ImplicitContextI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 666932 Jan  1 08:00 1970 Incoming.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 521196 Jan  1 08:00 1970 IncomingAsync.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 568104 Jan  1 08:00 1970 Initialize.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1400764 Jan  1 08:00 1970 Instance.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 6025484 Jan  1 08:00 1970 InstrumentationI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 856152 Jan  1 08:00 1970 IPEndpointI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  42928 Jan  1 08:00 1970 LocalObject.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1424180 Jan  1 08:00 1970 LocatorInfo.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1053944 Jan  1 08:00 1970 LoggerAdminI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 143676 Jan  1 08:00 1970 LoggerI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 392304 Jan  1 08:00 1970 LoggerUtil.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1226716 Jan  1 08:00 1970 MetricsAdminI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 442332 Jan  1 08:00 1970 MetricsObserverI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 645984 Jan  1 08:00 1970 Network.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 468156 Jan  1 08:00 1970 NetworkProxy.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 578220 Jan  1 08:00 1970 Object.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 520996 Jan  1 08:00 1970 ObjectAdapterFactory.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1226616 Jan  1 08:00 1970 ObjectAdapterI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 183572 Jan  1 08:00 1970 ObjectFactoryManager.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 391364 Jan  1 08:00 1970 ObserverHelper.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 585020 Jan  1 08:00 1970 OpaqueEndpointI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 588016 Jan  1 08:00 1970 Outgoing.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 712004 Jan  1 08:00 1970 OutgoingAsync.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 841464 Jan  1 08:00 1970 PluginManagerI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 537652 Jan  1 08:00 1970 PropertiesAdminI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 721980 Jan  1 08:00 1970 PropertiesI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 311812 Jan  1 08:00 1970 PropertyNames.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  89040 Jan  1 08:00 1970 Protocol.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 408100 Jan  1 08:00 1970 ProtocolInstance.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 373084 Jan  1 08:00 1970 ProtocolPluginFacade.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 906984 Jan  1 08:00 1970 Proxy.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 490988 Jan  1 08:00 1970 ProxyFactory.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1171208 Jan  1 08:00 1970 Reference.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 870256 Jan  1 08:00 1970 ReferenceFactory.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 339712 Jan  1 08:00 1970 RegisterPluginsInit.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 375628 Jan  1 08:00 1970 RequestHandler.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 478200 Jan  1 08:00 1970 RequestHandlerFactory.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  44824 Jan  1 08:00 1970 ResponseHandler.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 530996 Jan  1 08:00 1970 RetryQueue.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 887780 Jan  1 08:00 1970 RouterInfo.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 493516 Jan  1 08:00 1970 Selector.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 727736 Jan  1 08:00 1970 ServantManager.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 113188 Jan  1 08:00 1970 SliceChecksums.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 399620 Jan  1 08:00 1970 SlicedData.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 342232 Jan  1 08:00 1970 Stream.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 669932 Jan  1 08:00 1970 StreamI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 433356 Jan  1 08:00 1970 StreamSocket.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 464000 Jan  1 08:00 1970 StringConverterPlugin.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 420596 Jan  1 08:00 1970 TcpAcceptor.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 380348 Jan  1 08:00 1970 TcpConnector.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 586748 Jan  1 08:00 1970 TcpEndpointI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 467888 Jan  1 08:00 1970 TcpTransceiver.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 936200 Jan  1 08:00 1970 ThreadPool.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 352420 Jan  1 08:00 1970 TraceLevels.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 462816 Jan  1 08:00 1970 TraceUtil.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 356724 Jan  1 08:00 1970 Transceiver.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 375240 Jan  1 08:00 1970 UdpConnector.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 583256 Jan  1 08:00 1970 UdpEndpointI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 543984 Jan  1 08:00 1970 UdpTransceiver.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 400608 Jan  1 08:00 1970 WSAcceptor.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 379288 Jan  1 08:00 1970 WSConnector.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 591016 Jan  1 08:00 1970 WSEndpoint.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 611856 Jan  1 08:00 1970 WSTransceiver.o[/FONT][/COLOR]
      
      
    
  • kenchowcnkenchowcn Member Ken ChowOrganization: homeProject: android NDK
    not enough space, so move it to here.

    android.mk && application.mk:
    [COLOR=#4C2F2D][FONT=Courier][COLOR=#1AAD11][B][email protected][/B][/COLOR]:[COLOR=#492BD9][B]~/NDK/hello[/B][/COLOR]$ [B][COLOR=#B22222]cat build.sh [/COLOR][/B][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]#!/bin/bash[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]ndk-build $1 V=1 NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk NDK_APP_APPLICATION_MK=./Application.mk[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][COLOR=#1AAD11][B][email protected][/B][/COLOR]:[COLOR=#492BD9][B]~/NDK/hello[/B][/COLOR]$ [B][COLOR=#B22222]cat Android.mk [/COLOR][/B][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_PATH := $(call my-dir)[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]TARGET_PLATFORM := android-19[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]TARGET_ARCH_ABI := armeabi[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := Server[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_CFLAGS += -fexceptions -frtti -std=c++11[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]#LOCAL_LDLIBS := -llog -L$(LOCAL_PATH)/exlibs/ -lIce -lIceUtil -lbz2 -lifaddrs -lcrypto -lssl[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_STATIC_LIBRARIES := Ice IceUtil bz2 ifaddrs crypto ssl[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SHARED_LIBRARIES := iconv[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_C_INCLUDES := $(LOCAL_PATH) \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/icee/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/4.8/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/openssl/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/bzip2 \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/android-ifaddrs \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/libiconv-1.14/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/sources/android/support/include/ \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/platforms/android-19/arch-arm/usr/include/[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := $(LOCAL_PATH)/HelloI.cpp \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                   $(LOCAL_PATH)/Server.cpp \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                   $(LOCAL_PATH)/Hello.cpp[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]include $(BUILD_EXECUTABLE)[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := Client[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_CFLAGS += -fexceptions -frtti -std=c++11[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]#LOCAL_LDLIBS := -llog -L$(LOCAL_PATH)/exlibs/ -lIce -lIceUtil -lbz2 -lifaddrs -lcrypto -lssl[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_STATIC_LIBRARIES := Ice IceUtil bz2 ifaddrs crypto ssl[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SHARED_LIBRARIES := iconv[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_C_INCLUDES := $(LOCAL_PATH) \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/icee/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/4.8/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/openssl/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/bzip2 \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/android-ifaddrs \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/libiconv-1.14/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/sources/android/support/include/ \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                        $(NDK_HOME)/platforms/android-19/arch-arm/usr/include/[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := $(LOCAL_PATH)/Client.cpp \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                     $(LOCAL_PATH)/HelloI.cpp \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]                                     $(LOCAL_PATH)/Hello.cpp[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]include $(BUILD_EXECUTABLE)[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := iconv[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := $(LOCAL_PATH)/exlibs/libiconv.so[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(PREBUILT_SHARED_LIBRARY)[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := Ice[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := $(LOCAL_PATH)/exlibs/libIce.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(PREBUILT_STATIC_LIBRARY)[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := IceUtil[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := $(LOCAL_PATH)/exlibs/libIceUtil.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(PREBUILT_STATIC_LIBRARY)[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := bz2[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := $(LOCAL_PATH)/exlibs/libbz2.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(PREBUILT_STATIC_LIBRARY)[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := ifaddrs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := $(LOCAL_PATH)/exlibs/libifaddrs.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(PREBUILT_STATIC_LIBRARY)[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := crypto[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := $(LOCAL_PATH)/exlibs/libcrypto.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(PREBUILT_STATIC_LIBRARY)[/FONT][/COLOR]
      
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := ssl[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := $(LOCAL_PATH)/exlibs/libssl.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(PREBUILT_STATIC_LIBRARY)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][COLOR=#1AAD11][B][email protected][/B][/COLOR]:[COLOR=#492BD9][B]~/NDK/hello[/B][/COLOR]$ [B][COLOR=#B22222]cat Application.mk [/COLOR][/B][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]NDK_TOOLCHAIN_VERSION = 4.8[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]APP_PLATFORM := android-19[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]TARGET_PLATFORM := android-19[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]APP_STL := gnustl_static[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]APP_ABI := armeabi[/FONT][/COLOR]
      
    
  • kenchowcnkenchowcn Member Ken ChowOrganization: homeProject: android NDK
    ndk-build log:
    [COLOR=#4C2F2D][FONT=Courier][COLOR=#1AAD11][B][email protected][/B][/COLOR]:[COLOR=#492BD9][B]~/NDK/hello[/B][/COLOR]$[COLOR=#FF0000][B] sh build.sh clean && sh build.sh[/B] [/COLOR][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : Client [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/Client ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : Ice [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : IceUtil [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : Server [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/Server ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : bz2 [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : crypto [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : iconv [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/libiconv.so ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : ifaddrs [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : ssl [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : stdc++ [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/libstdc++.a ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -f  [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -f   [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -f ./libs/arm64-v8a/lib*.so ./libs/armeabi/lib*.so ./libs/armeabi-v7a/lib*.so ./libs/armeabi-v7a-hard/lib*.so ./libs/mips/lib*.so ./libs/mips64/lib*.so ./libs/x86/lib*.so ./libs/x86_64/lib*.so[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -f ./libs/arm64-v8a/gdbserver ./libs/armeabi/gdbserver ./libs/armeabi-v7a/gdbserver ./libs/armeabi-v7a-hard/gdbserver ./libs/mips/gdbserver ./libs/mips64/gdbserver ./libs/x86/gdbserver ./libs/x86_64/gdbserver[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -f ./libs/arm64-v8a/gdb.setup ./libs/armeabi/gdb.setup ./libs/armeabi-v7a/gdb.setup ./libs/armeabi-v7a-hard/gdb.setup ./libs/mips/gdb.setup ./libs/mips64/gdb.setup ./libs/x86/gdb.setup ./libs/x86_64/gdb.setup[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -f ./libs/arm64-v8a/lib*.so ./libs/armeabi/lib*.so ./libs/armeabi-v7a/lib*.so ./libs/armeabi-v7a-hard/lib*.so ./libs/mips/lib*.so ./libs/mips64/lib*.so ./libs/x86/lib*.so ./libs/x86_64/lib*.so[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -f ./libs/arm64-v8a/gdbserver ./libs/armeabi/gdbserver ./libs/armeabi-v7a/gdbserver ./libs/armeabi-v7a-hard/gdbserver ./libs/mips/gdbserver ./libs/mips64/gdbserver ./libs/x86/gdbserver ./libs/x86_64/gdbserver[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -f ./libs/arm64-v8a/gdb.setup ./libs/armeabi/gdb.setup ./libs/armeabi-v7a/gdb.setup ./libs/armeabi-v7a-hard/gdb.setup ./libs/mips/gdb.setup ./libs/mips64/gdb.setup ./libs/x86/gdb.setup ./libs/x86_64/gdb.setup[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Compile++ thumb: Client <= Client.cpp[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -MMD -MP -MF ./obj/local/armeabi/objs/Client/./Client.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -fno-exceptions -fno-rtti -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I. -I/opt/android-ndk-r10e/icee/include -I/opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/include -I/opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include -I/opt/android-ndk-r10e/openssl/include -I/opt/android-ndk-r10e/bzip2 -I/opt/android-ndk-r10e/android-ifaddrs -I/opt/android-ndk-r10e/libiconv-1.14/include -I/opt/android-ndk-r10e/sources/android/support/include/ -I/opt/android-ndk-r10e/platforms/android-19/arch-arm/usr/include/ -I/opt/android-ndk-r10e/sources/cxx-stl/system/include -I. -DANDROID -std=c++11 -Wa,--noexecstack -Wformat -Werror=format-security  -frtti -fexceptions     -I/opt/android-ndk-r10e/platforms/android-3/arch-arm/usr/include -c  ././Client.cpp -o ./obj/local/armeabi/objs/Client/./Client.o [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Compile++ thumb: Client <= HelloI.cpp[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -MMD -MP -MF ./obj/local/armeabi/objs/Client/./HelloI.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -fno-exceptions -fno-rtti -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I. -I/opt/android-ndk-r10e/icee/include -I/opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/include -I/opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include -I/opt/android-ndk-r10e/openssl/include -I/opt/android-ndk-r10e/bzip2 -I/opt/android-ndk-r10e/android-ifaddrs -I/opt/android-ndk-r10e/libiconv-1.14/include -I/opt/android-ndk-r10e/sources/android/support/include/ -I/opt/android-ndk-r10e/platforms/android-19/arch-arm/usr/include/ -I/opt/android-ndk-r10e/sources/cxx-stl/system/include -I. -DANDROID -std=c++11 -Wa,--noexecstack -Wformat -Werror=format-security  -frtti -fexceptions     -I/opt/android-ndk-r10e/platforms/android-3/arch-arm/usr/include -c  ././HelloI.cpp -o ./obj/local/armeabi/objs/Client/./HelloI.o [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Compile++ thumb: Client <= Hello.cpp[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -MMD -MP -MF ./obj/local/armeabi/objs/Client/./Hello.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -fno-exceptions -fno-rtti -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I. -I/opt/android-ndk-r10e/icee/include -I/opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/include -I/opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include -I/opt/android-ndk-r10e/openssl/include -I/opt/android-ndk-r10e/bzip2 -I/opt/android-ndk-r10e/android-ifaddrs -I/opt/android-ndk-r10e/libiconv-1.14/include -I/opt/android-ndk-r10e/sources/android/support/include/ -I/opt/android-ndk-r10e/platforms/android-19/arch-arm/usr/include/ -I/opt/android-ndk-r10e/sources/cxx-stl/system/include -I. -DANDROID -std=c++11 -Wa,--noexecstack -Wformat -Werror=format-security  -frtti -fexceptions     -I/opt/android-ndk-r10e/platforms/android-3/arch-arm/usr/include -c  ././Hello.cpp -o ./obj/local/armeabi/objs/Client/./Hello.o [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Prebuilt       : libiconv.so <= exlibs/[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][COLOR=#FF0000]cp -f exlibs/libiconv.so obj/local/armeabi/libiconv.so[/COLOR][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] StaticLibrary  : libstdc++.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -f obj/local/armeabi/libstdc++.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc-ar crsD ./obj/local/armeabi/libstdc++.a [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Executable     : Client[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -Wl,--gc-sections -Wl,-z,nocopyreloc --sysroot=/opt/android-ndk-r10e/platforms/android-3/arch-arm -Wl,-rpath-link=/opt/android-ndk-r10e/platforms/android-3/arch-arm/usr/lib -Wl,-rpath-link=./obj/local/armeabi ./obj/local/armeabi/objs/Client/./Client.o ./obj/local/armeabi/objs/Client/./HelloI.o ./obj/local/armeabi/objs/Client/./Hello.o ././exlibs/libIce.a ././exlibs/libIceUtil.a ././exlibs/libbz2.a ././exlibs/libifaddrs.a ././exlibs/libcrypto.a ././exlibs/libssl.a ./obj/local/armeabi/libstdc++.a -lgcc ./obj/local/armeabi/libiconv.so -no-canonical-prefixes  -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -mthumb  -L/opt/android-ndk-r10e/platforms/android-3/arch-arm/usr/lib -lstdc++ /opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/libsupc++.a -lc -lm -o ./obj/local/armeabi/Client[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/Ice-3.6.1/include/Ice/Metrics.h:1848: error: undefined reference to 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/Ice-3.6.1/include/Ice/Metrics.h:1848: error: undefined reference to 'vtable for IceMX::Metrics'[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function[/FONT][/COLOR]
    
  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Seems you are missing all generated code for Ice lib, you need to compile ice/slice/Ice/*.ice files with slice2cpp and then compile that generated code with the other .cpp files in cpp/src/Ice.

    Seems that you are also using the generated headers from a separate build otherwise libIce.a build must have failed, it is better to use the generated headers from you own build to ensure you are not mixing things.

    You might want to check the flags passed to slice2cpp in Ice source builds, at the very least you might need --ice and --include-dir Ice, note that Ice builds places headers into cpp/include/Ice and
  • kenchowcnkenchowcn Member Ken ChowOrganization: homeProject: android NDK
    It's going to forward a little bit, I think my libice.a has all files its need, but still have problem, I have seen that g++ is my compiler now, but I found the basic string got undefined,

    Shall I find another way to compile the ICE, I mean I should generate x86 platform project first ,and then change compiler to use arm-android-g++?
    [COLOR=#4C2F2D][FONT=Courier][COLOR=#1aad11][B][email protected][/B][/COLOR]:[COLOR=#492bd9][B]~/NDK/hello[/B][/COLOR]$ ar -vt ./exlibs/libIce.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 395356 Jan  1 08:00 1970 Acceptor.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 733052 Jan  1 08:00 1970 ACM.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 701556 Jan  1 08:00 1970 Application.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 734372 Jan  1 08:00 1970 AsyncResult.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  97156 Jan  1 08:00 1970 Base64.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1521476 Jan  1 08:00 1970 BasicStream.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 524656 Jan  1 08:00 1970 BatchRequestQueue.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  42796 Jan  1 08:00 1970 Buffer.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 996172 Jan  1 08:00 1970 CollocatedRequestHandler.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 677636 Jan  1 08:00 1970 CommunicatorI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1499700 Jan  1 08:00 1970 ConnectionFactory.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1552672 Jan  1 08:00 1970 ConnectionI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 481864 Jan  1 08:00 1970 ConnectionRequestHandler.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  29088 Jan  1 08:00 1970 Connector.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 742880 Jan  1 08:00 1970 ConnectRequestHandler.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 504924 Jan  1 08:00 1970 DefaultsAndOverrides.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 446132 Jan  1 08:00 1970 DeprecatedStringConverter.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 428684 Jan  1 08:00 1970 DispatchInterceptor.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 123880 Jan  1 08:00 1970 DynamicLibrary.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 448680 Jan  1 08:00 1970 EndpointFactory.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 584416 Jan  1 08:00 1970 EndpointFactoryManager.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 163284 Jan  1 08:00 1970 EndpointI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 418912 Jan  1 08:00 1970 EventHandler.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 571564 Jan  1 08:00 1970 Exception.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 310768 Jan  1 08:00 1970 FactoryTable.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 189368 Jan  1 08:00 1970 FactoryTableInit.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 306536 Jan  1 08:00 1970 GCObject.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 543724 Jan  1 08:00 1970 HttpParser.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 658412 Jan  1 08:00 1970 ImplicitContextI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 745940 Jan  1 08:00 1970 Incoming.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 581356 Jan  1 08:00 1970 IncomingAsync.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 673600 Jan  1 08:00 1970 Initialize.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1636212 Jan  1 08:00 1970 Instance.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 6505600 Jan  1 08:00 1970 InstrumentationI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 933224 Jan  1 08:00 1970 IPEndpointI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  34756 Jan  1 08:00 1970 LocalObject.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1569904 Jan  1 08:00 1970 LocatorInfo.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1141580 Jan  1 08:00 1970 LoggerAdminI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 160004 Jan  1 08:00 1970 LoggerI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 459084 Jan  1 08:00 1970 LoggerUtil.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1395196 Jan  1 08:00 1970 MetricsAdminI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 518160 Jan  1 08:00 1970 MetricsObserverI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 719020 Jan  1 08:00 1970 Network.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 534188 Jan  1 08:00 1970 NetworkProxy.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 640124 Jan  1 08:00 1970 Object.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 591852 Jan  1 08:00 1970 ObjectAdapterFactory.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1334836 Jan  1 08:00 1970 ObjectAdapterI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 206820 Jan  1 08:00 1970 ObjectFactoryManager.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 461888 Jan  1 08:00 1970 ObserverHelper.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 645208 Jan  1 08:00 1970 OpaqueEndpointI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 644252 Jan  1 08:00 1970 Outgoing.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 770616 Jan  1 08:00 1970 OutgoingAsync.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 929932 Jan  1 08:00 1970 PluginManagerI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 603752 Jan  1 08:00 1970 PropertiesAdminI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 853308 Jan  1 08:00 1970 PropertiesI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 314016 Jan  1 08:00 1970 PropertyNames.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 104452 Jan  1 08:00 1970 Protocol.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 475560 Jan  1 08:00 1970 ProtocolInstance.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 441804 Jan  1 08:00 1970 ProtocolPluginFacade.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1127204 Jan  1 08:00 1970 Proxy.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 564816 Jan  1 08:00 1970 ProxyFactory.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1289124 Jan  1 08:00 1970 Reference.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 970108 Jan  1 08:00 1970 ReferenceFactory.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 399884 Jan  1 08:00 1970 RegisterPluginsInit.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 437664 Jan  1 08:00 1970 RequestHandler.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 561588 Jan  1 08:00 1970 RequestHandlerFactory.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  37560 Jan  1 08:00 1970 ResponseHandler.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 609208 Jan  1 08:00 1970 RetryQueue.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 961992 Jan  1 08:00 1970 RouterInfo.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 560452 Jan  1 08:00 1970 Selector.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 839836 Jan  1 08:00 1970 ServantManager.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 143696 Jan  1 08:00 1970 SliceChecksums.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 455980 Jan  1 08:00 1970 SlicedData.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 401100 Jan  1 08:00 1970 Stream.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 728296 Jan  1 08:00 1970 StreamI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 502836 Jan  1 08:00 1970 StreamSocket.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 521084 Jan  1 08:00 1970 StringConverterPlugin.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 490252 Jan  1 08:00 1970 TcpAcceptor.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 448844 Jan  1 08:00 1970 TcpConnector.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 658340 Jan  1 08:00 1970 TcpEndpointI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 527976 Jan  1 08:00 1970 TcpTransceiver.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1036344 Jan  1 08:00 1970 ThreadPool.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 409788 Jan  1 08:00 1970 TraceLevels.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 546968 Jan  1 08:00 1970 TraceUtil.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 414824 Jan  1 08:00 1970 Transceiver.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 443628 Jan  1 08:00 1970 UdpConnector.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 655148 Jan  1 08:00 1970 UdpEndpointI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 614736 Jan  1 08:00 1970 UdpTransceiver.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 468372 Jan  1 08:00 1970 WSAcceptor.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 447700 Jan  1 08:00 1970 WSConnector.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 673352 Jan  1 08:00 1970 WSEndpoint.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 668568 Jan  1 08:00 1970 WSTransceiver.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 134424 Jan  1 08:00 1970 SysLoggerI.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 707436 Jan  1 08:00 1970 Service.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 365544 Jan  1 08:00 1970 BuiltinSequences.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 374520 Jan  1 08:00 1970 Instrumentation.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  29040 Jan  1 08:00 1970 PluginF.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 403660 Jan  1 08:00 1970 Communicator.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  29136 Jan  1 08:00 1970 InstrumentationF.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 618344 Jan  1 08:00 1970 Process.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  29088 Jan  1 08:00 1970 CommunicatorF.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1058548 Jan  1 08:00 1970 LocalException.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 393524 Jan  1 08:00 1970 ProcessF.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 410044 Jan  1 08:00 1970 Connection.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1402084 Jan  1 08:00 1970 Locator.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 837176 Jan  1 08:00 1970 PropertiesAdmin.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  29072 Jan  1 08:00 1970 ConnectionF.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 393524 Jan  1 08:00 1970 LocatorF.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 403632 Jan  1 08:00 1970 Properties.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 365484 Jan  1 08:00 1970 Current.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  29988 Jan  1 08:00 1970 Logger.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 393544 Jan  1 08:00 1970 PropertiesF.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 388824 Jan  1 08:00 1970 Endpoint.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  29040 Jan  1 08:00 1970 LoggerF.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1041008 Jan  1 08:00 1970 RemoteLogger.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  29056 Jan  1 08:00 1970 EndpointF.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 1728996 Jan  1 08:00 1970 Metrics.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 865668 Jan  1 08:00 1970 Router.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 365532 Jan  1 08:00 1970 EndpointTypes.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 398100 Jan  1 08:00 1970 ObjectAdapter.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 393512 Jan  1 08:00 1970 RouterF.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 365488 Jan  1 08:00 1970 FacetMap.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  29096 Jan  1 08:00 1970 ObjectAdapterF.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 366524 Jan  1 08:00 1970 ServantLocator.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 365496 Jan  1 08:00 1970 Identity.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 366512 Jan  1 08:00 1970 ObjectFactory.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  29104 Jan  1 08:00 1970 ServantLocatorF.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 378736 Jan  1 08:00 1970 ImplicitContext.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  29096 Jan  1 08:00 1970 ObjectFactoryF.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 365548 Jan  1 08:00 1970 SliceChecksumDict.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0  29116 Jan  1 08:00 1970 ImplicitContextF.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 367200 Jan  1 08:00 1970 Plugin.o[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rw-r--r-- 0/0 365484 Jan  1 08:00 1970 Version.o[/FONT][/COLOR]
    
    [COLOR=#4C2F2D][FONT=Courier][armeabi] Executable     : Client[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/[COLOR=#0000CD][B]arm-linux-androideabi-g++[/B][/COLOR] -Wl,--gc-sections -Wl,-z,nocopyreloc --sysroot=/opt/android-ndk-r10e/platforms/android-3/arch-arm -Wl,-rpath-link=/opt/android-ndk-r10e/platforms/android-3/arch-arm/usr/lib -Wl,-rpath-link=./obj/local/armeabi ./obj/local/armeabi/objs/Client/./Client.o ./obj/local/armeabi/objs/Client/./HelloI.o ./obj/local/armeabi/objs/Client/./Hello.o ././exlibs/[COLOR=#0000CD][B]libIce.a[/B][/COLOR] ././exlibs/[COLOR=#0000CD][B]libIceUtil.a[/B][/COLOR] ././exlibs/libbz2.a ././exlibs/libifaddrs.a ././exlibs/libcrypto.a ././exlibs/libssl.a ./obj/local/armeabi/[COLOR=#0000CD][B]libstdc++.a[/B][/COLOR] -lgcc ./obj/local/armeabi/libiconv.so -no-canonical-prefixes  -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -mthumb  -L/opt/android-ndk-r10e/platforms/android-3/arch-arm/usr/lib -lm -ldl -llog -[B][COLOR=#0000CD]lstdc++ [/COLOR][/B]/opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/libsupc++.a -lc -lm -o ./obj/local/armeabi/Client[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/Ice-3.6.1/include/Ice/Metrics.h:1848: error: [COLOR=#FF0000][B]undefined reference to 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'[/B][/COLOR][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]././Client.cpp:226: error: [COLOR=#FF0000][B]undefined reference to 'std::basic_ostream[/B][/COLOR]<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]././Client.cpp:227: error: undefined reference to 'std::cout'[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]././Client.cpp:51: error: undefined reference to 'std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]././Client.cpp:51: error: undefined reference to 'std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/include/ostream:113: error: undefined reference to 'std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)'[/FONT][/COLOR]
      
    
  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Shall I find another way to compile the ICE, I mean I should generate x86 platform project first ,and then change compiler to use arm-android-g++?

    I don't think you problems has anything to do with that

    Your build command line that seems corret
    ././exlibs/libbz2.a ././exlibs/libifaddrs.a ././exlibs/libcrypto.a ././exlibs/libssl.a ./obj/local/armeabi/libstdc++.a -lgcc ./obj/local/armeabi/libiconv.so
    

    Why are you not using LOCAL_STATIC_LIBRARIES and LOCAL_SHARED_LIBRARIES, and you should also set APP_STL to choose your runtime, seems that you are manually including it
  • kenchowcnkenchowcn Member Ken ChowOrganization: homeProject: android NDK
    Yes, it seems that I manually include it, but I really don't, I found that before, now, this is my newest ndk-build log.

    BTW: Why Zeroc doesn't publish an NDK development repository, if I succeed, I would like to make one put it on github, cool && useful, right?
    [COLOR=#4C2F2D][FONT=Courier][COLOR=#1aad11][B][email protected][/B][/COLOR]:[COLOR=#492bd9][B]~/NDK/hello[/B][/COLOR]$ cat Android.mk [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_PATH := $(call my-dir)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]TARGET_PLATFORM := android-19[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]TARGET_ARCH_ABI := armeabi[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := Server[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_CFLAGS += -fexceptions -frtti -std=c++11[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]#LOCAL_LDLIBS := -llog -L$(LOCAL_PATH)/exlibs/ -lIce -lIceUtil -lbz2 -lifaddrs -lcrypto -lssl[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_LDLIBS:= -lm -ldl -llog[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_STATIC_LIBRARIES := Ice IceUtil bz2 ifaddrs crypto ssl[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SHARED_LIBRARIES := iconv[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_C_INCLUDES := \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(LOCAL_PATH) \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/icee/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/4.8/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/openssl/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/bzip2 \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/android-ifaddrs \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/libiconv-1.14/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/sources/android/support/include/ \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/platforms/android-19/arch-arm/usr/include/[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(LOCAL_PATH)/HelloI.cpp \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(LOCAL_PATH)/Server.cpp \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(LOCAL_PATH)/Hello.cpp[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(BUILD_EXECUTABLE)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := Client[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_CFLAGS += -fexceptions -frtti -std=c++11[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]#LOCAL_LDLIBS := -llog -L$(LOCAL_PATH)/exlibs/ -lIce -lIceUtil -lbz2 -lifaddrs -lcrypto -lssl[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_LDLIBS:= -lm -ldl -llog[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_STATIC_LIBRARIES := Ice IceUtil bz2 ifaddrs crypto ssl[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SHARED_LIBRARIES := iconv[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_C_INCLUDES := \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(LOCAL_PATH) \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/icee/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/4.8/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/openssl/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/bzip2 \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/android-ifaddrs \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/libiconv-1.14/include \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/sources/android/support/include/ \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(NDK_HOME)/platforms/android-19/arch-arm/usr/include/[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(LOCAL_PATH)/Client.cpp \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(LOCAL_PATH)/HelloI.cpp \[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]        $(LOCAL_PATH)/Hello.cpp[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(BUILD_EXECUTABLE)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := iconv[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := $(LOCAL_PATH)/exlibs/libiconv.so[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(PREBUILT_SHARED_LIBRARY)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := Ice[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := $(LOCAL_PATH)/exlibs/libIce.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(PREBUILT_STATIC_LIBRARY)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := IceUtil[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := $(LOCAL_PATH)/exlibs/libIceUtil.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(PREBUILT_STATIC_LIBRARY)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := bz2[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := $(LOCAL_PATH)/exlibs/libbz2.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(PREBUILT_STATIC_LIBRARY)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := ifaddrs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := $(LOCAL_PATH)/exlibs/libifaddrs.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(PREBUILT_STATIC_LIBRARY)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := crypto[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := $(LOCAL_PATH)/exlibs/libcrypto.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(PREBUILT_STATIC_LIBRARY)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier] [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(CLEAR_VARS)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_MODULE := ssl[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]LOCAL_SRC_FILES := $(LOCAL_PATH)/exlibs/libssl.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]include $(PREBUILT_STATIC_LIBRARY)[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][COLOR=#1aad11][B][email protected][/B][/COLOR]:[COLOR=#492bd9][B]~/NDK/hello[/B][/COLOR]$ cat Application.mk [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]NDK_TOOLCHAIN_VERSION = 4.8[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]APP_PLATFORM := android-19[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]TARGET_PLATFORM := android-19[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]APP_STL := gnustl_static[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]APP_ABI := armeabi[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][COLOR=#1aad11][B][email protected][/B][/COLOR]:[COLOR=#492bd9][B]~/NDK/hello[/B][/COLOR]$ cat build.sh [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]#!/bin/bash[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]ndk-build $1 V=1 NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk NDK_APP_APPLICATION_MK=./Application.mk[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][COLOR=#1aad11][B][email protected][/B][/COLOR]:[COLOR=#492bd9][B]~/NDK/hello[/B][/COLOR]$ find . -name *.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]./obj/local/armeabi/libstdc++.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]./exlibs/libbz2.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]./exlibs/libifaddrs.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]./exlibs/libssl.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]./exlibs/libIce.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]./exlibs/libIceUtil.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]./exlibs/libcrypto.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][COLOR=#1aad11][B][email protected][/B][/COLOR]:[COLOR=#492bd9][B]~/NDK/hello[/B][/COLOR]$ sh build.sh clean [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : Client [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/Client ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : Ice [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : IceUtil [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : Server [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/Server ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : bz2 [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : crypto [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : iconv [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/libiconv.so ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : ifaddrs [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : ssl [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Clean          : stdc++ [armeabi][/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -rf ./obj/local/armeabi/libstdc++.a ./obj/local/armeabi/objs[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -f  [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -f   [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -f ./libs/arm64-v8a/lib*.so ./libs/armeabi/lib*.so ./libs/armeabi-v7a/lib*.so ./libs/armeabi-v7a-hard/lib*.so ./libs/mips/lib*.so ./libs/mips64/lib*.so ./libs/x86/lib*.so ./libs/x86_64/lib*.so[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -f ./libs/arm64-v8a/gdbserver ./libs/armeabi/gdbserver ./libs/armeabi-v7a/gdbserver ./libs/armeabi-v7a-hard/gdbserver ./libs/mips/gdbserver ./libs/mips64/gdbserver ./libs/x86/gdbserver ./libs/x86_64/gdbserver[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -f ./libs/arm64-v8a/gdb.setup ./libs/armeabi/gdb.setup ./libs/armeabi-v7a/gdb.setup ./libs/armeabi-v7a-hard/gdb.setup ./libs/mips/gdb.setup ./libs/mips64/gdb.setup ./libs/x86/gdb.setup ./libs/x86_64/gdb.setup[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][COLOR=#1aad11][B][email protected][/B][/COLOR]:[COLOR=#492bd9][B]~/NDK/hello[/B][/COLOR]$ sh build.sh [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -f ./libs/arm64-v8a/lib*.so ./libs/armeabi/lib*.so ./libs/armeabi-v7a/lib*.so ./libs/armeabi-v7a-hard/lib*.so ./libs/mips/lib*.so ./libs/mips64/lib*.so ./libs/x86/lib*.so ./libs/x86_64/lib*.so
     [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]... deleted for more space [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]
    /opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -MMD -MP -MF ./obj/local/armeabi/objs/Client/./Hello.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -fno-exceptions -fno-rtti -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I. -I/opt/android-ndk-r10e/icee/include -I/opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/include -I/opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include -I/opt/android-ndk-r10e/openssl/include -I/opt/android-ndk-r10e/bzip2 -I/opt/android-ndk-r10e/android-ifaddrs -I/opt/android-ndk-r10e/libiconv-1.14/include -I/opt/android-ndk-r10e/sources/android/support/include/ -I/opt/android-ndk-r10e/platforms/android-19/arch-arm/usr/include/ -I/opt/android-ndk-r10e/sources/cxx-stl/system/include -I. -DANDROID -std=c++11 -Wa,--noexecstack -Wformat -Werror=format-security  -frtti -fexceptions     -I/opt/android-ndk-r10e/platforms/android-3/arch-arm/usr/include -c  ././Hello.cpp -o ./obj/local/armeabi/objs/Client/./Hello.o [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Prebuilt       : libiconv.so <= exlibs/[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]cp -f exlibs/libiconv.so obj/local/armeabi/libiconv.so[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] StaticLibrary  : libstdc++.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]rm -f obj/local/armeabi/libstdc++.a[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc-ar crsD ./obj/local/armeabi/libstdc++.a [/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier][armeabi] Executable     : Client[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -Wl,--gc-sections -Wl,-z,nocopyreloc --sysroot=/opt/android-ndk-r10e/platforms/android-3/arch-arm -Wl,-rpath-link=/opt/android-ndk-r10e/platforms/android-3/arch-arm/usr/lib -Wl,-rpath-link=./obj/local/armeabi ./obj/local/armeabi/objs/Client/./Client.o ./obj/local/armeabi/objs/Client/./HelloI.o ./obj/local/armeabi/objs/Client/./Hello.o ././exlibs/libIce.a ././exlibs/libIceUtil.a ././exlibs/libbz2.a ././exlibs/libifaddrs.a ././exlibs/libcrypto.a ././exlibs/libssl.a ./obj/local/armeabi/libstdc++.a -lgcc ./obj/local/armeabi/libiconv.so -no-canonical-prefixes  -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -mthumb  -L/opt/android-ndk-r10e/platforms/android-3/arch-arm/usr/lib -lm -ldl -llog -lstdc++ /opt/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/libsupc++.a -lc -lm -o ./obj/local/armeabi/Client[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]/opt/Ice-3.6.1/include/Ice/Metrics.h:1848: error: undefined reference to 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]././Client.cpp:226: error: undefined reference to 'std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)'[/FONT][/COLOR]
      [COLOR=#4C2F2D][FONT=Courier]././Client.cpp:227: error: undefined reference to 'std::cout'[/FONT][/COLOR]
    
  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    I think you should check this issue in NDK forums, that is not an Ice issue and they will be able to give you better advice.

    Best Regards
  • kenchowcnkenchowcn Member Ken ChowOrganization: homeProject: android NDK
    xdm wrote: »
    I think you should check this issue in NDK forums, that is not an Ice issue and they will be able to give you better advice.

    Best Regards

    I could consider using ICE.jar, but I have to learn java, anyway, thank you xdm.
Sign In or Register to comment.