Linking in an .so on linux with rebuild?

Daniel Keep daniel.keep.lists at gmail.com
Wed Sep 23 20:11:21 PDT 2009



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.


More information about the Digitalmars-d-learn mailing list