[OSRM-talk] Building OSRM undefined reference to 'tbb::empty_task::~empty_task()

Daniel Patterson daniel at mapbox.com
Wed Sep 7 20:51:09 UTC 2016


Hi Jim,

  Welp, the good news is that I can reproduce this with a Docker image from Jessie.  I'll see if I can track down the problem.

daniel

> On Sep 7, 2016, at 1:22 PM, Jim LeBeau <jiml at ladsnet.com> wrote:
> 
> Daniel,
> 
> I am running on a debian linux box, jessie a new install and everything up to date. 
> 
> I downloaded the latest code from github and followed the directions at https://github.com/Project-OSRM/osrm-backend/wiki/Building-OSRM <https://github.com/Project-OSRM/osrm-backend/wiki/Building-OSRM>
> 
> 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.
> 
> /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
> 
> 
> Thanks,
> 
> Jim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20160907/bf2cd173/attachment-0001.html>


More information about the OSRM-talk mailing list