After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 686647 - Missing library dependency causes compilation error...
Missing library dependency causes compilation error...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
git master
Other Linux
: Normal normal
: 1.2.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-10-22 14:27 UTC by Sebastian Rasmussen
Modified: 2014-02-25 22:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch for compiler errors. (898 bytes, patch)
2012-10-22 14:32 UTC, Sebastian Rasmussen
committed Details | Review

Description Sebastian Rasmussen 2012-10-22 14:27:20 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.
Comment 1 Sebastian Rasmussen 2012-10-22 14:32:34 UTC
Created attachment 227001 [details] [review]
Proposed patch for compiler errors.
Comment 2 Tim-Philipp Müller 2012-10-22 17:13:51 UTC
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