Linker error with one particular function
Jacob Carlborg
doob at me.com
Thu Aug 15 23:39:42 PDT 2013
On 2013-08-15 20:54, Jesse Phillips wrote:
> I don't have an answer, but in case you are not familiar with cryptic
> linker:
>
> On Wednesday, 14 August 2013 at 13:21:49 UTC, Gary Willoughby wrote:
>> But when i import it and use the getUnixTime function i get the
>> following linker error:
>>
>> Undefined symbols for architecture x86_64:
>
> The linker is complaining specifically about 64bit, this likely means it
> found this symbol in 32bit.
No, I don't think so. At least on Mac OS X it always tell you the
architecture:
void foo();
void main ()
{
foo();
}
Undefined symbols for architecture x86_64:
"_D4main3fooFZv", referenced from:
__Dmain in main.d.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list