GNOME Bugzilla – Bug 582281
[rtp] Forgets to link to $(LIBM)
Last modified: 2009-05-12 11:14:40 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
Created attachment 134469 [details] [review] link-libm
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.