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 582281 - [rtp] Forgets to link to $(LIBM)
[rtp] Forgets to link to $(LIBM)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal blocker
: 0.10.15
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-12 08:00 UTC by Sebastian Dröge (slomo)
Modified: 2009-05-12 11:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
link-libm (1.02 KB, patch)
2009-05-12 08:04 UTC, Sebastian Dröge (slomo)
committed Details | Review

Description Sebastian Dröge (slomo) 2009-05-12 08:00:08 UTC
Hi,
the rtp plugin forgets to link to $(LIBM), this breaks when linking with -Wl,--as-needed and -Wl,-z,defs. Attached patch fixes this.

  LINK  libgstrtp.la
.libs/libgstrtp_la-gstrtph263pay.o: In function `gst_rtp_h263_pay_move_window_right':
/tmp/buildd/gst-plugins-good0.10-0.10.14.2/gst/rtp/gstrtph263pay.c:943: undefined reference to `pow'
/tmp/buildd/gst-plugins-good0.10-0.10.14.2/gst/rtp/gstrtph263pay.c:949: undefined reference to `pow'
collect2: ld returned 1 exit status
Comment 1 Sebastian Dröge (slomo) 2009-05-12 08:04:26 UTC
Created attachment 134469 [details] [review]
link-libm
Comment 2 Sebastian Dröge (slomo) 2009-05-12 11:14:40 UTC
commit d94a71a4c57c80e2c969d16dea8dd3437a7c3330
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Tue May 12 13:00:46 2009 +0200

    rtp: Link to -lm
    
    Fixes bug #582281.