linking error with streamer 1.6 with eclipse 3.8
Daniel Marfil
danimarfil0 at gmail.com
Mon Oct 19 23:50:35 PDT 2015
Sure, this is what I get:
$ objdump -x /usr/lib/libgio-2.0.so.0 | grep NEEDED
NEEDED libgobject-2.0.so.0
NEEDED libffi.so.6
NEEDED libgmodule-2.0.so.0
NEEDED libdl.so.2
NEEDED libglib-2.0.so.0
NEEDED libpcre.so.3
NEEDED libpthread.so.0
NEEDED libz.so.1
NEEDED libresolv.so.2
NEEDED libc.so.6
Thanks!
> El 20 oct 2015, a las 8:44, Sebastian Dröge <sebastian at centricular.com> escribió:
>
> 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
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151020/e5fc4314/attachment.html>
More information about the gstreamer-devel
mailing list