Which toolchain are your static libraries built from?

On Mar 10, 9:15 pm, Andy Quan <[email protected]> wrote:
> Hi,
> I am working on OMX core integration in 2.0 framework. I have used static
> link before 2.0 release with exactly the same core and IL libs inside the
> framework and they have been working correctly. Basically I have followed
> the steps in integration guide documentation this time. I use google tool
> chain to put all my prebuilt (not google tool chain) static OMX libs into a
> single "libOmx.so". But I am stuck in a problem where my "libOmx.so" can be
> dlopened in interface class but all OMX core methods can not be found by
> dlsym.
>
> Actually the weird thing is I find symbols for OMX core methods are not
> located in my "libOmx.so" when I try to use "grep "OMX_Init" libOmx.so"...
> But I can grep other symbols located in IL components like aac omx component
> from "libOmx.so"... My guess is that the object file containing my core
> methods is somehow dropped during static->dynamic lib conversion. Therefore
> it can not be grepped...
>
> The 1st one below is my Android.mk generating "libOmx.so". The 2nd one is to
> push my prebuilt (not google tool chain) static libraries into $out
> directory. OMX core methods, i.e. "OMX_xxx", are located in
> lib_il_basecore.a. Could anybody help on this? Thanks!
> -------------------------------------------------------------------------------------------------
> LOCAL_PATH := $(call my-dir)
> include $(CLEAR_VARS)
> LOCAL_SRC_FILES := \
>         src/OmxComponentRegistry.cpp
> LOCAL_CFLAGS := $(PV_CFLAGS)
> LOCAL_CFLAGS += -g
> LOCAL_ARM_MODE := arm
> LOCAL_STATIC_LIBRARIES := \
>         lib_il_aacdec \
>         lib_il_mp3dec \
>         lib_il_h264dec \
>         lib_il_mpeg4aspdec \
>         lib_il_omxmem \
>         lib_il_basecore \
>         miscGen
> LOCAL_LDLIBS += -lpthread -ldl
> LOCAL_MODULE := libOmx
> LOCAL_C_INCLUDES := \
>         $(PV_TOP)/extern_libs_v2/khronos/openmax/include \
>         $(PV_INCLUDES)
> -include $(PV_TOP)/Android_platform_extras.mk
> -include $(PV_TOP)/Android_system_extras.mk
> include $(BUILD_SHARED_LIBRARY)
> include $(PV_TOP)/codecs_v2/omx/omx_vendor/lib/Android.mk
> ------------------------------------------------------------------------------------------------------------
> LOCAL_PATH := $(call my-dir)
> $(call add-prebuilt-files, STATIC_LIBRARIES, lib_il_basecore.a)
> $(call add-prebuilt-files, STATIC_LIBRARIES, miscGen.a)
> $(call add-prebuilt-files, STATIC_LIBRARIES, lib_il_aacdec.a)
> $(call add-prebuilt-files, STATIC_LIBRARIES, lib_il_mp3dec.a)
> $(call add-prebuilt-files, STATIC_LIBRARIES, lib_il_h264dec.a)
> $(call add-prebuilt-files, STATIC_LIBRARIES, lib_il_mpeg4aspdec.a)
> $(call add-prebuilt-files, STATIC_LIBRARIES, lib_il_omxmem.a)
> --------------------------------------------------------------------------------------------------------------
>
> --
> Thanks,
> Andy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to