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

Compilation error on macOS Monterey #66

Open
raza-basit opened this issue Jan 3, 2022 · 0 comments
Open

Compilation error on macOS Monterey #66

raza-basit opened this issue Jan 3, 2022 · 0 comments

Comments

@raza-basit
Copy link

raza-basit commented Jan 3, 2022

Getting below error on macOS Monterery and BigSur, I got below error on develop and v2.0.12wax02 branch, but I'm able to compile eosio branch v2.2.0-rc1 with any error.

Architecture: Darwin
OS name: macOS
OS Version: 12.1 1
Boost: 1.71.0
Clang: Apple clang version 13.0.0 (clang-1300.0.29.30), Target: x86_64-apple-darwin21.2.0

Dependencies

- cmake ok
 - graphviz ok
 - libtool ok
 - automake ok
 - wget ok
 - gmp ok
 - pkgconfig ok
 - python ok
 - doxygen ok
 - libusb ok
 - [email protected] ok

Error Trace

Undefined symbols for architecture x86_64:
  "boost::filesystem::detail::absolute(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)", referenced from:
      chainbase::pinnable_mapped_file::pinnable_mapped_file(boost::filesystem::path const&, bool, unsigned long long, bool, chainbase::pinnable_mapped_file::map_mode, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >) in libchainbase.a(pinnable_mapped_file.cpp.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]: *** [libraries/chainbase/test/chainbase_test] Error 1
make[1]: *** [libraries/chainbase/test/CMakeFiles/chainbase_test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
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
@raza-basit and others