Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make fails #1

Open
ajitmathew opened this issue Aug 7, 2018 · 1 comment
Open

Make fails #1

ajitmathew opened this issue Aug 7, 2018 · 1 comment

Comments

@ajitmathew
Copy link

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

@wqian94
Copy link
Contributor

wqian94 commented Aug 7, 2018

This is due to a restructuring of the repo that we did a while back.

In the meanwhile, make check should do what you want.

wqian94 added a commit that referenced this issue Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants