GNOME Bugzilla – Bug 727844
gstgl: Duplicated symbols with libgstegl
Last modified: 2014-04-12 20:33:42 UTC
Static links fails when eglglessink and glimagesink are both linked because of duplicated symbols: /home/andoni/cerbero/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: error: /home/andoni/Descargas/gstreamer-android-1.0/lib/libgstgl-1.0.a(libgstgl_egl_la-gsteglimagememory.o): multiple definition of 'gst_is_egl_image_memory' /home/andoni/cerbero/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: /home/andoni/Descargas/gstreamer-android-1.0/lib/libgstegl-1.0.a(libgstegl_1.0_la-egl.o): previous definition here /home/andoni/cerbero/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: error: /home/andoni/Descargas/gstreamer-android-1.0/lib/libgstgl-1.0.a(libgstgl_egl_la-gsteglimagememory.o): multiple definition of 'gst_egl_image_memory_get_image' /home/andoni/cerbero/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: /home/andoni/Descargas/gstreamer-android-1.0/lib/libgstegl-1.0.a(libgstegl_1.0_la-egl.o): previous definition here /home/andoni/cerbero/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: error: /home/andoni/Descargas/gstreamer-android-1.0/lib/libgstgl-1.0.a(libgstgl_egl_la-gsteglimagememory.o): multiple definition of 'gst_egl_image_memory_get_display' /home/andoni/cerbero/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: /home/andoni/Descargas/gstreamer-android-1.0/lib/libgstegl-1.0.a(libgstegl_1.0_la-egl.o): previous definition here /home/andoni/cerbero/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: error: /home/andoni/Descargas/gstreamer-android-1.0/lib/libgstgl-1.0.a(libgstgl_egl_la-gsteglimagememory.o): multiple definition of 'gst_egl_image_memory_get_orientation' /home/andoni/cerbero/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: /home/andoni/Descargas/gstreamer-android-1.0/lib/libgstegl-1.0.a(libgstegl_1.0_la-egl.o): previous definition here /home/andoni/cerbero/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: error: /home/andoni/Descargas/gstreamer-android-1.0/lib/libgstgl-1.0.a(libgstgl_egl_la-gsteglimagememory.o): multiple definition of 'gst_egl_image_memory_set_orientation' /home/andoni/cerbero/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: /home/andoni/Descargas/gstreamer-android-1.0/lib/libgstegl-1.0.a(libgstegl_1.0_la-egl.o): previous definition here /home/andoni/cerbero/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: error: /home/andoni/Descargas/gstreamer-android-1.0/lib/libgstgl-1.0.a(libgstgl_egl_la-gsteglimagememory.o): multiple definition of 'gst_egl_image_allocator_get_type' /home/andoni/cerbero/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold: /home/andoni/Descargas/gstreamer-android-1.0/lib/libgstegl-1.0.a(libgstegl_1.0_la-egl.o): previous definition here collect2: ld returned 1 exit status
libgstegl and eglglessink will be removed for 1.4.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 703343 ***