Skip to content

Instantly share code, notes, and snippets.

@cooljeanius
Created June 13, 2022 22:11
Show Gist options
  • Select an option

  • Save cooljeanius/82b3d9ae73aaed7cff81a8ca6665318b to your computer and use it in GitHub Desktop.

Select an option

Save cooljeanius/82b3d9ae73aaed7cff81a8ca6665318b to your computer and use it in GitHub Desktop.
missing symbols for building g++-mapper-server
/Users/ericgallager/gcc_newgit/abcdefghijklmnopqrstuvwxyz_01234567890.build/./gcc/xg++ -B/Users/ericgallager/gcc_newgit/abcdefghijklmnopqrstuvwxyz_01234567890.build/./gcc/ -nostdinc++ `if test -f /Users/ericgallager/gcc_newgit/abcdefghijklmnopqrstuvwxyz_01234567890.build/x86_64-apple-darwin20.6.0/libstdc++-v3/scripts/testsuite_flags; then /bin/sh /Users/ericgallager/gcc_newgit/abcdefghijklmnopqrstuvwxyz_01234567890.build/x86_64-apple-darwin20.6.0/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo -funconfigured-libstdc++-v3 ; fi` -L/Users/ericgallager/gcc_newgit/abcdefghijklmnopqrstuvwxyz_01234567890.build/x86_64-apple-darwin20.6.0/libstdc++-v3/src -L/Users/ericgallager/gcc_newgit/abcdefghijklmnopqrstuvwxyz_01234567890.build/x86_64-apple-darwin20.6.0/libstdc++-v3/src/.libs -L/Users/ericgallager/gcc_newgit/abcdefghijklmnopqrstuvwxyz_01234567890.build/x86_64-apple-darwin20.6.0/libstdc++-v3/libsupc++/.libs -B/Users/ericgallager/gcc_newgit/abcdefghijklmnopqrstuvwxyz_01234567890.build/x86_64-apple-darwin20.6.0/libstdc++-v3/src/.libs -B/Users/ericgallager/gcc_newgit/abcdefghijklmnopqrstuvwxyz_01234567890.build/x86_64-apple-darwin20.6.0/libstdc++-v3/libsupc++/.libs -B/opt/local/x86_64-apple-darwin20.6.0/bin/ -B/opt/local/x86_64-apple-darwin20.6.0/lib/ -isystem /opt/local/x86_64-apple-darwin20.6.0/include -isystem /opt/local/x86_64-apple-darwin20.6.0/sys-include -fchecking=1 -static-libstdc++ -static-libgcc -o g++-mapper-server server.o resolver.o ../libcody/libcody.a ../libiberty/libiberty.a
Undefined symbols for architecture x86_64:
"__ZN15module_resolver8set_repoEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb", referenced from:
_main in server.o
"__ZN4Cody8Resolver10GetCMINameERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE", referenced from:
__ZTV15module_resolver in resolver.o
"__ZN4Cody8Resolver13ErrorResponseEPNS_6ServerEONSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE", referenced from:
__ZTV15module_resolver in resolver.o
"__ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7compareEmmPKcm", referenced from:
__ZN15module_resolver15read_tuple_fileEiPKcb in resolver.o
__ZN15module_resolver14ConnectRequestEPN4Cody6ServerEjRNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEESA_ in resolver.o
"__ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv", referenced from:
__ZN15module_resolver15read_tuple_fileEiPKcb in resolver.o
"__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcm", referenced from:
__ZN15module_resolver23IncludeTranslateRequestEPN4Cody6ServerENS0_5FlagsERNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE in resolver.o
"__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc", referenced from:
__ZN15module_resolver23IncludeTranslateRequestEPN4Cody6ServerENS0_5FlagsERNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE in resolver.o
"__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_", referenced from:
__ZN15module_resolver23IncludeTranslateRequestEPN4Cody6ServerENS0_5FlagsERNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE in resolver.o
__ZNSt3__16__treeINS_12__value_typeINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES7_EENS_19__map_value_compareIS7_S8_NS_4lessIS7_EELb1EEENS5_IS8_EEE25__emplace_unique_key_argsIS7_JRS7_SG_EEENS_4pairINS_15__tree_iteratorIS8_PNS_11__tree_nodeIS8_PvEElEEbEERKT_DpOT0_ in resolver.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[2]: *** [g++-mapper-server] Error 1
make[1]: *** [all-c++tools] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment