Linking in an .so on linux with rebuild?

Jarrett Billingsley jarrett.billingsley at gmail.com
Wed Sep 23 21:14:41 PDT 2009


On Wed, Sep 23, 2009 at 11:11 PM, Daniel Keep
<daniel.keep.lists at gmail.com> wrote:
>
>
> Jarrett Billingsley wrote:
>> On Wed, Sep 23, 2009 at 1:11 AM, Daniel Keep
>> <daniel.keep.lists at gmail.com> wrote:
>>> Now I just have to figure out how to fix THIS:
>>>
>>> ../build/dsss_objs/D/sandbox.minid_repl.o: In function `_Dmain':
>>> sandbox/minid_repl.d:(.text._Dmain+0x6f): undefined reference to
>>> `_D5minid11commandline45__T3CLITS5minid11commandline14MDConsoleInputZ3CLI11interactiveMFPS5minid5types8MDThreadZv'
>>>
>>> I *hate* linker errors.  :(
>>
>> Oh boy, looks like templates are at it again. I'm not sure what the
>> problem is there. Maybe minid.commandline isn't actually being
>> compiled somehow, only imported?
>
> Yeah, I got around it by manually adding minid/commandline.d to the
> compile line.
>

Weird. Magical build tools sometimes make me nervous.


More information about the Digitalmars-d-learn mailing list