试图安装FBLuaLib

时间:2015-06-23 19:12:21

标签: build lua compiler-errors deep-learning torch

FbLuaLib:https://github.com/facebook/fblualib

要安装FBLuaLib,我需要安装thpp:https://github.com/facebook/thpp

我可以构建愚蠢的,fbthrift就好了,但是当我运行./build.sh for thpp时,我收到以下错误消息:

Linking CXX executable tensor_serialization_test
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libthriftcpp2.so: undefined reference to `virtual thunk to folly::AsyncSSLSocket::closeNow()'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libthriftcpp2.so: undefined reference to `virtual thunk to     
folly::AsyncSSLSocket::getRawBytesWritten() const'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libthriftcpp2.so: undefined reference to `virtual thunk to 
 folly::AsyncSSLSocket::setEorTracking(bool)'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libthriftcpp2.so: 
 /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libthriftcpp2.so:    undefined reference to `virtual thunk to 
folly::AsyncSSLSocket::performRead(void*, unsigned long)'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libthriftcpp2.so 
 collect2: error: ld returned 1 exit status
 test/CMakeFiles/tensor_serialization_test.dir/build.make:95: recipe for 
target 'test/tensor_serialization_test' failed
make[2]: *** [test/tensor_serialization_test] Error 1
CMakeFiles/Makefile2:240: recipe for target 'test/CMakeFiles
/tensor_serialization_test.dir/all' failed
make[1]: *** [test/CMakeFiles/tensor_serialization_test.dir/all] Error 2
Makefile:123: recipe for target 'all' failed
make: *** [all] Error 2

0 个答案:

没有答案