libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src -I.. -DPKGDATADIR=\"/usr/share/nghttp2\" -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/lib/includes -I../lib/includes -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/lib -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/includes -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/third-party -I/usr/include/libxml2 -DHAVE_CONFIG_H -pthread -I/usr/include -march=native -mtune=native -O2 -pipe -c /var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/timegm.c -fPIC -DPIC -o .libs/libnghttp2_asio_la-timegm.o /bin/bash ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src -I.. -DPKGDATADIR='"/usr/share/nghttp2"' -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/lib/includes -I../lib/includes -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/lib -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/includes -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/third-party -I/usr/include/libxml2 -DHAVE_CONFIG_H -pthread -I/usr/include -std=c++11 -march=native -mtune=native -O2 -pipe -c -o libnghttp2_asio_la-asio_common.lo `test -f 'asio_common.cc' || echo '/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/'`asio_common.cc libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src -I.. -DPKGDATADIR=\"/usr/share/nghttp2\" -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/lib/includes -I../lib/includes -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/lib -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/includes -I/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/third-party -I/usr/include/libxml2 -DHAVE_CONFIG_H -pthread -I/usr/include -std=c++11 -march=native -mtune=native -O2 -pipe -c /var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/asio_common.cc -fPIC -DPIC -o .libs/libnghttp2_asio_la-asio_common.o In file included from /usr/include/boost/asio/ssl/detail/openssl_init.hpp:100:0, from /usr/include/boost/asio/ssl/context.hpp:29, from /usr/include/boost/asio/ssl.hpp:19, from /var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/includes/nghttp2/asio_http2.h:37, from /var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/asio_common.h:32, from /var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0/src/asio_common.cc:25: /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp: In constructor ‘boost::asio::ssl::detail::openssl_init_base::do_init::do_init()’: /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:39:5: error: ‘::SSL_library_init’ has not been declared ::SSL_library_init(); ^ /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:40:5: error: ‘::SSL_load_error_strings’ has not been declared ::SSL_load_error_strings(); ^ /usr/include/boost/asio/ssl/detail/impl/openssl_init.ipp:41:5: error: ‘::OpenSSL_add_all_algorithms’ has not been declared ::OpenSSL_add_all_algorithms(); ^ make[3]: *** [Makefile:2198: libnghttp2_asio_la-asio_common.lo] Error 1 make[3]: Leaving directory '/var/tmp/portage/net-libs/nghttp2-1.21.0/work/nghttp2-1.21.0-abi_x86_64.amd64/src' make[2]: *** [Makefile:2591: all-recursive] Error 1 Please note that installed openssl-1.1 has been compiled with all deprecated features being removed (--api=1.1.0)!
all those errors are coming from the boost headers that were included, not from the nghttp2 source files themselves *** This bug has been marked as a duplicate of bug 596666 ***