www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3299] New: DMD does not build under Ubuntu linux;

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3299

           Summary: DMD does not build under Ubuntu linux;
           Product: D
           Version: 1.046
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: baseball.mjp gmail.com


Under linux(Ubuntu), building 1.047(+ 1.046, maybe other revisions too), there
is the error:
g++ -m32 -c -Wno-deprecated -D__near= -D__pascal= -fno-exceptions -O2 -Ibackend
-Itk -D__I86__=1 -DMARS=1 -DTARGET_LINUX=1 -D_DH backend/dwarf.c
backend/dwarf.c:54:26: error: ../mars/mars.h: No such file or directory
backend/dwarf.c: In function ‘void dwarf_initfile(const char*)’:
backend/dwarf.c:453: error: ‘global’ was not declared in this scope
make: *** [dwarf.o] Error 1
Fixing this is simple.

dwarf.c, line 54:

#include "../mars/mars.h"

should be:

#include "../mars.h"

Then it compiles fine.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 04 2009
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3299


David Simcha <dsimcha yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dsimcha yahoo.com
         Resolution|                            |DUPLICATE


--- Comment #1 from David Simcha <dsimcha yahoo.com> 2009-10-12 20:26:08 PDT ---
*** This issue has been marked as a duplicate of issue 2908 ***

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