Skip to content

Instantly share code, notes, and snippets.

@eraserhd
Created March 2, 2020 15:06
Show Gist options
  • Select an option

  • Save eraserhd/f4deaa67fd47183d8f3038339ec787af to your computer and use it in GitHub Desktop.

Select an option

Save eraserhd/f4deaa67fd47183d8f3038339ec787af to your computer and use it in GitHub Desktop.
... compile gxprof
... compile exe gxprof -> gxprof
Undefined symbols for architecture x86_64:
"_DH_set0_pqg", referenced from:
____os_make_tls_context in libgambit.a(os_io.o)
"_OPENSSL_init_ssl", referenced from:
____os_make_tls_context in libgambit.a(os_io.o)
"_OpenSSL_version_num", referenced from:
____os_make_tls_context in libgambit.a(os_io.o)
"_SSL_CTX_set_options", referenced from:
____os_make_tls_context in libgambit.a(os_io.o)
"_SSL_is_init_finished", referenced from:
____device_tcp_client_close_raw_virt in libgambit.a(os_io.o)
"_TLS_client_method", referenced from:
____os_make_tls_context in libgambit.a(os_io.o)
"_TLS_server_method", referenced from:
____os_make_tls_context in libgambit.a(os_io.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang called with: -Wno-deprecated-declarations -I"/usr/local/opt/openssl/include" -Wno-unused -Wno-write-strings -Wdisabled-optimization -fwrapv -fno-strict-aliasing -fno-math-errno -fomit-frame-pointer -fPIC -fno-common -D___SINGLE_HOST -I/usr/local/Cellar/gambit-scheme/4.9.3_1/v4.9.3/include -o gxprof gxprof_.o gxprof.o /usr/local/Cellar/gambit-scheme/4.9.3_1/v4.9.3/lib/libgambit.a -L/usr/local/opt/openssl/lib -lssl -lcrypto
superenv added: -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -isystem/usr/local/include -isystem/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/libxml2 -isystem/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -I/usr/local/opt/[email protected]/include -L/usr/local/opt/[email protected]/lib -L/usr/local/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
superenv executed: clang -Wno-deprecated-declarations -I"/usr/local/opt/openssl/include" -Wno-unused -Wno-write-strings -Wdisabled-optimization -fwrapv -fno-strict-aliasing -fno-math-errno -fomit-frame-pointer -fPIC -fno-common -D___SINGLE_HOST -I/usr/local/Cellar/gambit-scheme/4.9.3_1/v4.9.3/include -o gxprof gxprof_.o gxprof.o /usr/local/Cellar/gambit-scheme/4.9.3_1/v4.9.3/lib/libgambit.a -L/usr/local/opt/openssl/lib -lssl -lcrypto -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk --sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -isystem/usr/local/include -isystem/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/libxml2 -isystem/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -I/usr/local/opt/[email protected]/include -L/usr/local/opt/[email protected]/lib -L/usr/local/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment