<div dir="ltr"><div>Daniel,</div><div><br></div><div>I am running on a debian linux box, jessie a new install and everything up to date. </div><div><br></div><div>I downloaded the latest code from github and followed the directions at <a href="https://github.com/Project-OSRM/osrm-backend/wiki/Building-OSRM">https://github.com/Project-OSRM/osrm-backend/wiki/Building-OSRM</a></div><div><br></div><div>I saw a reference to linker issues from some years ago, and the command that is failing seems ugly to me with -ltbb repeated more than once.</div><div><br></div><div>/usr/bin/c++ -flto=2 -Wall -Wextra -pedantic -Wuninitialized -Wunreachable-code -Wstrict-overflow=1 -D_FORTIFY_SOURCE=2 -fdiagnostics-color=auto -fPIC -ffunction-sections -fdata-sections -std=c++1y -fopenmp -O3 -DNDEBUG -fuse-ld=gold -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common CMakeFiles/osrm-contract.dir/src/tools/contract.cpp.o -o osrm-contract -rdynamic -lboost_date_time -lboost_filesystem -lboost_iostreams -lboost_program_options -lboost_regex -lboost_system -lboost_thread -lpthread -ltbb -ltbbmalloc libosrm_contract.a -lboost_date_time -lboost_filesystem -lboost_iostreams -lboost_program_options -lboost_regex -lboost_system -lboost_thread -lpthread -lpthread -lluabind -llua5.2 -lstxxl -ltbb -ltbbmalloc -lrt<br></div><div><br></div><div><br></div><div>Thanks,</div><div><br></div><div>Jim</div><div><br></div><div>+++++++++++++++++++++++++++++++++++++++++++++++++++++</div><div><br></div><div>Jim,</div><div><br></div><div> What OS are you building on and what version of OSRM are you trying to compile?</div><div><br></div><div> The problem is odd - you've managed to compile the code, but linking against the TBB libraries is failing with a missing symbol - I don't know how this could happen, I would've expected it to fail earlier.</div><div><br></div><div> Are you using an old platform? I've seen very old versions of libtbb packaged on some machines, the fix was usually to update.</div><div><br></div><div>daniel</div><div><br></div><div>> On Sep 7, 2016, at 1:00 PM, Jim LeBeau <jiml at <a href="http://ladsnet.com">ladsnet.com</a>> wrote:</div><div>> </div><div>> Hi,</div><div>> </div><div>> I am setting up a server to do some routing, and am having trouble with the build. After following the instructions for debian jessie on the wiki I end up at 95% complete with:</div><div>> </div><div>> /tmp/ccgkEZ99.ltrans11.ltrans.o:ccgkEZ99.ltrans11.o:vtable for tbb::empty_task: error: undefined reference to 'tbb::empty_task::~empty_task()'</div><div>> /tmp/ccgkEZ99.ltrans11.ltrans.o:ccgkEZ99.ltrans11.o:vtable for tbb::empty_task: error: undefined reference to 'tbb::empty_task::~empty_task()'</div><div>> collect2: error: ld returned 1 exit status</div><div>> CMakeFiles/osrm-contract.dir/build.make:109: recipe for target 'osrm-contract' failed</div><div>> make[2]: *** [osrm-contract] Error 1</div><div>> CMakeFiles/Makefile2:342: recipe for target 'CMakeFiles/osrm-contract.dir/all' failed</div><div>> make[1]: *** [CMakeFiles/osrm-contract.dir/all] Error 2</div><div>> Makefile:117: recipe for target 'all' failed</div><div>> make: *** [all] Error 2</div><div>> </div><div>> After much searching and many attempts I am unable to get past this. Has anyone recently had success? What can I try?</div><div>> </div><div>> Thanks,</div><div>> </div><div>> Jim</div><div>> </div><div>> <a href="https://github.com/Project-OSRM/osrm-backend/wiki/Building-OSRM">https://github.com/Project-OSRM/osrm-backend/wiki/Building-OSRM</a> <<a href="https://github.com/Project-OSRM/osrm-backend/wiki/Building-OSRM">https://github.com/Project-OSRM/osrm-backend/wiki/Building-OSRM</a>></div><div>> </div><div>> </div><div>> _______________________________________________</div><div>> OSRM-talk mailing list</div><div>> OSRM-talk at <a href="http://openstreetmap.org">openstreetmap.org</a></div><div>> <a href="https://lists.openstreetmap.org/listinfo/osrm-talk">https://lists.openstreetmap.org/listinfo/osrm-talk</a></div><div><br></div><div><div class="gmail_signature"><div dir="ltr"><div><br></div><div><br></div></div></div></div>
</div>