mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "HUO Jing" <huoj...@ihep.ac.cn>
Subject Problem during Make
Date Tue, 14 Jan 2014 09:22:21 GMT
Hi,
I meet a problem during make the mesos-0.14.0
please tell me how to solve this problem


*** Warning: Linking the shared library libmesos.la against the
*** static library ../3rdparty/leveldb/libleveldb.a is not portable!
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crti.o
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtbeginS.o  -Wl,--whole-archive ./.libs/libmesos_no_3rdparty.a
../3rdparty/libprocess/.libs/libprocess.a ./.libs/libjava.a -Wl,--no-whole-archive  -Wl,-rpath
-Wl,/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server ../3rdparty/libprocess/3rdparty/protobuf-2.4.1/src/.libs/libprotobuf.a
../3rdparty/libprocess/3rdparty/glog-0.3.3/.libs/libglog.a ../3rdparty/leveldb/libleveldb.a
../3rdparty/zookeeper-3.3.4/src/c/.libs/libzookeeper_mt.a /root/mesos-0.14.0/3rdparty/libprocess/3rdparty/glog-0.3.3/.libs/libglog.a
-lpthread /root/mesos-0.14.0/3rdparty/libprocess/3rdparty/libev-4.15/.libs/libev.a -L/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server
-lcurl -lssl -lcrypto -lz -lrt -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2 -L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64
-L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtendS.o
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crtn.o  -Wl,-ljvm   -pthread -Wl,-soname
-Wl,libmesos-0.14.0.so -o .libs/libmesos-0.14.0.so
libtool: link: (cd ".libs" && rm -f "libmesos.so" && ln -s "libmesos-0.14.0.so"
"libmesos.so")
libtool: link: ( cd ".libs" && rm -f "libmesos.la" && ln -s "../libmesos.la"
"libmesos.la" )
g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"0.14.0\" -DPACKAGE_STRING=\"mesos\
0.14.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"0.14.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_PTHREAD=1 -DMESOS_HAS_JAVA=1 -DHAVE_PYTHON=\"2.6\"
-DMESOS_HAS_PYTHON=1 -DHAVE_LIBZ=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSSL=1 -DHAVE_LIBCURL=1 -I.
  -Wall -Werror -DLIBDIR=\"/usr/local/lib\" -DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\" -DPKGDATADIR=\"/usr/local/share/mesos\"
-I../include -I../3rdparty/libprocess/include -I../3rdparty/libprocess/3rdparty/stout/include
-I../include -I../3rdparty/libprocess/3rdparty/boost-1.53.0 -I../3rdparty/libprocess/3rdparty/protobuf-2.4.1/src
-I../3rdparty/libprocess/3rdparty/glog-0.3.3/src -I../3rdparty/zookeeper-3.3.4/src/c/include
-I../3rdparty/zookeeper-3.3.4/src/c/generated   -g -g2 -O2 -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 './'`local/main.cpp
mv -f local/.deps/mesos_local-main.Tpo local/.deps/mesos_local-main.Po
/bin/sh ../libtool  --tag=CXX   --mode=link g++  -g -g2 -O2   -o mesos-local local/mesos_local-main.o
libmesos.la -lcurl -lssl -lcrypto -lz  -lrt
libtool: link: g++ -g -g2 -O2 -o .libs/mesos-local local/mesos_local-main.o  ./.libs/libmesos.so
-L/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server -lpthread -lcurl -lssl
-lcrypto -lz -lrt -pthread -Wl,-rpath -Wl,/usr/local/lib
./.libs/libmesos.so: undefined reference to `JNI_CreateJavaVM@SUNWprivate_1.1'
collect2: ld returned 1 exit status
make[2]: *** [mesos-local] Error 1
make[2]: Leaving directory `/root/mesos-0.14.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/mesos-0.14.0/src'
make: *** [all-recursive] Error 1



Mime
View raw message