GNOME Bugzilla – Bug 695658
build: Link libgstrtsp-1.0.so to libm for pow()
Last modified: 2013-03-11 23:33:18 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
Created attachment 238626 [details] [review] build: Link libgstrtsp-1.0.so to libm for pow()
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