[Issue 19801] Linking error: ld: symbol(s) not found for architecture x86_64

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 10 14:22:21 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19801

--- Comment #2 from Jon Kleiser <jon.kleiser at icloud.com> ---
It may be so. The reason I thought it was more general, is I get a somewhat
similar error when trying to build the websocket demo code found here:
https://wiki.dlang.org/User:Csmith1991/Vibe.d_Documentation/websocket

This is what I get:

websocket_chat ~master: building configuration "application"...
Linking...
Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable
     (maybe you meant: __d_main_args, __D4core6thread6Thread7sm_mainCQBcQBaQw ,
__D4core6thread16_mainThreadStoreG312v )
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: linker exited with status 1
/Library/D/dmd/bin/dmd failed with exit code 1.

--


More information about the Digitalmars-d-bugs mailing list