Hi Kai
Kai Nacke
kai at redstar.de
Thu Nov 21 22:53:58 PST 2013
Hi tae!
On Tuesday, 19 November 2013 at 16:27:31 UTC, tae hoo wrote:
> Ok. :)
>
> Hi Kai!
>
> Did you resolved the final link error?
No, I had no time yet...
>
> D:\LDC\LDC64\lib>ldc2 test.d
> phobos-ldc.lib(math.obj) : error LNK2019: unresolved external
> symbol _D3std4math
> 4exp2FNaNbNeeZe referenced in function _D3std4math3sinFNaNbNfcZc
> phobos-ldc.lib(math.obj) : error LNK2019: unresolved external
> symbol _D3std4math
> 5expm1FNaNbNeeZe referenced in function
> _D3std4math3sinFNaNbNfcZc
> phobos-ldc.lib(math.obj) : error LNK2019: unresolved external
> symbol _D3std4math
> 5atan2FNaNbNeeeZe referenced in function
> _D3std4math4acosFNaNbNfeZe
> ......
>
>
> It is not a simple problem.
>
> for example, _D3std4math4exp2FNaNbNeeZe(mangled name of 'exp2')
> is
> already defined in same module math.obj.
The link error is a bit strange because the implementation of
std.math.sin() does not use std.math.exp2().
Regards,
Kai
More information about the digitalmars-d-ldc
mailing list