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

make failed on centos7 #126

Open
shizhoulong356 opened this issue Apr 9, 2018 · 0 comments
Open

make failed on centos7 #126

shizhoulong356 opened this issue Apr 9, 2018 · 0 comments

Comments

@shizhoulong356
Copy link

[root@v-binjiang-527-180409-mcoute-test wangle]# cmake3 . -DCMAKE_INSTALL_PREFIX=/opt/mcroute/install -DBUILD_TESTS=OFF
-- The C compiler identification is GNU 5.3.1
-- The CXX compiler identification is GNU 5.3.1
-- Check for working C compiler: /opt/rh/devtoolset-4/root/usr/bin/gcc
-- Check for working C compiler: /opt/rh/devtoolset-4/root/usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/rh/devtoolset-4/root/usr/bin/c++
-- Check for working CXX compiler: /opt/rh/devtoolset-4/root/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Boost version: 1.53.0
-- Found the following Boost libraries:
-- system
-- thread
-- filesystem
-- regex
-- context
-- chrono
-- date_time
-- atomic
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/mcroute/pkgs/wangle/wangle
[root@v-binjiang-527-180409-mcoute-test wangle]# make
Scanning dependencies of target wangle
[ 3%] Building CXX object CMakeFiles/wangle.dir/acceptor/Acceptor.cpp.o
[ 6%] Building CXX object CMakeFiles/wangle.dir/acceptor/AcceptorHandshakeManager.cpp.o
[ 10%] Building CXX object CMakeFiles/wangle.dir/acceptor/ConnectionManager.cpp.o
[ 13%] Building CXX object CMakeFiles/wangle.dir/acceptor/EvbHandshakeHelper.cpp.o
[ 16%] Building CXX object CMakeFiles/wangle.dir/acceptor/LoadShedConfiguration.cpp.o
[ 20%] Building CXX object CMakeFiles/wangle.dir/acceptor/ManagedConnection.cpp.o
[ 23%] Building CXX object CMakeFiles/wangle.dir/acceptor/SecureTransportType.cpp.o
[ 26%] Building CXX object CMakeFiles/wangle.dir/acceptor/SocketOptions.cpp.o
[ 30%] Building CXX object CMakeFiles/wangle.dir/acceptor/SSLAcceptorHandshakeHelper.cpp.o
[ 33%] Building CXX object CMakeFiles/wangle.dir/acceptor/TLSPlaintextPeekingCallback.cpp.o
[ 36%] Building CXX object CMakeFiles/wangle.dir/acceptor/TransportInfo.cpp.o
[ 40%] Building CXX object CMakeFiles/wangle.dir/bootstrap/ServerBootstrap.cpp.o
[ 43%] Building CXX object CMakeFiles/wangle.dir/channel/FileRegion.cpp.o
[ 46%] Building CXX object CMakeFiles/wangle.dir/channel/Pipeline.cpp.o
[ 50%] Building CXX object CMakeFiles/wangle.dir/client/ssl/SSLSessionCacheData.cpp.o
[ 53%] Building CXX object CMakeFiles/wangle.dir/client/ssl/SSLSessionCacheUtils.cpp.o
[ 56%] Building CXX object CMakeFiles/wangle.dir/client/ssl/SSLSessionCallbacks.cpp.o
/opt/mcroute/pkgs/wangle/wangle/client/ssl/SSLSessionCallbacks.cpp: In static member function ‘static std::string wangle::SSLSessionCallbacks::getSessionKeyFromSSL(SSL*)’:
/opt/mcroute/pkgs/wangle/wangle/client/ssl/SSLSessionCallbacks.cpp:62:23: error: ‘class folly::AsyncSSLSocket’ has no member named ‘getSessionKey’
return sock ? sock->getSessionKey() : "";
^
make[2]: *** [CMakeFiles/wangle.dir/client/ssl/SSLSessionCallbacks.cpp.o] Error 1
make[1]: *** [CMakeFiles/wangle.dir/all] Error 2
make: *** [all] Error 2

so what's the problmes

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

1 participant