Hi,

I'm getting compilation error while making the mesos source code on my machine. The excepts of the error is given bellow and I attached the log captured for make and configure commands.

   libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -pthread
   -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual
   -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free
   -fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree
   -fno-builtin-memalign -fno-builtin-posix_memalign
   -fno-builtin-valloc -fno-builtin-pvalloc -Wno-unused-result
   -DNO_FRAME_POINTER -g -O2 -MT libtcmalloc_la-linuxthreads.lo -MD -MP
   -MF .deps/libtcmalloc_la-linuxthreads.Tpo -c
   src/base/linuxthreads.cc  -fPIC -DPIC -o libtcmalloc_la-linuxthreads.o
   src/base/linuxthreads.cc: In function 'void
   ListerThread(ListerParams*)':
   src/base/linuxthreads.cc:312:24: error: invalid conversion from
   'void (*)(int, siginfo_t*, void*)' to 'void (*)(int, siginfo*,
   void*)' [-fpermissive]
   make[6]: *** [libtcmalloc_la-linuxthreads.lo] Error 1
   make[6]: Leaving directory
   
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party/libprocess/third_party/gperftools-2.0'
   make[5]: *** [gperftools-2.0-build-stamp] Error 2
   make[5]: Leaving directory
   
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party/libprocess/third_party'
   make[4]: *** [all] Error 2
   make[4]: Leaving directory
   
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party/libprocess/third_party'
   make[3]: *** [all-recursive] Error 1
   make[3]: Leaving directory
   
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party/libprocess'
   make[2]: *** [all-recursive] Error 1
   make[2]: Leaving directory
   `/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party'
   make[1]: *** [all] Error 2
   make[1]: Leaving directory
   `/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party'
   make: *** [all-recursive] Error 1

Please help me to figure out the build error.

Thank you,
Haridas N.


Making all in .
make[1]: Entering directory 
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory 
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build'
Making all in third_party
make[1]: Entering directory 
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party'
make  all-recursive
make[2]: Entering directory 
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party'
Making all in libprocess
make[3]: Entering directory 
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party/libprocess'
Making all in third_party
make[4]: Entering directory 
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party/libprocess/third_party'
make  all-am
make[5]: Entering directory 
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party/libprocess/third_party'
cd gperftools-2.0 && ./configure  '--disable-option-checking' 
'--prefix=/usr/local' 'JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.26' 
'--enable-shared=no' '--with-pic' '--cache-file=/dev/null' 
'--srcdir=../../../third_party/libprocess' --enable-shared=no --with-pic 
--srcdir=. && \
          make 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether gcc and cc understand -c and -o together... yes
checking for objcopy... objcopy
checking if objcopy supports -W... yes
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 3458764513820540925
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for inline... inline
checking for __attribute__... yes
checking for ANSI C header files... (cached) yes
checking for __int64... no
checking for struct mallinfo... yes
checking for Elf32_Versym... yes
checking for sbrk... yes
checking for geteuid... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/malloc.h usability... no
checking sys/malloc.h presence... no
checking for sys/malloc.h... no
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking libunwind.h usability... no
checking libunwind.h presence... no
checking for libunwind.h... no
checking unwind.h usability... yes
checking unwind.h presence... yes
checking for unwind.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking conflict-signal.h usability... no
checking conflict-signal.h presence... no
checking for conflict-signal.h... no
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking linux/ptrace.h usability... yes
checking linux/ptrace.h presence... yes
checking for linux/ptrace.h... yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking valgrind.h usability... no
checking valgrind.h presence... no
checking for valgrind.h... no
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking for features.h... (cached) yes
checking whether cfree is declared... yes
checking whether posix_memalign is declared... yes
checking whether memalign is declared... yes
checking whether valloc is declared... yes
checking whether pvalloc is declared... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking if int32_t is the same type as intptr_t... no
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking sys/ucontext.h usability... yes
checking sys/ucontext.h presence... yes
checking for sys/ucontext.h... yes
checking cygwin/signal.h usability... no
checking cygwin/signal.h presence... no
checking for cygwin/signal.h... no
checking how to access the program counter from a struct ucontext... 
uc_mcontext.gregs[REG_RIP]
checking for backtrace in -lunwind... no
checking if the compiler supports -Wno-unused-result... yes
checking printf format code for printing a size_t and ssize_t... l
checking for __builtin_stack_pointer()... no
checking for __environ... yes
checking for __thread... yes
checking if __malloc_hook is declared volatile... yes
checking if nanosleep requires any libraries... no
checking whether uname is declared... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether to check for GCC pthread/shared inconsistencies... yes
checking whether -pthread is sufficient with -shared... yes
checking whether what we have so far is sufficient with -nostdlib... no
checking whether -lpthread saves the day... yes
checking whether the compiler implements namespaces... yes
checking what namespace STL code is in... std
checking for program_invocation_name... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/gperftools/tcmalloc.h
config.status: creating src/windows/gperftools/tcmalloc.h
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
make[6]: Entering directory 
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party/libprocess/third_party/gperftools-2.0'
/bin/bash ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I./src  
-I./src   -DNO_TCMALLOC_SAMPLES -pthread -DNDEBUG -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free 
-fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree 
-fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc 
-fno-builtin-pvalloc  -Wno-unused-result  -DNO_FRAME_POINTER -g -O2 -MT 
libtcmalloc_minimal_la-tcmalloc.lo -MD -MP -MF 
.deps/libtcmalloc_minimal_la-tcmalloc.Tpo -c -o 
libtcmalloc_minimal_la-tcmalloc.lo `test -f 'src/tcmalloc.cc' || echo 
'./'`src/tcmalloc.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src 
-DNO_TCMALLOC_SAMPLES -pthread -DNDEBUG -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free 
-fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree 
-fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc 
-fno-builtin-pvalloc -Wno-unused-result -DNO_FRAME_POINTER -g -O2 -MT 
libtcmalloc_minimal_la-tcmalloc.lo -MD -MP -MF 
.deps/libtcmalloc_minimal_la-tcmalloc.Tpo -c src/tcmalloc.cc  -fPIC -DPIC -o 
libtcmalloc_minimal_la-tcmalloc.o
mv -f .deps/libtcmalloc_minimal_la-tcmalloc.Tpo 
.deps/libtcmalloc_minimal_la-tcmalloc.Plo
/bin/bash ./libtool --tag=CXX   --mode=link g++ -DNO_TCMALLOC_SAMPLES -pthread 
-DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare 
-fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc 
-fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign 
-fno-builtin-valloc -fno-builtin-pvalloc  -Wno-unused-result  
-DNO_FRAME_POINTER -g -O2 -pthread -version-info 5:0:1  -o 
libtcmalloc_minimal.la -rpath /usr/local/lib libtcmalloc_minimal_la-tcmalloc.lo 
  libtcmalloc_minimal_internal.la -lpthread 
libtool: link: rm -fr  .libs/libtcmalloc_minimal.a .libs/libtcmalloc_minimal.la 
.libs/libtcmalloc_minimal.lai
libtool: link: (cd .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a 
&& ar x 
"/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party/libprocess/third_party/gperftools-2.0/./.libs/libtcmalloc_minimal_internal.a")
libtool: link: ar cru .libs/libtcmalloc_minimal.a  
libtcmalloc_minimal_la-tcmalloc.o  
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-central_freelist.o
 
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-common.o
 
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-maybe_threads.o
 
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-malloc_extension.o
 .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/sysinfo.o 
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/atomicops-internals-x86.o
 
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-system-alloc.o
 
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-page_heap.o
 
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-memfs_malloc.o
 
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/spinlock_internal.o
 
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-symbolize.o
 
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-thread_cache.o
 
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-span.o
 
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-malloc_hook.o
 
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-internal_logging.o
 
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-static_vars.o
 
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/dynamic_annotations.o
 .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/spinlock.o 
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-sampler.o
 .libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/logging.o 
.libs/libtcmalloc_minimal.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-stack_trace_table.o
 
libtool: link: ranlib .libs/libtcmalloc_minimal.a
libtool: link: rm -fr .libs/libtcmalloc_minimal.lax
libtool: link: ( cd ".libs" && rm -f "libtcmalloc_minimal.la" && ln -s 
"../libtcmalloc_minimal.la" "libtcmalloc_minimal.la" )
/bin/bash ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I./src  
-I./src   -DNO_TCMALLOC_SAMPLES -pthread -DNDEBUG -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free 
-fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree 
-fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc 
-fno-builtin-pvalloc  -Wno-unused-result  -DNO_FRAME_POINTER 
-DTCMALLOC_FOR_DEBUGALLOCATION -g -O2 -MT 
libtcmalloc_minimal_debug_la-debugallocation.lo -MD -MP -MF 
.deps/libtcmalloc_minimal_debug_la-debugallocation.Tpo -c -o 
libtcmalloc_minimal_debug_la-debugallocation.lo `test -f 
'src/debugallocation.cc' || echo './'`src/debugallocation.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src 
-DNO_TCMALLOC_SAMPLES -pthread -DNDEBUG -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free 
-fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree 
-fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc 
-fno-builtin-pvalloc -Wno-unused-result -DNO_FRAME_POINTER 
-DTCMALLOC_FOR_DEBUGALLOCATION -g -O2 -MT 
libtcmalloc_minimal_debug_la-debugallocation.lo -MD -MP -MF 
.deps/libtcmalloc_minimal_debug_la-debugallocation.Tpo -c 
src/debugallocation.cc  -fPIC -DPIC -o 
libtcmalloc_minimal_debug_la-debugallocation.o
mv -f .deps/libtcmalloc_minimal_debug_la-debugallocation.Tpo 
.deps/libtcmalloc_minimal_debug_la-debugallocation.Plo
/bin/bash ./libtool --tag=CXX   --mode=link g++ -DNO_TCMALLOC_SAMPLES -pthread 
-DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare 
-fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc 
-fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign 
-fno-builtin-valloc -fno-builtin-pvalloc  -Wno-unused-result  
-DNO_FRAME_POINTER -DTCMALLOC_FOR_DEBUGALLOCATION -g -O2 -pthread -version-info 
5:0:1 -version-info 5:0:1  -o libtcmalloc_minimal_debug.la -rpath 
/usr/local/lib libtcmalloc_minimal_debug_la-debugallocation.lo   
libtcmalloc_minimal_internal.la -lpthread 
libtool: link: rm -fr  .libs/libtcmalloc_minimal_debug.a 
.libs/libtcmalloc_minimal_debug.la .libs/libtcmalloc_minimal_debug.lai
libtool: link: (cd 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a && ar x 
"/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party/libprocess/third_party/gperftools-2.0/./.libs/libtcmalloc_minimal_internal.a")
libtool: link: ar cru .libs/libtcmalloc_minimal_debug.a  
libtcmalloc_minimal_debug_la-debugallocation.o  
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-central_freelist.o
 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-common.o
 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-maybe_threads.o
 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-malloc_extension.o
 .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/sysinfo.o 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/atomicops-internals-x86.o
 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-system-alloc.o
 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-page_heap.o
 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-memfs_malloc.o
 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/spinlock_internal.o
 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-symbolize.o
 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-thread_cache.o
 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-span.o
 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-malloc_hook.o
 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-internal_logging.o
 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-static_vars.o
 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/dynamic_annotations.o
 .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/spinlock.o 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-sampler.o
 .libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/logging.o 
.libs/libtcmalloc_minimal_debug.lax/libtcmalloc_minimal_internal.a/libtcmalloc_minimal_internal_la-stack_trace_table.o
 
libtool: link: ranlib .libs/libtcmalloc_minimal_debug.a
libtool: link: rm -fr .libs/libtcmalloc_minimal_debug.lax
libtool: link: ( cd ".libs" && rm -f "libtcmalloc_minimal_debug.la" && ln -s 
"../libtcmalloc_minimal_debug.la" "libtcmalloc_minimal_debug.la" )
/bin/bash ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I./src  
-I./src   -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual 
-Wno-sign-compare -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc 
-fno-builtin-calloc -fno-builtin-cfree -fno-builtin-memalign 
-fno-builtin-posix_memalign -fno-builtin-valloc -fno-builtin-pvalloc  
-Wno-unused-result  -DNO_FRAME_POINTER  -g -O2 -MT libtcmalloc_la-tcmalloc.lo 
-MD -MP -MF .deps/libtcmalloc_la-tcmalloc.Tpo -c -o libtcmalloc_la-tcmalloc.lo 
`test -f 'src/tcmalloc.cc' || echo './'`src/tcmalloc.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -pthread -DNDEBUG 
-Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare 
-fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc 
-fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign 
-fno-builtin-valloc -fno-builtin-pvalloc -Wno-unused-result -DNO_FRAME_POINTER 
-g -O2 -MT libtcmalloc_la-tcmalloc.lo -MD -MP -MF 
.deps/libtcmalloc_la-tcmalloc.Tpo -c src/tcmalloc.cc  -fPIC -DPIC -o 
libtcmalloc_la-tcmalloc.o
mv -f .deps/libtcmalloc_la-tcmalloc.Tpo .deps/libtcmalloc_la-tcmalloc.Plo
/bin/bash ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I./src  
-I./src   -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual 
-Wno-sign-compare -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc 
-fno-builtin-calloc -fno-builtin-cfree -fno-builtin-memalign 
-fno-builtin-posix_memalign -fno-builtin-valloc -fno-builtin-pvalloc  
-Wno-unused-result  -DNO_FRAME_POINTER  -g -O2 -MT 
libtcmalloc_la-linuxthreads.lo -MD -MP -MF 
.deps/libtcmalloc_la-linuxthreads.Tpo -c -o libtcmalloc_la-linuxthreads.lo 
`test -f 'src/base/linuxthreads.cc' || echo './'`src/base/linuxthreads.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I./src -I./src -pthread -DNDEBUG 
-Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare 
-fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc 
-fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign 
-fno-builtin-valloc -fno-builtin-pvalloc -Wno-unused-result -DNO_FRAME_POINTER 
-g -O2 -MT libtcmalloc_la-linuxthreads.lo -MD -MP -MF 
.deps/libtcmalloc_la-linuxthreads.Tpo -c src/base/linuxthreads.cc  -fPIC -DPIC 
-o libtcmalloc_la-linuxthreads.o
src/base/linuxthreads.cc: In function ‘void ListerThread(ListerParams*)’:
src/base/linuxthreads.cc:312:24: error: invalid conversion from ‘void (*)(int, 
siginfo_t*, void*)’ to ‘void (*)(int, siginfo*, void*)’ [-fpermissive]
make[6]: *** [libtcmalloc_la-linuxthreads.lo] Error 1
make[6]: Leaving directory 
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party/libprocess/third_party/gperftools-2.0'
make[5]: *** [gperftools-2.0-build-stamp] Error 2
make[5]: Leaving directory 
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party/libprocess/third_party'
make[4]: *** [all] Error 2
make[4]: Leaving directory 
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party/libprocess/third_party'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party/libprocess'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party'
make: *** [all-recursive] Error 1
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to 
x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain 
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.lt
config.lt: creating libtool
===========================================================
Setting up build environment for x86_64 linux-gnu
===========================================================
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether to check for GCC pthread/shared inconsistencies... yes
checking whether -pthread is sufficient with -shared... yes
checking for backtrace in -lunwind... no
checking whether or not we can build with JNI... yes
checking for a Python interpreter with version >= 2.6... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.7/site-packages
checking for gzread in -lz... yes
checking for BN_init in -lcrypto... yes
checking for SSL_accept in -lssl... yes
checking for curl_global_init in -lcurl... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ec2/Makefile
config.status: creating hadoop/Makefile
config.status: creating src/Makefile
config.status: creating third_party/Makefile
config.status: creating bin/mesos-build-env.sh
config.status: creating bin/mesos-local.sh
config.status: creating bin/mesos-master.sh
config.status: creating bin/mesos-slave.sh
config.status: creating bin/mesos-tests.sh
config.status: creating bin/gdb-mesos-local.sh
config.status: creating bin/gdb-mesos-master.sh
config.status: creating bin/gdb-mesos-slave.sh
config.status: creating bin/gdb-mesos-tests.sh
config.status: creating src/deploy/mesos-daemon.sh
config.status: creating src/deploy/mesos-start-cluster.sh
config.status: creating src/deploy/mesos-start-masters.sh
config.status: creating src/deploy/mesos-start-slaves.sh
config.status: creating src/deploy/mesos-stop-cluster.sh
config.status: creating src/deploy/mesos-stop-masters.sh
config.status: creating src/deploy/mesos-stop-slaves.sh
config.status: creating include/mesos/mesos.hpp
config.status: creating 
src/java/generated/org/apache/mesos/MesosNativeLibrary.java
config.status: creating mpi/mpiexec-mesos
config.status: creating src/examples/java/test-exception-framework
config.status: creating src/examples/java/test-executor
config.status: creating src/examples/java/test-framework
config.status: creating src/examples/java/test-multiple-executors-framework
config.status: creating src/java/mesos.pom
config.status: creating src/examples/python/test-executor
config.status: creating src/examples/python/test-framework
config.status: creating src/python/setup.py
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in third_party/libprocess 
(/mnt/data/company/mquotient/softwares/mesos-0.12.0/build/third_party/libprocess)
configure: running /bin/bash ../../../third_party/libprocess/configure 
--disable-option-checking '--prefix=/usr/local'  
'JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.26' '--enable-shared=no' '--with-pic' 
--cache-file=/dev/null --srcdir=../../../third_party/libprocess
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to 
x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain 
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.lt
config.lt: creating libtool
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether to check for GCC pthread/shared inconsistencies... yes
checking whether -pthread is sufficient with -shared... yes
checking for deflate, gzread, gzwrite, inflate in -lz... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating third_party/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands

Reply via email to