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 686106 - gnome-calculator is missing -lm linker flags
gnome-calculator is missing -lm linker flags
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gcalctool maintainers
gcalctool maintainers
Depends on:
Blocks:
 
 
Reported: 2012-10-14 09:48 UTC by Stefano Facchini
Modified: 2012-10-14 19:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add missing -lm linker flag for 'gnome-calculator' (699 bytes, patch)
2012-10-14 09:49 UTC, Stefano Facchini
committed Details | Review

Description Stefano Facchini 2012-10-14 09:48:53 UTC
The new git repo "gnome-calculator" doesn't build for me. Apparently the "gnome-calculator" makefile target is missing -lm.
Comment 1 Stefano Facchini 2012-10-14 09:49:12 UTC
Created attachment 226403 [details] [review]
Add missing -lm linker flag for 'gnome-calculator'
Comment 2 PioneerAxon 2012-10-14 14:43:46 UTC
Hi Stefano,
In my case it does compile without any problem.
Comment 3 Stefano Facchini 2012-10-14 14:48:51 UTC
(In reply to comment #2)
> Hi Stefano,
> In my case it does compile without any problem.

Maybe some distros automatically add -lm to linker flags? I'm on archlinux
Comment 4 Robert Ancell 2012-10-14 19:49:51 UTC
Review of attachment 226403 [details] [review]:

Thanks, applied. Note that the gnome-calculator repository is currently broken (see bug 590074)
Comment 5 Robert Ancell 2012-10-14 19:50:02 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.