Thread overview
[Issue 4829] New: Linux build fails
Sep 06, 2010
Pedro Ferreira
Dec 20, 2012
Andrej Mitrovic
Dec 31, 2012
SomeDude
Jan 04, 2013
Walter Bright
September 06, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4829

           Summary: Linux build fails
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: arkangath@gmail.com


--- Comment #0 from Pedro Ferreira <arkangath@gmail.com> 2010-09-06 08:00:06 PDT ---
Created an attachment (id=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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 20, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=4829


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich@gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-12-20 13:57:33 PST ---
Is this fixed now?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 31, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=4829


SomeDude <lovelydear@mailmetrash.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lovelydear@mailmetrash.com


--- Comment #2 from SomeDude <lovelydear@mailmetrash.com> 2012-12-31 12:18:33 PST ---
I guess this should be closed ?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 04, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=4829


hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |hsteoh@quickfur.ath.cx
         Resolution|                            |FIXED


--- Comment #3 from hsteoh@quickfur.ath.cx 2013-01-03 20:57:38 PST ---
I'm just going to close this; the latest posix.mak doesn't have this problem (-lm is correctly added to LDFLAGS).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 04, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=4829


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com
         Resolution|FIXED                       |WORKSFORME


--- Comment #4 from Walter Bright <bugzilla@digitalmars.com> 2013-01-03 22:12:00 PST ---
If a problem was fixed elsewhere, should be marked as WORKSFORME.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------