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

Cannot build #1

Open
testhound opened this issue May 5, 2020 · 3 comments
Open

Cannot build #1

testhound opened this issue May 5, 2020 · 3 comments

Comments

@testhound
Copy link

After installing bazel and execut "./bazel.sh build" I received the following error:

src/main/tools/process-tools.cc:118: sigaction(32, &sa, nullptr) failed
src/main/tools/process-tools.cc:118: sigaction(33, &sa, nullptr) failed
/usr/include/boost/system/error_code.hpp:206: error: undefined reference to 'boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:208: error: undefined reference to 'boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:210: error: undefined reference to 'boost::system::system_category()'
/usr/include/boost/system/error_code.hpp:656: error: undefined reference to 'boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:659: error: undefined reference to 'boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:210: error: undefined reference to 'boost::system::system_category()'
collect2: error: ld returned 1 exit status

@mxz297
Copy link
Collaborator

mxz297 commented May 6, 2020

@testhound Hi, it looks like you are using the system boost, which may not necessarily have all the boost libraries we need installed.

Did you run ./bazel.sh deps ?

@testhound
Copy link
Author

Yes I ran "./bazel deps"

@testhound
Copy link
Author

I looked a the deps build and it does not do anything with boost. How does bazel locate boost on my system?

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