Skip to content

Instantly share code, notes, and snippets.

@meonkeys
Last active December 11, 2015 23:18
Show Gist options
  • Select an option

  • Save meonkeys/4675618 to your computer and use it in GitHub Desktop.

Select an option

Save meonkeys/4675618 to your computer and use it in GitHub Desktop.
Mesos SVN r1439229 compile error. Ubuntu 12.10 32-bit desktop. See http://tinyurl.com/m9ob7bc
$ svn checkout https://svn.apache.org/repos/asf/incubator/mesos/trunk mesos-trunk
$ cd mesos-trunk
$ ./bootstrap
...
$ ./configure && make
...
make[2]: Entering directory `/tmp/mesos/mesos-trunk/src'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"0.12.0\" -DPACKAGE_STRING=\"mesos\ 0.12.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"0.12.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 -DHAVE_LIBZ=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSSL=1 -DHAVE_LIBCURL=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.51.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 -pthread -g2 -O2 -MT sched/libmesos_no_third_party_la-sched.lo -MD -MP -MF sched/.deps/libmesos_no_third_party_la-sched.Tpo -c -o sched/libmesos_no_third_party_la-sched.lo `test -f 'sched/sched.cpp' || echo './'`sched/sched.cpp
libtool: compile: g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"0.12.0\" "-DPACKAGE_STRING=\"mesos 0.12.0\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" -DVERSION=\"0.12.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 -DHAVE_LIBZ=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSSL=1 -DHAVE_LIBCURL=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.51.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 -pthread -g2 -O2 -MT sched/libmesos_no_third_party_la-sched.lo -MD -MP -MF sched/.deps/libmesos_no_third_party_la-sched.Tpo -c sched/sched.cpp -fPIC -DPIC -o sched/.libs/libmesos_no_third_party_la-sched.o
In file included from ../third_party/boost-1.51.0/boost/random/detail/large_arithmetic.hpp:19:0,
from ../third_party/boost-1.51.0/boost/random/detail/const_mod.hpp:23,
from ../third_party/boost-1.51.0/boost/random/detail/seed_impl.hpp:27,
from ../third_party/boost-1.51.0/boost/random/mersenne_twister.hpp:29,
from ../third_party/boost-1.51.0/boost/uuid/random_generator.hpp:15,
from ../third_party/boost-1.51.0/boost/uuid/uuid_generators.hpp:17,
from ../third_party/libprocess/include/stout/uuid.hpp:11,
from sched/sched.cpp:45:
../third_party/boost-1.51.0/boost/random/detail/integer_log2.hpp:71:35: error: always_inline function might not be inlinable [-Werror=attributes]
cc1plus: all warnings being treated as errors
make[2]: *** [sched/libmesos_no_third_party_la-sched.lo] Error 1
make[2]: Leaving directory `/tmp/mesos/mesos-trunk/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/mesos/mesos-trunk/src'
make: *** [all-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment