You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在src/github.com/bububa/xgboost-go/example下编译,报了这么多错,如何解决啊?
[example]$ go build
github.com/bububa/xgboost-go/xgboost
../xgboost/../lib/libxgboost.a(c_api.o): In function _Z17prefixsum_inplacePmm._omp_fn.2': c_api.cc:(.text+0x79f): undefined reference to __cxa_throw_bad_array_new_length'
../xgboost/../lib/libxgboost.a(c_api.o): In function prefixsum_inplace(unsigned long*, unsigned long)': c_api.cc:(.text+0x1535): undefined reference to GOMP_parallel'
../xgboost/../lib/libxgboost.a(c_api.o): In function XGDMatrixCreateFromMat_omp': c_api.cc:(.text+0xe240): undefined reference to GOMP_parallel'
c_api.cc:(.text+0xe645): undefined reference to GOMP_parallel' ../xgboost/../lib/libxgboost.a(c_api.o): In function XGDMatrixCreateFromCSCEx':
c_api.cc:(.text+0xeed6): undefined reference to GOMP_parallel' c_api.cc:(.text+0xf209): undefined reference to GOMP_parallel'
../xgboost/../lib/libxgboost.a(data.o): In function xgboost::data::SparsePage::Format::DecideFormat(std::string const&)': data.cc:(.text+0xb52): undefined reference to std::__throw_out_of_range_fmt(char const*, ...)'
data.cc:(.text+0xb67): undefined reference to std::__throw_out_of_range_fmt(char const*, ...)' ../xgboost/../lib/libxgboost.a(data.o): In function xgboost::DMatrix::Load(std::string const&, bool, bool, std::string const&)':
.
.
.
The text was updated successfully, but these errors were encountered:
在src/github.com/bububa/xgboost-go/example下编译,报了这么多错,如何解决啊?
[example]$ go build
github.com/bububa/xgboost-go/xgboost
../xgboost/../lib/libxgboost.a(c_api.o): In function
_Z17prefixsum_inplacePmm._omp_fn.2': c_api.cc:(.text+0x79f): undefined reference to
__cxa_throw_bad_array_new_length'../xgboost/../lib/libxgboost.a(c_api.o): In function
prefixsum_inplace(unsigned long*, unsigned long)': c_api.cc:(.text+0x1535): undefined reference to
GOMP_parallel'../xgboost/../lib/libxgboost.a(c_api.o): In function
XGDMatrixCreateFromMat_omp': c_api.cc:(.text+0xe240): undefined reference to
GOMP_parallel'c_api.cc:(.text+0xe645): undefined reference to
GOMP_parallel' ../xgboost/../lib/libxgboost.a(c_api.o): In function
XGDMatrixCreateFromCSCEx':c_api.cc:(.text+0xeed6): undefined reference to
GOMP_parallel' c_api.cc:(.text+0xf209): undefined reference to
GOMP_parallel'../xgboost/../lib/libxgboost.a(data.o): In function
xgboost::data::SparsePage::Format::DecideFormat(std::string const&)': data.cc:(.text+0xb52): undefined reference to
std::__throw_out_of_range_fmt(char const*, ...)'data.cc:(.text+0xb67): undefined reference to
std::__throw_out_of_range_fmt(char const*, ...)' ../xgboost/../lib/libxgboost.a(data.o): In function
xgboost::DMatrix::Load(std::string const&, bool, bool, std::string const&)':.
.
.
The text was updated successfully, but these errors were encountered: