Hi Kumar, This was likely due to a change I made to the build. I'll investigate and try to have a fix out today.
Ben On Fri, Aug 24, 2012 at 8:01 PM, Kumar Kandasami < [email protected]> wrote: > Hi ! > > > Getting following error while running make on the latest trunk code (git > clone git://git.apache.org/mesos.git)... any suggestions. Thank you. > > Environment: > > [root@KKRHEL1 mesos]# g++ --version > g++ (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3) > > [root@KKRHEL1 mesos]# java -version > java version "1.6.0_22" > OpenJDK Runtime Environment (IcedTea6 1.10.4) (rhel-1.41.1.10.4.el6-x86_64) > OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode) > > > Error: > > make[1]: Entering directory `/root/mesos' > make[1]: Nothing to be done for `all-am'. > make[1]: Leaving directory `/root/mesos' > Making all in third_party > make[1]: Entering directory `/root/mesos/third_party' > make all-recursive > make[2]: Entering directory `/root/mesos/third_party' > Making all in libprocess > make[3]: Entering directory `/root/mesos/third_party/libprocess' > Making all in third_party > make[4]: Entering directory > `/root/mesos/third_party/libprocess/third_party' > make all-am > make[5]: Entering directory > `/root/mesos/third_party/libprocess/third_party' > make[5]: Nothing to be done for `all-am'. > make[5]: Leaving directory `/root/mesos/third_party/libprocess/third_party' > make[4]: Leaving directory `/root/mesos/third_party/libprocess/third_party' > Making all in . > make[4]: Entering directory `/root/mesos/third_party/libprocess' > make[4]: Nothing to be done for `all-am'. > make[4]: Leaving directory `/root/mesos/third_party/libprocess' > make[3]: Leaving directory `/root/mesos/third_party/libprocess' > make[3]: Entering directory `/root/mesos/third_party' > make[3]: Nothing to be done for `all-am'. > make[3]: Leaving directory `/root/mesos/third_party' > make[2]: Leaving directory `/root/mesos/third_party' > make[1]: Leaving directory `/root/mesos/third_party' > Making all in src > make[1]: Entering directory `/root/mesos/src' > make all-am > make[2]: Entering directory `/root/mesos/src' > /bin/sh ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"mesos\" > -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"0.9.0\" > -DPACKAGE_STRING=\"mesos\ 0.9.0\" -DPACKAGE_BUGREPORT=\"\" > -DPACKAGE=\"mesos\" -DVERSION=\"0.9.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 -DMESOS_HAS_PYTHON=1 -DMESOS_WEBUI=1 > -I. -Wall -Werror -DMESOS_WEBUI_DIR=\"/usr/local/share/mesos/webui\" > -DMESOS_LIBEXECDIR=\"/usr/local/libexec/mesos\" -I../include > -I../third_party/libprocess/include -I../include > -I../third_party/boost-1.37.0 -I../third_party/protobuf-2.4.1/src > -I../third_party/glog-0.3.1/src > -I../third_party/zookeeper-3.3.4/src/c/include > -I../third_party/zookeeper-3.3.4/src/c/generated -g2 -O2 -MT > slave/libmesos_no_third_party_la-lxc_isolation_module.lo -MD -MP -MF > slave/.deps/libmesos_no_third_party_la-lxc_isolation_module.Tpo -c -o > slave/libmesos_no_third_party_la-lxc_isolation_module.lo `test -f > 'slave/lxc_isolation_module.cpp' || echo > './'`slave/lxc_isolation_module.cpp > libtool: compile: g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" > -DPACKAGE_VERSION=\"0.9.0\" "-DPACKAGE_STRING=\"mesos 0.9.0\"" > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"0.9.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 -DMESOS_HAS_PYTHON=1 -DMESOS_WEBUI=1 > -I. -Wall -Werror -DMESOS_WEBUI_DIR=\"/usr/local/share/mesos/webui\" > -DMESOS_LIBEXECDIR=\"/usr/local/libexec/mesos\" -I../include > -I../third_party/libprocess/include -I../include > -I../third_party/boost-1.37.0 -I../third_party/protobuf-2.4.1/src > -I../third_party/glog-0.3.1/src > -I../third_party/zookeeper-3.3.4/src/c/include > -I../third_party/zookeeper-3.3.4/src/c/generated -g2 -O2 -MT > slave/libmesos_no_third_party_la-lxc_isolation_module.lo -MD -MP -MF > slave/.deps/libmesos_no_third_party_la-lxc_isolation_module.Tpo -c > slave/lxc_isolation_module.cpp -fPIC -DPIC -o > slave/.libs/libmesos_no_third_party_la-lxc_isolation_module.o > cc1plus: warnings being treated as errors > slave/lxc_isolation_module.cpp: In member function ‘virtual void > mesos::internal::slave::LxcIsolationModule::launchExecutor(const > mesos::FrameworkID&, const mesos::FrameworkInfo&, const > mesos::ExecutorInfo&, const std::string&, const > mesos::internal::Resources&)’: > slave/lxc_isolation_module.cpp:206: error: comparison between signed and > unsigned integer expressions > make[2]: *** [slave/libmesos_no_third_party_la-lxc_isolation_module.lo] > Error 1 > make[2]: Leaving directory `/root/mesos/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/root/mesos/src' > make: *** [all-recursive] Error 1 > > > > Kumar _/|\_ > www.saisk.com > [email protected] > "making a profound difference with knowledge and creativity..." >
