Linker error with one particular function

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Fri Aug 16 07:23:30 PDT 2013


On Friday, 16 August 2013 at 06:39:42 UTC, Jacob Carlborg wrote:
> 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

Well, I've only seen the architecture mentioned when it couldn't 
find a library with the of the matching arch, guess I applied 
that wrong.


More information about the Digitalmars-d-learn mailing list