linking error with streamer 1.6 with eclipse 3.8

Sebastian Dröge sebastian at centricular.com
Mon Oct 19 23:44:27 PDT 2015


On Di, 2015-10-20 at 08:00 +0200, Daniel Marfil wrote:
> Hi everyone,
> I am having some errors related to bad linking when compiling against eclipse. I am using the tutorial5 from http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/ without modifying anything. So this is the configuration I have in the project:
> 
> [...]
> Building target: tutorial5
> Invoking: Cross GCC Linker
> gcc -o tutorial5  tutorial5.o  -lgstnet-1.0 -lgstbase-1.0 -lgstcheck-1.0 -lgstreamer-1.0 -lgstcontroller-1.0 -lpango-1.0 -lcairo -lgtk-3 -lgdk-3 -lgstvideo-1.0 -lgobject-2.0 -lglib-2.0
> /usr/lib/libgio-2.0.so.0: undefined reference to `g_thread_pool_move_to_front'
> makefile:29: recipe for target 'tutorial5' failed
> /usr/lib/libgio-2.0.so.0: undefined reference to `g_option_group_unref'
> collect2: error: ld returned 1 exit status
> make: *** [tutorial5] Error 1

This sounds like your libgio-2.0.so.0 is not properly linked. It should
be linked to libglib-2.0.so.0 but apparently isn't. Can you double
check and run:
  objdump -x /usr/lib/libgio-2.0.so.0 | grep NEEDED
and then paste the output into a mail?

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151020/a7cd2344/attachment-0001.sig>


More information about the gstreamer-devel mailing list