Bug 4829 – Linux build fails

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2010-09-06T08:00:00Z
Last change time
2013-01-03T22:12:00Z
Assigned to
nobody
Creator
arkangath

Attachments

IDFilenameSummaryContent-TypeSize
749fix.patchPatch to fixtext/plain390

Comments

Comment #0 by arkangath — 2010-09-06T08:00:06Z
Created attachment 749 Patch to fix You forgot to add -lm to the makefile to link in the math library. Link fails due to unresolved references to pow, floor, etc. Unsure if DMD1 fails.
Comment #1 by andrej.mitrovich — 2012-12-20T13:57:33Z
Is this fixed now?
Comment #2 by lovelydear — 2012-12-31T12:18:33Z
I guess this should be closed ?
Comment #3 by hsteoh — 2013-01-03T20:57:38Z
I'm just going to close this; the latest posix.mak doesn't have this problem (-lm is correctly added to LDFLAGS).
Comment #4 by bugzilla — 2013-01-03T22:12:00Z
If a problem was fixed elsewhere, should be marked as WORKSFORME.