[Issue 14175] New: Shared libs not compilable

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Feb 13 00:15:42 PST 2015


https://issues.dlang.org/show_bug.cgi?id=14175

          Issue ID: 14175
           Summary: Shared libs not compilable
           Product: D
           Version: unspecified
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Phobos
          Assignee: nobody at puremagic.com
          Reporter: l.wagner at m3t4l-server.de

Hello,

To start off I want to explain what I did, just so you guys can easily follow
the steps. I am completely new to D, so if you want to have further information
you will have to guide me :P

1. I am running Linux Mint 17.2 64-bit on my machine
2. I installed gdc and libphobos-dev via synaptic
3. I downloaded and installed this:
downloads.dlang.org/releases/2014/dmd_2.066.1-0_amd64.deb
4. I downloaded the dub binary package:
code.dlang.org/files/dub-0.9.22-linux-x86_64.tar.gz
5. Then I followed those steps: http://wiki.dlang.org/Mono-D. In there I had
two choices how to install it, I chose option opensuse debian repository and
installed monodevelop-opt
6. I additionally installed the gdb D debugger addon for monodevelop
7. I created a new Solution with a "D Shared Library Project"
8. I left everything just as it is and built it.

Here comes the strange part. I tried the building process with dmd and gdc.

Here's what monodevelop does with dmd: http://dpaste.dzfl.pl/79e5b57cbde0
Here's what monodevelop does with gdc: http://dpaste.dzfl.pl/2b2cec926b09

Two build errors. What I can see from those error messages is that it is no
syntax error or any other code based error. Something went wrong in the process
of building it.

I would appreciate if anyone could resolve this since it is critical in order
to be able to use that tasty defined ABI so people can build Applications
utilising plugins.

Thanks in advance
Lukas Wagner aka m3t4lukas

--


More information about the Digitalmars-d-bugs mailing list