Comments (9)
请确认git clone 的时候有没有添加 --recursive 选项
from x-deeplearning.
编译时make -j32报错
[ 70%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc.o
[ 70%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_message.cc.o
[ 70%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc.o
[ 70%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc.o
[ 70%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc.o
/usr/bin/ld: cannot find -lps_network_static
/usr/bin/ld: cannot find -lseastar
/usr/bin/ld: cannot find -lcares-seastar
collect2: error: ld returned 1 exit status
ps-plus/CMakeFiles/ps_client_test.dir/build.make:314: recipe for target 'ps-plus/ps_client_test' failed
make[2]: *** [ps-plus/ps_client_test] Error 1
CMakeFiles/Makefile2:3053: recipe for target 'ps-plus/CMakeFiles/ps_client_test.dir/all' failed
make[1]: *** [ps-plus/CMakeFiles/ps_client_test.dir/all] Error 2
[ 70%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/php/php_generator.cc.o
[ 70%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/plugin.cc.o
[ 70%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/plugin.pb.cc.o
[ 71%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/ruby/ruby_generator.cc.o
[ 71%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/python/python_generator.cc.o
[ 71%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/subprocess.cc.o
[ 71%] Building CXX object third_party/protobuf/cmake/CMakeFiles/libprotoc.dir/__/src/google/protobuf/compiler/zip_writer.cc.o
[ 71%] Linking CXX executable ps_common_test
[ 72%] Linking CXX executable tool
/usr/bin/ld: cannot find -lps_network_static
/usr/bin/ld: cannot find -lseastar
/usr/bin/ld: cannot find -lcares-seastar
collect2: error: ld returned 1 exit status
ps-plus/CMakeFiles/ps_common_test.dir/build.make:782: recipe for target 'ps-plus/ps_common_test' failed
make[2]: *** [ps-plus/ps_common_test] Error 1
CMakeFiles/Makefile2:2845: recipe for target 'ps-plus/CMakeFiles/ps_common_test.dir/all' failed
make[1]: *** [ps-plus/CMakeFiles/ps_common_test.dir/all] Error 2
/usr/bin/ld: cannot find -lps_network_static
/usr/bin/ld: cannot find -lseastar
/usr/bin/ld: cannot find -lcares-seastar
collect2: error: ld returned 1 exit status
ps-plus/CMakeFiles/tool.dir/build.make:103: recipe for target 'ps-plus/tool' failed
make[2]: *** [ps-plus/tool] Error 1
CMakeFiles/Makefile2:2889: recipe for target 'ps-plus/CMakeFiles/tool.dir/all' failed
make[1]: *** [ps-plus/CMakeFiles/tool.dir/all] Error 2
[ 73%] Linking CXX executable ps_server_test
[ 73%] Linking CXX static library libprotoc.a
[ 73%] Linking CXX executable ps
/usr/bin/ld: cannot find -lps_network_static
/usr/bin/ld: cannot find -lseastar
/usr/bin/ld: cannot find -lcares-seastar
collect2: error: ld returned 1 exit status
ps-plus/CMakeFiles/ps_server_test.dir/build.make:756: recipe for target 'ps-plus/ps_server_test' failed
make[2]: *** [ps-plus/ps_server_test] Error 1
CMakeFiles/Makefile2:3330: recipe for target 'ps-plus/CMakeFiles/ps_server_test.dir/all' failed
make[1]: *** [ps-plus/CMakeFiles/ps_server_test.dir/all] Error 2
[ 73%] Built target libprotoc
/usr/bin/ld: cannot find -lps_network_static
/usr/bin/ld: cannot find -lseastar
/usr/bin/ld: cannot find -lcares-seastar
collect2: error: ld returned 1 exit status
ps-plus/CMakeFiles/ps.dir/build.make:103: recipe for target 'ps-plus/ps' failed
make[2]: *** [ps-plus/ps] Error 1
CMakeFiles/Makefile2:2970: recipe for target 'ps-plus/CMakeFiles/ps.dir/all' failed
make[1]: *** [ps-plus/CMakeFiles/ps.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
请问是什么问题? 谢谢!
@yiling-dc
from x-deeplearning.
@lxl910915 你解决了这个问题吗?我源码编译的时候也遇到了:
/usr/bin/ld: cannot find -lps_network_static
/usr/bin/ld: cannot find -lseastar
/usr/bin/ld: cannot find -lcares-seastar
from x-deeplearning.
@lxl910915 你解决了这个问题吗?我源码编译的时候也遇到了:
/usr/bin/ld: cannot find -lps_network_static
/usr/bin/ld: cannot find -lseastar
/usr/bin/ld: cannot find -lcares-seastar
@peipei-pig 还没有解决,使用官方提供的xdl镜像来编译,也是这个错误。
from x-deeplearning.
@peipei-pig @lxl910915
确认git clone 的时候有添加 --recursive 选项,同时确认seastar lib编译成功。在cmake .. -DTF_BACKEND=1的时候会生成seastar lib。
from x-deeplearning.
@peipei-pig @lxl910915
确认git clone 的时候有添加 --recursive 选项,同时确认seastar lib编译成功。在cmake .. -DTF_BACKEND=1的时候会生成seastar lib。
cmake .. -DTF_BACKEND=1之后,生产了这些seastar相关的包:
./ps-plus/CMakeFiles/seastar_service.dir
./ps-plus/CMakeFiles/seastar_service.dir/ps-plus/service/seastar
./ps-plus/CMakeFiles/seastar_service.dir/ps-plus/service/seastar/lib/seastar_server_client_lib.cc.o
./ps-plus/CMakeFiles/seastar_service.dir/ps-plus/service/seastar/lib/seastar_client_lib.cc.o
./ps-plus/CMakeFiles/seastar_service.dir/ps-plus/service/seastar/lib/seastar_server_lib.cc.o
./ps-plus/CMakeFiles/seastar_service.dir/ps-plus/service/seastar/lib/seastar_request_processor.cc.o
./ps-plus/CMakeFiles/seastar_service.dir/ps-plus/service/seastar/lib/seastar_response_processor.cc.o
./ps-plus/libseastar_service.a
请问seastar lib编译是否成功?
@shanshanpt
from x-deeplearning.
seastar没有编译成功,查看一下seastar相关的编译日志,编译成功应该包含下面三个静态库:libcares-seastar.a libseastar.a libps_network_static.a
from x-deeplearning.
@lxl910915 seastar_service是成功的,确认一下:
x-deeplearning/xdl/third_party/seastar/build/release/libcares-seastar.a
x-deeplearning/xdl/third_party/seastar/build/release/libseastar.a
x-deeplearning/xdl/third_party/seastar/service/build_script/libps_network_static.a
这三个是否存在了。
from x-deeplearning.
参考:#76
from x-deeplearning.
Related Issues (20)
- Fail to find glog
- 集群化部署有例子可以验证是否成功么
- 训练时报错
- TDM中叶子结点的embdding是怎么来的
- insufficient processing units
- invalid batch
- TDM serving编译时报错
- AUC bug report
- TDM3.0 beam search采样不会很耗时吗 HOT 3
- 话说现在用TensorFlow分布式训练CTR模型的思路是? HOT 1
- 如何在标准文本数据格式中表示sparse feature的 segments HOT 1
- xdl有没有各个函数功能的详细文档 HOT 1
- build_final_net return a tuple but use as list
- pip install xdl
- help!!! Illegal instruction (core dumped)
- tdm 单机预测评估时卡住没反应 HOT 2
- SyncHook 没有在 worker 之间形成同步?
- ZfsKv是做什么用的?
- mac M2 芯片的可以安装xdl吗? HOT 1
- TDM 的train.py执行异常, item_emb 为空
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from x-deeplearning.