Skip to content

Instantly share code, notes, and snippets.

@weilewei
Created May 10, 2020 00:37
Show Gist options
  • Save weilewei/513d5c69e54dd4c4fefdc87968d3fa20 to your computer and use it in GitHub Desktop.
Save weilewei/513d5c69e54dd4c4fefdc87968d3fa20 to your computer and use it in GitHub Desktop.
error log
weile@gunda:~/project/dev/src/libcds/bld_hpx$ make unit-map
[ 0%] Building CXX object CMakeFiles/cds.dir/src/init.cpp.o
In file included from /home/weile/project/dev/src/libcds/cds/threading/details/hpx.h:9,
from /home/weile/project/dev/src/libcds/cds/threading/details/auto_detect.h:45,
from /home/weile/project/dev/src/libcds/cds/threading/model.h:11,
from /home/weile/project/dev/src/libcds/cds/os/linux/topology.h:14,
from /home/weile/project/dev/src/libcds/cds/os/topology.h:14,
from /home/weile/project/dev/src/libcds/cds/init.h:10,
from /home/weile/project/dev/src/libcds/src/init.cpp:6:
/home/weile/project/dev/src/libcds/cds/threading/details/hpx_manager.h:54:29: error: ‘threads’ in namespace ‘cds::threading::hpx’ does not name a type
static hpx::threads::thread_id_type id;
^~~~~~~
make[3]: *** [CMakeFiles/cds.dir/build.make:63: CMakeFiles/cds.dir/src/init.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:110: CMakeFiles/cds.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:1000: test/unit/map/CMakeFiles/unit-map.dir/rule] Error 2
make: *** [Makefile:457: unit-map] Error 2
@weilewei
Copy link
Author

weile@gunda:~/project/dev/src/libcds/bld_hpx$ make unit-map
Scanning dependencies of target cds
[ 0%] Building CXX object CMakeFiles/cds.dir/src/init.cpp.o
[ 0%] Building CXX object CMakeFiles/cds.dir/src/hp.cpp.o[ 0%] Building CXX object CMakeFiles/cds.dir/src/dhp.cpp.o
[ 0%] Building CXX object CMakeFiles/cds.dir/src/urcu_gp.cpp.o[ 0%] Building CXX object CMakeFiles/cds.dir/src/urcu_sh.cpp.o
[ 9%] Building CXX object CMakeFiles/cds.dir/src/thread_data.cpp.o
[ 9%] Building CXX object CMakeFiles/cds.dir/src/topology_hpux.cpp.o
[ 9%] Building CXX object CMakeFiles/cds.dir/src/topology_linux.cpp.o
[ 9%] Building CXX object CMakeFiles/cds.dir/src/topology_osx.cpp.o
[ 9%] Building CXX object CMakeFiles/cds.dir/src/dllmain.cpp.o
[ 9%] Linking CXX shared library bin/libcds_d.so[ 9%] Built target cds
Scanning dependencies of target unit-map-michael-iterable
[ 18%] Building CXX object test/unit/map/CMakeFiles/unit-map-michael-iterable.dir//m
ain.cpp.oIn file included from /home/weile/project/dev/src/libcds/cds/threading/details/hpx.h:9
,
from /home/weile/project/dev/src/libcds/cds/threading/details/auto_detect.h:45,
from /home/weile/project/dev/src/libcds/cds/threading/model.h:11,
from /home/weile/project/dev/src/libcds/cds/os/linux/topology.h:14,
from /home/weile/project/dev/src/libcds/cds/os/topology.h:14,
from /home/weile/project/dev/src/libcds/cds/init.h:10,
from /home/weile/project/dev/src/libcds/test/unit/main.cpp:7:/home/weile/project/dev/src/libcds/cds/threading/details/hpx_manager.h:15:10: fatal er
ror: hpx/hpx.hpp: No such file or directory #include <hpx/hpx.hpp>
^~~~~~~~~~~~~
compilation terminated.
make[3]: *** [test/unit/map/CMakeFiles/unit-map-michael-iterable.dir/build.make:63: test/unit/map/CMakeFiles/unit-map-michael-iterable.dir/
/main.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:949: test/unit/map/CMakeFiles/unit-map-michael-iterable.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:1000: test/unit/map/CMakeFiles/unit-map.dir/rule] Error 2
make: *** [Makefile:457: unit-map] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment