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

Build issue with GPU on Ubuntu 16.04 #2038

Closed
cheungwoonming opened this issue Mar 7, 2019 · 2 comments
Closed

Build issue with GPU on Ubuntu 16.04 #2038

cheungwoonming opened this issue Mar 7, 2019 · 2 comments
Assignees

Comments

@cheungwoonming
Copy link

cheungwoonming commented Mar 7, 2019

Linking CXX shared library ../lib_lightgbm.so
[100%] Linking CXX executable ../lightgbm
CMakeFiles/lightgbm.dir/src/treelearner/data_parallel_tree_learner.cpp.o:在函数‘boost::system::error_category::std_category::equivalent(std::error_code const&, int) const’中:
data_parallel_tree_learner.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x44):对‘boost::system::detail::generic_category_ncx()’未定义的引用
data_parallel_tree_learner.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xd1):对‘boost::system::detail::generic_category_ncx()’未定义的引用
data_parallel_tree_learner.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x121):对‘boost::system::detail::generic_category_ncx()’未定义的引用
CMakeFiles/lightgbm.dir/src/treelearner/data_parallel_tree_learner.cpp.o:在函数‘boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const’中:
data_parallel_tree_learner.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x3f):对‘boost::system::detail::generic_category_ncx()’未定义的引用
data_parallel_tree_learner.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0xe1):对‘boost::system::detail::generic_category_ncx()’未定义的引用
collect2: error: ld returned 1 exit status
CMakeFiles/lightgbm.dir/build.make:521: recipe for target '../lightgbm' failed
make[2]: *** [../lightgbm] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/lightgbm.dir/all' failed
make[1]: *** [CMakeFiles/lightgbm.dir/all] Error 2
make[1]: *** 正在等待未完成的任务....
[100%] Built target _lightgbm
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

I have tried a couple of recommended fixes for similar errors, but have been unable to resolve this yet.
The most similar problem is #458, but it can not resolve my problem.

@guolinke
Copy link
Collaborator

guolinke commented Mar 7, 2019

ping @huanzhang12

@StrikerRUS
Copy link
Collaborator

@cheungwoonming Can you please share the full error log? And try to reinstall the Boost library.

@lock lock bot locked as resolved and limited conversation to collaborators Mar 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants