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
The following compiler errors occur when building bmcweb with the SDK and the cmake option -DBMCWEB_INSECURE_DISABLE_SSL=ON
$ cmake -DYOCTO_DEPENDENCIES=1 -DBMCWEB_INSECURE_DISABLE_SSL=ON .
-- Toolchain file defaulted to '/esw/san5/openbmc/sdk/witherspoon/latest/sysroots/x86_64-oesdk-linux/usr/share/cmake/OEToolchainConfig.cmake'
-- The CXX compiler identification is GNU 8.2.0
-- Check for working CXX compiler: /esw/san5/openbmc/sdk/witherspoon/latest/sysroots/x86_64-oesdk-linux/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-g++
-- Check for working CXX compiler: /esw/san5/openbmc/sdk/witherspoon/latest/sysroots/x86_64-oesdk-linux/usr/bin/arm-openbmc-linux-gnueabi/arm-openbmc-linux-gnueabi-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Boost version: 1.69.0
-- Found OpenSSL: /esw/san5/openbmc/sdk/witherspoon/latest/sysroots/armv6-openbmc-linux-gnueabi/usr/lib/libcrypto.so (found version "1.1.1a")
OPENSSL_INCLUDE_DIR /esw/san5/openbmc/sdk/witherspoon/latest/sysroots/armv6-openbmc-linux-gnueabi/usr/include
CMAKE_BUILD_TYPE=
-- Found ZLIB: /esw/san5/openbmc/sdk/witherspoon/latest/sysroots/armv6-openbmc-linux-gnueabi/usr/lib/libz.so (found version "1.2.11")
-- Performing Test PAM_MESSAGE_CONST
-- Performing Test PAM_MESSAGE_CONST - Success
-- Found PAM: /esw/san5/openbmc/sdk/witherspoon/latest/sysroots/armv6-openbmc-linux-gnueabi/lib/libpam.so;/esw/san5/openbmc/sdk/witherspoon/latest/sysroots/armv6-openbmc-linux-gnueabi/usr/lib/libdl.so
-- Configuring done
-- Generating done
-- Build files have been written to: /esw/san5/shawnmm/obmc/bmcweb
$ make
Scanning dependencies of target bmcweb
[ 16%] Building CXX object CMakeFiles/bmcweb.dir/src/webserver_main.cpp.o
In file included from /esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h:15,
from /esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/app.h:12,
from /esw/san5/shawnmm/obmc/bmcweb/src/webserver_main.cpp:1:
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_connection.h: In member function ‘void crow::Connection<Adaptor, Handler, Middlewares>::start()’:
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_connection.h:294:52: error: ‘ssl_stream’ is not a member of ‘boost::beast’
boost::beast::ssl_stream<
^~~~~~~~~~
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_connection.h:294:52: note: suggested alternative: ‘ostream’
boost::beast::ssl_stream<
^~~~~~~~~~
ostream
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_connection.h:293:28: error: parse error in template argument list
if constexpr (std::is_same_v<Adaptor,
^~~~~~~~~~~~~~~~~~
boost::beast::ssl_stream<
~~~~~~~~~~~~~~~~~~~~~~~~~
boost::asio::ip::tcp::socket>>)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_connection.h:295:72: error: expected primary-expression before ‘)’ token
boost::asio::ip::tcp::socket>>)
^
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_connection.h:298:30: error: ‘boost::asio::ssl’ has not been declared
boost::asio::ssl::stream_base::server,
^~~
In file included from /esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/app.h:12,
from /esw/san5/shawnmm/obmc/bmcweb/src/webserver_main.cpp:1:
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h: At global scope:
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h:35:25: error: ‘boost::asio::ssl’ has not been declared
boost::asio::ssl::context* adaptor_ctx = nullptr,
^~~
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h:47:25: error: ‘boost::asio::ssl’ has not been declared
boost::asio::ssl::context* adaptor_ctx = nullptr,
^~~
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h:61:25: error: ‘boost::asio::ssl’ has not been declared
boost::asio::ssl::context* adaptor_ctx = nullptr,
^~~
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h:220:18: error: ‘ssl’ in namespace ‘boost::asio’ does not name a type
boost::asio::ssl::context* adaptorCtx;
^~~
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h: In constructor ‘crow::Server<Handler, Adaptor, Middlewares>::Server(Handler*, std::unique_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp> >&&, std::tuple<_Tail ...>*, int*, std::shared_ptr<boost::asio::io_context>)’:
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h:41:9: error: class ‘crow::Server<Handler, Adaptor, Middlewares>’ does not have any field named ‘adaptorCtx’
adaptorCtx(adaptor_ctx)
^~~~~~~~~~
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h: In member function ‘void crow::Server<Handler, Adaptor, Middlewares>::doAccept()’:
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h:169:50: error: ‘ssl_stream’ is not a member of ‘boost::beast’
boost::beast::ssl_stream<
^~~~~~~~~~
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h:169:50: note: suggested alternative: ‘ostream’
boost::beast::ssl_stream<
^~~~~~~~~~
ostream
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h:170:62: error: template argument 2 is invalid
boost::asio::ip::tcp::socket>>::value)
^~~~~~
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h:170:72: error: ‘::value’ has not been declared
boost::asio::ip::tcp::socket>>::value)
^~~~~
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h:172:48: error: ‘adaptorCtx’ was not declared in this scope
adaptorTemp = Adaptor(*ioService, *adaptorCtx);
^~~~~~~~~~
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h:172:48: note: suggested alternative: ‘Adaptor’
adaptorTemp = Adaptor(*ioService, *adaptorCtx);
^~~~~~~~~~
Adaptor
In file included from /esw/san5/openbmc/sdk/witherspoon/latest/sysroots/armv6-openbmc-linux-gnueabi/usr/include/boost/random/detail/integer_log2.hpp:19,
from /esw/san5/openbmc/sdk/witherspoon/latest/sysroots/armv6-openbmc-linux-gnueabi/usr/include/boost/random/detail/large_arithmetic.hpp:19,
from /esw/san5/openbmc/sdk/witherspoon/latest/sysroots/armv6-openbmc-linux-gnueabi/usr/include/boost/random/detail/const_mod.hpp:23,
from /esw/san5/openbmc/sdk/witherspoon/latest/sysroots/armv6-openbmc-linux-gnueabi/usr/include/boost/random/detail/seed_impl.hpp:26,
from /esw/san5/openbmc/sdk/witherspoon/latest/sysroots/armv6-openbmc-linux-gnueabi/usr/include/boost/random/mersenne_twister.hpp:30,
from /esw/san5/openbmc/sdk/witherspoon/latest/sysroots/armv6-openbmc-linux-gnueabi/usr/include/boost/uuid/random_generator.hpp:17,
from /esw/san5/openbmc/sdk/witherspoon/latest/sysroots/armv6-openbmc-linux-gnueabi/usr/include/boost/uuid/uuid_generators.hpp:17,
from /esw/san5/shawnmm/obmc/bmcweb/include/image_upload.hpp:6,
from /esw/san5/shawnmm/obmc/bmcweb/src/webserver_main.cpp:7:
/esw/san5/openbmc/sdk/witherspoon/latest/sysroots/armv6-openbmc-linux-gnueabi/usr/include/boost/pending/integer_log2.hpp: At global scope:
/esw/san5/openbmc/sdk/witherspoon/latest/sysroots/armv6-openbmc-linux-gnueabi/usr/include/boost/pending/integer_log2.hpp:7:59: note: #pragma message: This header is deprecated. Use <boost/integer/integer_log2.hpp> instead.
BOOST_HEADER_DEPRECATED("<boost/integer/integer_log2.hpp>");
^
In file included from /esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h:15,
from /esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/app.h:12,
from /esw/san5/shawnmm/obmc/bmcweb/src/webserver_main.cpp:1:
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_connection.h: In instantiation of ‘void crow::Connection<Adaptor, Handler, Middlewares>::start() [with Adaptor = boost::asio::basic_stream_socket<boost::asio::ip::tcp>; Handler = crow::Crow<crow::SecurityHeadersMiddleware, crow::persistent_data::Middleware, crow::token_authorization::Middleware>; Middlewares = {crow::SecurityHeadersMiddleware, crow::persistent_data::Middleware, crow::token_authorization::Middleware}]’:
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h:189:50: required from ‘void crow::Server<Handler, Adaptor, Middlewares>::doAccept() [with Handler = crow::Crow<crow::SecurityHeadersMiddleware, crow::persistent_data::Middleware, crow::token_authorization::Middleware>; Adaptor = boost::asio::basic_stream_socket<boost::asio::ip::tcp>; Middlewares = {crow::SecurityHeadersMiddleware, crow::persistent_data::Middleware, crow::token_authorization::Middleware}]’
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_server.h:157:9: required from ‘void crow::Server<Handler, Adaptor, Middlewares>::run() [with Handler = crow::Crow<crow::SecurityHeadersMiddleware, crow::persistent_data::Middleware, crow::token_authorization::Middleware>; Adaptor = boost::asio::basic_stream_socket<boost::asio::ip::tcp>; Middlewares = {crow::SecurityHeadersMiddleware, crow::persistent_data::Middleware, crow::token_authorization::Middleware}]’
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/app.h:123:9: required from ‘void crow::Crow<Middlewares>::run() [with Middlewares = {crow::SecurityHeadersMiddleware, crow::persistent_data::Middleware, crow::token_authorization::Middleware}]’
/esw/san5/shawnmm/obmc/bmcweb/src/webserver_main.cpp:106:13: required from here
/esw/san5/shawnmm/obmc/bmcweb/crow/include/crow/http_connection.h:297:21: error: ‘class boost::asio::basic_stream_socket<boost::asio::ip::tcp>’ has no member named ‘async_handshake’; did you mean ‘async_send’?
adaptor.async_handshake(
~~~~~~~~^~~~~~~~~~~~~~~
async_send
make[2]: *** [CMakeFiles/bmcweb.dir/src/webserver_main.cpp.o] Error 1
make[1]: *** [CMakeFiles/bmcweb.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
The following compiler errors occur when building bmcweb with the SDK and the cmake option -DBMCWEB_INSECURE_DISABLE_SSL=ON
The text was updated successfully, but these errors were encountered: