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 697638 - add "-lm" to LIBADD
add "-lm" to LIBADD
Status: RESOLVED FIXED
Product: geocode-glib
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: geocode-glib maintainer(s)
geocode-glib maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-04-09 14:16 UTC by Jussi Kukkonen
Modified: 2013-04-15 12:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: add -lm to LIB_ADD (for sin() et al) (819 bytes, patch)
2013-04-09 14:17 UTC, Jussi Kukkonen
rejected Details | Review
build: Check for libm in configure (1.15 KB, patch)
2013-04-15 12:34 UTC, Bastien Nocera
committed Details | Review

Description Jussi Kukkonen 2013-04-09 14:16:36 UTC
Without this the math functions are an "undefined reference" on at least Debian Unstable.

I'll add a patch.
Comment 1 Jussi Kukkonen 2013-04-09 14:17:45 UTC
Created attachment 241057 [details] [review]
build: add -lm to LIB_ADD (for sin() et al)
Comment 2 Bastien Nocera 2013-04-15 12:34:20 UTC
Created attachment 241559 [details] [review]
build: Check for libm in configure
Comment 3 Bastien Nocera 2013-04-15 12:38:25 UTC
Review of attachment 241057 [details] [review]:

I prefer actually checking for libm. That's done in the patch I attached.
Comment 4 Bastien Nocera 2013-04-15 12:39:03 UTC
Attachment 241559 [details] pushed as 0e0e387 - build: Check for libm in configure