Menu

Fix: enable building on r9b where a warning on "shared library text segment is not shareable" is issued

2014-01-02
2014-01-03
  • igor Kukushkin

    igor Kukushkin - 2014-01-02

    Hi.

    The warning was issued in libavcodec, effectively breaking the build.

    After patching Android.mk, I've successfully built latest version,

    ifeq ($(CONFIG_AVCODEC),yes)
    FFMPEG_LIB_DIR := libavcodec
    TOOLS_LIBRARIES += libavcodec$(VERSION_SUFFIX)
    include $(CLEAR_VARS)
    include $(FFMPEG_ROOT_DIR)/Android_.mk
    ifeq ($(CONFIG_SHARED),yes)
    include $(CLEAR_VARS)
    +++ LOCAL_LDFLAGS := -Wl,--no-warn-shared-textrel

     

    Last edit: igor Kukushkin 2014-01-02
  • Obucina

    Obucina - 2014-01-03

    Thank You for Your contribution.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.