Hello,
I'm pretty new to FreeBSD and I'm trying to port/build Tokumx (a MongoDB fork) on FreeBSD10. I've already fixed some issues during the build process and I'm stuck with the following error:
I'm not a C/C++ expert and I can't figure how to solve this issue. Perhaps someone here who has been working with MongoDB before might be able to assist?
Btw: I'm using GCC47, also tried GCC48w/o without any luck.
My build instructions:
I'm pretty new to FreeBSD and I'm trying to port/build Tokumx (a MongoDB fork) on FreeBSD10. I've already fixed some issues during the build process and I'm stuck with the following error:
Code:
[ 47%] Building CXX object src/mongo/platform/CMakeFiles/platform.dir/backtrace.cpp.o
/home/tokumx/mongo/src/mongo/platform/backtrace.cpp: In function 'int mongo::pal::{anonymous}::addrtosymstr(void*, char*, int)':
/home/tokumx/mongo/src/mongo/platform/backtrace.cpp:71:9: error: 'Dl_info_t' was not declared in this scope
/home/tokumx/mongo/src/mongo/platform/backtrace.cpp:71:19: error: expected ';' before 'symbolInfo'
/home/tokumx/mongo/src/mongo/platform/backtrace.cpp:72:30: error: 'symbolInfo' was not declared in this scope
/home/tokumx/mongo/src/mongo/platform/backtrace.cpp:75:13: error: 'symbolInfo' was not declared in this scope
/home/tokumx/mongo/src/mongo/platform/backtrace.cpp:87:25: error: 'symbolInfo' was not declared in this scope
/home/tokumx/mongo/src/mongo/platform/backtrace.cpp: In function 'int mongo::pal::backtrace_emulation(void**, int)':
/home/tokumx/mongo/src/mongo/platform/backtrace.cpp:106:57: error: 'walkcontext' was not declared in this scope
/home/tokumx/mongo/src/mongo/platform/backtrace.cpp: In function 'int mongo::pal::{anonymous}::addrtosymstr(void*, char*, int)':
/home/tokumx/mongo/src/mongo/platform/backtrace.cpp:92:5: warning: control reaches end of non-void function [-Wreturn-type]
gmake[2]: *** [src/mongo/platform/CMakeFiles/platform.dir/backtrace.cpp.o] Error 1
gmake[1]: *** [src/mongo/platform/CMakeFiles/platform.dir/all] Error 2
gmake: *** [all] Error 2
I'm not a C/C++ expert and I can't figure how to solve this issue. Perhaps someone here who has been working with MongoDB before might be able to assist?
Btw: I'm using GCC47, also tried GCC48
My build instructions:
Code:
CC=gcc47 CPP=cpp47 CXX=g++47 cmake --disable-warnings-as-errors -D CMAKE_BUILD_TYPE=Release -D TOKU_DEBUG_PARANOID=OFF -D USE_VALGRIND=OFF -D USE_BDB=OFF -D BUILD_TESTING=OFF -D TOKUMX_DISTNAME=1.5.0 ..
gmake