-
Notifications
You must be signed in to change notification settings - Fork 22
Make fails #1
Description
CONFIG_FILES= /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
echo > stamp-h
g++ -std=gnu++0x -std=c++11 -Imasstree-beta -Ithird-party/xxHash -Ilib -Isto-core -Ilegacy -Idatatype -Ibenchmark -W -Wall -Wextra -O3 -g -MD -MF .deps/concurrent.d -MP -include config.h -c -o obj/concurrent.o test/concurrent.cc
test/concurrent.cc: In member function ‘virtual void HotspotRW::per_thread_workload_init(int)’:
test/concurrent.cc:847:38: error: missing template arguments before ‘ud’
sampling::StoUniformDistribution ud(thread_id, 0, std::numeric_limits<uint32_t>::max());
^
test/concurrent.cc:858:18: error: ‘ud’ was not declared in this scope
auto r = ud.sample();
^
test/concurrent.cc: In member function ‘void Hotspot2RW::per_thread_workload_init(int)’:
test/concurrent.cc:1059:38: error: missing template arguments before ‘ud’
sampling::StoUniformDistribution ud(thread_id, 0, std::numeric_limits<uint32_t>::max());
^
test/concurrent.cc:1070:18: error: ‘ud’ was not declared in this scope
auto r = ud.sample();
^
test/concurrent.cc: In member function ‘void SingleRW::per_thread_workload_init(int)’:
test/concurrent.cc:1125:38: error: missing template arguments before ‘ud’
sampling::StoUniformDistribution ud(thread_id, 0, std::numeric_limits<uint32_t>::max());
^
test/concurrent.cc:1133:41: error: ‘ud’ was not declared in this scope
query.emplace_back(OpType::inc, ud.sample() % ARRAY_SZ);
^
test/concurrent.cc: In member function ‘void ZipfRW::per_thread_workload_init(int)’:
test/concurrent.cc:1150:38: error: missing template arguments before ‘ud’
sampling::StoUniformDistribution ud(thread_id, 0, std::numeric_limits<uint32_t>::max());
^
test/concurrent.cc:1151:37: error: missing template arguments before ‘*’ token
sampling::StoRandomDistribution *dd = nullptr;
^
test/concurrent.cc:1151:38: error: ‘dd’ was not declared in this scope
sampling::StoRandomDistribution *dd = nullptr;
^
test/concurrent.cc:1154:18: error: expected type-specifier
dd = new sampling::StoUniformDistribution(thread_id, 0, ARRAY_SZ-1);
^
test/concurrent.cc:1154:18: error: expected ‘;’
test/concurrent.cc:1156:18: error: expected type-specifier
dd = new sampling::StoZipfDistribution(thread_id, 0, ARRAY_SZ-1, zipf_skew);
^
test/concurrent.cc:1156:18: error: expected ‘;’
test/concurrent.cc:1166:26: error: ‘ud’ was not declared in this scope
bool read_only = ud.sample() < ro_threshold;
^
test/concurrent.cc: In instantiation of ‘void HotspotRW::run(int, uint64_t) [with int DS = 14; uint64_t = long unsigned int]’:
test/concurrent.cc:2088:1: required from here
test/concurrent.cc:922:42: warning: unused parameter ‘start_tsc’ [-Wunused-parameter]
void HotspotRW::run(int me, uint64_t start_tsc) {
^
test/concurrent.cc: In instantiation of ‘void HotspotRW::run(int, uint64_t) [with int DS = 12; uint64_t = long unsigned int]’:
test/concurrent.cc:2088:1: required from here
test/concurrent.cc:922:42: warning: unused parameter ‘start_tsc’ [-Wunused-parameter]
test/concurrent.cc: In instantiation of ‘void HotspotRW::run(int, uint64_t) [with int DS = 11; uint64_t = long unsigned int]’:
test/concurrent.cc:2088:1: required from here
test/concurrent.cc:922:42: warning: unused parameter ‘start_tsc’ [-Wunused-parameter]
test/concurrent.cc: In instantiation of ‘void HotspotRW::run(int, uint64_t) [with int DS = 10; uint64_t = long unsigned int]’:
test/concurrent.cc:2088:1: required from here
test/concurrent.cc:922:42: warning: unused parameter ‘start_tsc’ [-Wunused-parameter]
test/concurrent.cc: In instantiation of ‘void HotspotRW::run(int, uint64_t) [with int DS = 0; uint64_t = long unsigned int]’:
test/concurrent.cc:2088:1: required from here
test/concurrent.cc:922:42: warning: unused parameter ‘start_tsc’ [-Wunused-parameter]
GNUmakefile:165: recipe for target 'obj/concurrent.o' failed
make: *** [obj/concurrent.o] Error 1