Created
May 12, 2021 23:57
-
-
Save ridv/f8259f7e44bc574070c5895a37873aae to your computer and use it in GitHub Desktop.
Mesos 1.10 Compilation issues
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using:../configure --enable-ssl | |
make[5]: Entering directory '/x/home/rdelvalle/mesos-1.10.0/build/3rdparty/libprocess' | |
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"1.10.0\" -DPACKAGE_STRING=\"mesos\ 1.10.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"1.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_OPENSSL_SSL_H=1 -DUSE_SSL_SOCKET=1 -DHAVE_FTS_H=1 -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_LIBCURL=1 -DMESOS_HAS_JAVA=1 -DENABLE_NVML=1 -DHAVE_LIBSASL2=1 -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_ZLIB_H=1 -DHAVE_LIBZ=1 -DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -I. -I../../../3rdparty/libprocess -DBUILD_DIR=\"/x/home/rdelvalle/mesos-1.10.0/build/3rdparty/libprocess\" -I../../../3rdparty/libprocess/include -I../../../3rdparty/libprocess/src -I../boost-1.65.0 -I../concurrentqueue-7b69a8f -I../elfio-3.2 -I../glog-0.4.0/src -I../grpc-1.10.0/include -I../http-parser-2.6.2 -I../libev-4.22 -D__STDC_FORMAT_MACROS -I../picojson-1.3.0 -I../protobuf-3.5.0/src -I../rapidjson-1.1.0/include -I../../../3rdparty/libprocess/../stout/include -DLIBPROCESS_ALLOW_JEMALLOC -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/apr-1.0 -Wall -Wsign-compare -Wformat-security -fstack-protector-strong -fPIC -fPIE -g1 -O0 -Wno-unused-local-typedefs -std=c++11 -MT src/ssl/libprocess_la-openssl_socket.lo -MD -MP -MF src/ssl/.deps/libprocess_la-openssl_socket.Tpo -c -o src/ssl/libprocess_la-openssl_socket.lo `test -f 'src/ssl/openssl_socket.cpp' || echo '../../../3rdparty/libprocess/'`src/ssl/openssl_socket.cpp | |
libtool: compile: g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"1.10.0\" "-DPACKAGE_STRING=\"mesos 1.10.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"1.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_OPENSSL_SSL_H=1 -DUSE_SSL_SOCKET=1 -DHAVE_FTS_H=1 -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_LIBCURL=1 -DMESOS_HAS_JAVA=1 -DENABLE_NVML=1 -DHAVE_LIBSASL2=1 -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_ZLIB_H=1 -DHAVE_LIBZ=1 -DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -I. -I../../../3rdparty/libprocess -DBUILD_DIR=\"/x/home/rdelvalle/mesos-1.10.0/build/3rdparty/libprocess\" -I../../../3rdparty/libprocess/include -I../../../3rdparty/libprocess/src -I../boost-1.65.0 -I../concurrentqueue-7b69a8f -I../elfio-3.2 -I../glog-0.4.0/src -I../grpc-1.10.0/include -I../http-parser-2.6.2 -I../libev-4.22 -D__STDC_FORMAT_MACROS -I../picojson-1.3.0 -I../protobuf-3.5.0/src -I../rapidjson-1.1.0/include -I../../../3rdparty/libprocess/../stout/include -DLIBPROCESS_ALLOW_JEMALLOC -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/apr-1.0 -Wall -Wsign-compare -Wformat-security -fstack-protector-strong -fPIC -g1 -O0 -Wno-unused-local-typedefs -std=c++11 -MT src/ssl/libprocess_la-openssl_socket.lo -MD -MP -MF src/ssl/.deps/libprocess_la-openssl_socket.Tpo -c ../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp -fPIC -DPIC -o src/ssl/.libs/libprocess_la-openssl_socket.o | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp: In function ‘int process::network::internal::bio_libprocess_create(BIO*)’: | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:101:22: error: ‘BIO_set_init’ was not declared in this scope | |
BIO_set_init(bio, 0); | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:105:40: error: ‘BIO_set_data’ was not declared in this scope | |
BIO_set_data(bio, new SocketBIOData()); | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp: In function ‘int process::network::internal::bio_libprocess_destroy(BIO*)’: | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:114:74: error: ‘BIO_get_data’ was not declared in this scope | |
SocketBIOData* data = reinterpret_cast<SocketBIOData*>(BIO_get_data(bio)); | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp: In function ‘int process::network::internal::bio_libprocess_write(BIO*, const char*, int)’: | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:127:74: error: ‘BIO_get_data’ was not declared in this scope | |
SocketBIOData* data = reinterpret_cast<SocketBIOData*>(BIO_get_data(bio)); | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp: In function ‘int process::network::internal::bio_libprocess_read(BIO*, char*, int)’: | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:153:74: error: ‘BIO_get_data’ was not declared in this scope | |
SocketBIOData* data = reinterpret_cast<SocketBIOData*>(BIO_get_data(bio)); | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp: In function ‘long int process::network::internal::bio_libprocess_ctrl(BIO*, int, long int, void*)’: | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:203:74: error: ‘BIO_get_data’ was not declared in this scope | |
SocketBIOData* data = reinterpret_cast<SocketBIOData*>(BIO_get_data(bio)); | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp: In function ‘BIO_METHOD* process::network::internal::get_libprocess_BIO_METHOD()’: | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:257:32: error: ‘BIO_get_new_index’ was not declared in this scope | |
int type = BIO_get_new_index(); | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:261:51: error: ‘BIO_meth_new’ was not declared in this scope | |
libprocess_bio = BIO_meth_new(type, "libprocess"); | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:263:60: error: ‘BIO_meth_set_create’ was not declared in this scope | |
BIO_meth_set_create(libprocess_bio, bio_libprocess_create); | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:264:62: error: ‘BIO_meth_set_destroy’ was not declared in this scope | |
BIO_meth_set_destroy(libprocess_bio, bio_libprocess_destroy); | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:266:58: error: ‘BIO_meth_set_write’ was not declared in this scope | |
BIO_meth_set_write(libprocess_bio, bio_libprocess_write); | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:267:56: error: ‘BIO_meth_set_read’ was not declared in this scope | |
BIO_meth_set_read(libprocess_bio, bio_libprocess_read); | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:269:56: error: ‘BIO_meth_set_ctrl’ was not declared in this scope | |
BIO_meth_set_ctrl(libprocess_bio, bio_libprocess_ctrl); | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp: In function ‘BIO* process::network::internal::BIO_new_libprocess(int_fd)’: | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:281:74: error: ‘BIO_get_data’ was not declared in this scope | |
SocketBIOData* data = reinterpret_cast<SocketBIOData*>(BIO_get_data(bio)); | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:287:22: error: ‘BIO_set_init’ was not declared in this scope | |
BIO_set_init(bio, 1); | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp: In member function ‘process::Future<process::ControlFlow<long unsigned int> > process::network::internal::OpenSSLSocketImpl::handle_ssl_return_result(int, bool)’: | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:878:74: error: ‘BIO_get_data’ was not declared in this scope | |
SocketBIOData* data = reinterpret_cast<SocketBIOData*>(BIO_get_data(bio)); | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:907:10: error: ‘SSL_ERROR_WANT_CLIENT_HELLO_CB’ was not declared in this scope | |
case SSL_ERROR_WANT_CLIENT_HELLO_CB: | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:916:10: error: ‘SSL_ERROR_WANT_ASYNC’ was not declared in this scope | |
case SSL_ERROR_WANT_ASYNC: | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:917:10: error: ‘SSL_ERROR_WANT_ASYNC_JOB’ was not declared in this scope | |
case SSL_ERROR_WANT_ASYNC_JOB: | |
^ | |
In file included from ../../../3rdparty/libprocess/include/process/future.hpp:27:0, | |
from ../../../3rdparty/libprocess/include/process/io.hpp:19, | |
from ../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:29: | |
../glog-0.4.0/src/glog/logging.h: In instantiation of ‘std::__cxx11::string* google::Check_EQImpl(const T1&, const T2&, const char*) [with T1 = long unsigned int; T2 = int; std::__cxx11::string = std::__cxx11::basic_string<char>]’: | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:178:7: required from here | |
../glog-0.4.0/src/glog/logging.h:719:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
DEFINE_CHECK_OP_IMPL(Check_EQ, ==) // Compilation error with CHECK_EQ(NULL, x)? | |
^ | |
../glog-0.4.0/src/glog/logging.h:148:53: note: in definition of macro ‘GOOGLE_PREDICT_TRUE’ | |
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1)) | |
^ | |
../glog-0.4.0/src/glog/logging.h:719:1: note: in expansion of macro ‘DEFINE_CHECK_OP_IMPL’ | |
DEFINE_CHECK_OP_IMPL(Check_EQ, ==) // Compilation error with CHECK_EQ(NULL, x)? | |
^ | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp: In member function ‘virtual process::Future<Nothing> process::network::internal::OpenSSLSocketImpl::connect(const process::network::Address&)’: | |
../../../3rdparty/libprocess/src/ssl/openssl_socket.cpp:329:1: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
Makefile:1538: recipe for target 'src/ssl/libprocess_la-openssl_socket.lo' failed | |
make[5]: *** [src/ssl/libprocess_la-openssl_socket.lo] Error 1 | |
make[5]: Leaving directory '/x/home/rdelvalle/mesos-1.10.0/build/3rdparty/libprocess' | |
Makefile:2161: recipe for target 'all-recursive' failed | |
make[4]: *** [all-recursive] Error 1 | |
make[4]: Leaving directory '/x/home/rdelvalle/mesos-1.10.0/build/3rdparty/libprocess' | |
Makefile:935: recipe for target 'all' failed | |
make[3]: *** [all] Error 2 | |
make[3]: Leaving directory '/x/home/rdelvalle/mesos-1.10.0/build/3rdparty/libprocess' | |
Makefile:1138: recipe for target 'all-recursive' failed | |
make[2]: *** [all-recursive] Error 1 | |
make[2]: Leaving directory '/x/home/rdelvalle/mesos-1.10.0/build/3rdparty' | |
Makefile:827: recipe for target 'all' failed | |
make[1]: *** [all] Error 2 | |
make[1]: Leaving directory '/x/home/rdelvalle/mesos-1.10.0/build/3rdparty' | |
Makefile:785: recipe for target 'all-recursive' failed | |
make: *** [all-recursive] Error 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using: ../configure --enable-libevent --enable-ssl | |
libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbeginS.o resource_provider/storage/.libs/liburi_disk_profile_adaptor_la-uri_disk_profile_adaptor.o -lz /usr/lib/x86_64-linux-gnu/libsvn_delta-1.so /usr/lib/x86_64-linux-gnu/libsvn_subr-1.so -lsasl2 /usr/lib/x86_64-linux-gnu/libcurl-nss.so /usr/lib/x86_64-linux-gnu/libapr-1.so -lssl -lcrypto -lrt -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/5/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o -pthread -fstack-protector-strong -g1 -O0 -pthread -Wl,-soname -Wl,liburi_disk_profile_adaptor-1.10.0.so -o .libs/liburi_disk_profile_adaptor-1.10.0.so | |
libtool: link: (cd ".libs" && rm -f "liburi_disk_profile_adaptor.so" && ln -s "liburi_disk_profile_adaptor-1.10.0.so" "liburi_disk_profile_adaptor.so") | |
libtool: link: ( cd ".libs" && rm -f "liburi_disk_profile_adaptor.la" && ln -s "../liburi_disk_profile_adaptor.la" "liburi_disk_profile_adaptor.la" ) | |
g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"1.10.0\" -DPACKAGE_STRING=\"mesos\ 1.10.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"1.10.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -DHAVE_OPENSSL_SSL_H=1 -DUSE_SSL_SOCKET=1 -DHAVE_FTS_H=1 -DHAVE_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_LIBCURL=1 -DMESOS_HAS_JAVA=1 -DUSE_LIBEVENT=1 -DENABLE_NVML=1 -DHAVE_LIBSASL2=1 -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_ZLIB_H=1 -DHAVE_LIBZ=1 -DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -I. -I../../src -Werror -DLIBDIR=\"/usr/local/lib\" -DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\" -DPKGDATADIR=\"/usr/local/share/mesos\" -DPKGMODULEDIR=\"/usr/local/lib/mesos/modules\" -I../../include -I../include -I../include/mesos -D__STDC_FORMAT_MACROS -I../3rdparty/boost-1.65.0 -I../3rdparty/concurrentqueue-7b69a8f -I../3rdparty/elfio-3.2 -I../3rdparty/glog-0.4.0/src -I../3rdparty/grpc-1.10.0/include -I../3rdparty/leveldb-1.19/include -I../3rdparty/libarchive-3.3.2/libarchive/ -I../../3rdparty/libprocess/include -I../3rdparty/nvml-352.79 -I../3rdparty/picojson-1.3.0 -I../3rdparty/protobuf-3.5.0/src -I../3rdparty/rapidjson-1.1.0/include -I../../3rdparty/stout/include -I../3rdparty/zookeeper-3.4.8/src/c/include -I../3rdparty/zookeeper-3.4.8/src/c/generated -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/apr-1.0 -pthread -Wall -Wsign-compare -Wformat-security -fstack-protector-strong -fPIC -fPIE -g1 -O0 -Wno-unused-local-typedefs -std=c++11 -MT local/mesos_local-main.o -MD -MP -MF local/.deps/mesos_local-main.Tpo -c -o local/mesos_local-main.o `test -f 'local/main.cpp' || echo '../../src/'`local/main.cpp | |
mv -f local/.deps/mesos_local-main.Tpo local/.deps/mesos_local-main.Po | |
/bin/bash ../libtool --tag=CXX --mode=link g++ -pthread -Wall -Wsign-compare -Wformat-security -fstack-protector-strong -fPIC -fPIE -g1 -O0 -Wno-unused-local-typedefs -std=c++11 -Wl,--as-needed -pie -o mesos-local local/mesos_local-main.o libmesos.la ../3rdparty/libarchive-3.3.2/.libs/libarchive.la -lz -lsvn_delta-1 -lsvn_subr-1 -lsasl2 -lcurl -lapr-1 -lssl -lcrypto -lrt | |
libtool: link: g++ -pthread -Wall -Wsign-compare -Wformat-security -fstack-protector-strong -fPIC -fPIE -g1 -O0 -Wno-unused-local-typedefs -std=c++11 -Wl,--as-needed -pie -o .libs/mesos-local local/mesos_local-main.o ./.libs/libmesos.so ../3rdparty/libarchive-3.3.2/.libs/libarchive.a -lz /usr/lib/x86_64-linux-gnu/libsvn_delta-1.so /usr/lib/x86_64-linux-gnu/libsvn_subr-1.so -lsasl2 /usr/lib/x86_64-linux-gnu/libcurl-nss.so /usr/lib/x86_64-linux-gnu/libapr-1.so -lssl -lcrypto -lrt -pthread | |
./.libs/libmesos.so: undefined reference to `process::network::internal::OpenSSLSocketImpl::create(int)' | |
collect2: error: ld returned 1 exit status | |
Makefile:6301: recipe for target 'mesos-local' failed | |
make[2]: *** [mesos-local] Error 1 | |
make[2]: Leaving directory '/x/home/rdelvalle/mesos-1.10.0/build/src' | |
Makefile:4234: recipe for target 'all' failed | |
make[1]: *** [all] Error 2 | |
make[1]: Leaving directory '/x/home/rdelvalle/mesos-1.10.0/build/src' | |
Makefile:785: recipe for target 'all-recu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment