Looks like the issue is while building perftools. Can you try configuring 
without it?

../configure --disable-perftools

On Jun 30, 2013, at 4:33 AM, Haridas N <[email protected]> wrote:

> 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.
> 
> 
> <make.log>
> <configure.log>

Reply via email to