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 168645 - libgst forgets to link with libm
libgst forgets to link with libm
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.8.9
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-02-27 10:52 UTC by Phil Blundell
Modified: 2005-06-30 15:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (588 bytes, patch)
2005-02-27 10:53 UTC, Phil Blundell
committed Details | Review

Description Phil Blundell 2005-02-27 10:52:04 UTC
gstvalue.c calls floor(), but -lm is missing from the final link commandline.

It happens that libxml2 drags libm into the link, so this doesn't usually cause
a problem.  But, if libxml2 is turned off via --disable-loadsave
--disable-registry,  undefined symbol errors start showing up.
Comment 1 Phil Blundell 2005-02-27 10:53:46 UTC
Created attachment 37998 [details] [review]
patch

Here's a patch.
Comment 2 Maciej Katafiasz 2005-02-27 15:56:13 UTC
Good catch, thanks!