GNOME Bugzilla – Bug 686647
Missing library dependency causes compilation error...
Last modified: 2014-02-25 22:28:57 UTC
When I try to make gst-rtsp-server I see this error: make[6]: Entering directory `build/host/tests/check' CC gst_rtspserver-rtspserver.o CCLD gst/rtspserver /usr/bin/ld: gst_rtspserver-rtspserver.o: undefined reference to symbol 'g_socket_listener_add_any_inet_port' /usr/bin/ld: note: 'g_socket_listener_add_any_inet_port' is defined in DSO installed/usr/lib/libgio-2.0.so.0 so try adding it to the linker command line installed/usr/lib/libgio-2.0.so.0: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[6]: *** [gst/rtspserver] Error 1 This is due to GIO_LIBS/GIO_CFLAGS not being in test/check/Makefile.am. The attached patch fixes this.
Created attachment 227001 [details] [review] Proposed patch for compiler errors.
Pushed, thanks! commit 1240f98206852b2151fe585a721dee03b1096678 Author: Sebastian Rasmussen <sebrn@axis.com> Date: Mon Oct 22 16:29:09 2012 +0200 tests: Add libgio link dependency Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686647