Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to compile on OSX 10.12.6 - help? #1

Open
evandrix opened this issue Feb 9, 2018 · 1 comment
Open

Failure to compile on OSX 10.12.6 - help? #1

evandrix opened this issue Feb 9, 2018 · 1 comment
Assignees

Comments

@evandrix
Copy link

evandrix commented Feb 9, 2018

The output of cmake . && make reproduced below:

[  9%] Building CXX object CMakeFiles/abradelib.dir/Options.cpp.o
[ 18%] Building CXX object CMakeFiles/abradelib.dir/Generator.cpp.o
[ 27%] Building CXX object CMakeFiles/abradelib.dir/Exception.cpp.o
[ 36%] Building CXX object CMakeFiles/abradelib.dir/Controller.cpp.o
[ 45%] Linking CXX static library libabradelib.a
[ 45%] Built target abradelib
Scanning dependencies of target abrade
[ 54%] Building CXX object CMakeFiles/abrade.dir/main.cpp.o
[ 63%] Linking CXX executable abrade
undef: _ERR_remove_thread_state
undef: _TLSv1_2_client_method
undef: _SSL_COMP_free_compression_methods
undef: _TLSv1_1_server_method
undef: _TLSv1_1_method
undef: _TLSv1_1_client_method
undef: _TLSv1_2_method
undef: _TLSv1_2_server_method
Undefined symbols for architecture x86_64:
  "_ERR_remove_thread_state", referenced from:
      boost::asio::ssl::detail::openssl_init_base::do_init::~do_init() in lto.o
  "_TLSv1_2_client_method", referenced from:
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in lto.o
  "_SSL_COMP_free_compression_methods", referenced from:
      boost::asio::ssl::detail::openssl_init_base::do_init::~do_init() in lto.o
  "_TLSv1_1_server_method", referenced from:
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in lto.o
  "_TLSv1_1_method", referenced from:
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in lto.o
  "_TLSv1_1_client_method", referenced from:
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in lto.o
  "_TLSv1_2_method", referenced from:
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in lto.o
  "_TLSv1_2_server_method", referenced from:
      boost::asio::ssl::context::context(boost::asio::ssl::context_base::method) in lto.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [abrade] Error 1
make[1]: *** [CMakeFiles/abrade.dir/all] Error 2
make: *** [all] Error 2```
@JLospinoso
Copy link
Owner

@evandrix Hi, what version of Boost are you using?

@JLospinoso JLospinoso self-assigned this Feb 13, 2018
Repository owner deleted a comment from AshvinGudaliya Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants