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 695658 - build: Link libgstrtsp-1.0.so to libm for pow()
build: Link libgstrtsp-1.0.so to libm for pow()
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
unspecified
Other All
: Normal normal
: 1.1.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-03-11 21:47 UTC by Emanuele Aina
Modified: 2013-03-11 23:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: Link libgstrtsp-1.0.so to libm for pow() (1.04 KB, patch)
2013-03-11 21:47 UTC, Emanuele Aina
committed Details | Review

Description Emanuele Aina 2013-03-11 21:47:29 UTC
Building currently fail with the following error due to a missing -lm reference
on libgstrtsp-1.0.so:

libtool: link: gcc -o /jhbuild/src/gst-plugins-base/gst-libs/gst/rtsp/tmp-introspectp5B38y/.libs/GstRtsp-1.0 /jhbuild/src/gst-plugins-base/gst-libs/gst/rtsp/tmp-introspectp5B38y/GstRtsp-1.0.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic  -L/jhbuild/build/lib64 -L. ./.libs/libgstrtsp-1.0.so /jhbuild/src/gst-plugins-base/gst-libs/gst/sdp/.libs/libgstsdp-1.0.so -lgmodule-2.0 -lgio-2.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -pthread -Wl,-rpath -Wl,/jhbuild/build/lib64
./.libs/libgstrtsp-1.0.so: error: undefined reference to 'pow'
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['../../../libtool', '--mode=link', '--tag=CC', 'gcc', '-o', '/jhbuild/src/gst-plugins-base/gst-libs/gst/rtsp/tmp-introspectp5B38y/GstRtsp-1.0', '-export-dynamic', '-L/jhbuild/build/lib64', '/jhbuild/src/gst-plugins-base/gst-libs/gst/rtsp/tmp-introspectp5B38y/GstRtsp-1.0.o', '-L.', 'libgstrtsp-1.0.la', '/jhbuild/src/gst-plugins-base/gst-libs/gst/sdp/libgstsdp-1.0.la', '-Wl,--export-dynamic', '-pthread', '-L/jhbuild/build/lib64', '-lgmodule-2.0', '-lgio-2.0', '-lgstreamer-1.0', '-lgobject-2.0', '-lglib-2.0']' returned non-zero exit status 1
make[1]: *** [GstRtsp-1.0.gir] Error 1
Comment 1 Emanuele Aina 2013-03-11 21:47:33 UTC
Created attachment 238626 [details] [review]
build: Link libgstrtsp-1.0.so to libm for pow()
Comment 2 Olivier Crête 2013-03-11 23:30:05 UTC
Committed

commit b47413f794bb1368d4ae841922c4110fb62dde5e
Author: Emanuele Aina <emanuele.aina@collabora.com>
Date:   Mon Mar 11 22:33:04 2013 +0100

    build: Link libgstrtsp-1.0.so to libm for pow()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695658