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

Parallel make fails #4

Open
nisargshah95 opened this issue Nov 15, 2019 · 0 comments
Open

Parallel make fails #4

nisargshah95 opened this issue Nov 15, 2019 · 0 comments

Comments

@nisargshah95
Copy link

Invoking make with -j<n> fails with the following error -

osboxes@osboxes:~/YCSB-C$ make -j3
make -C core
make -C db
make -C redis
make[1]: Entering directory '/home/osboxes/YCSB-C/core'
g++ -std=c++11 -c -g -Wall core_workload.cc -o core_workload.o
make[1]: Entering directory '/home/osboxes/YCSB-C/db'
g++ -std=c++11 -c -g -Wall -fgnu-tm -I../ db_factory.cc -o db_factory.o
make[1]: Entering directory '/home/osboxes/YCSB-C/redis'
g++    -c -o ../db/redis_db.o ../db/redis_db.cc
In file included from ../db/redis_db.cc:6:0:
../db/redis_db.h:9:21: fatal error: core/db.h: No such file or directory
 #include "core/db.h"
                     ^
compilation terminated.
<builtin>: recipe for target '../db/redis_db.o' failed
make[1]: *** [../db/redis_db.o] Error 1
make[1]: Leaving directory '/home/osboxes/YCSB-C/redis'
Makefile:12: recipe for target 'redis' failed
make: *** [redis] Error 2
make: *** Waiting for unfinished jobs....
g++ -std=c++11 -c -g -Wall -fgnu-tm -I../ redis_db.cc -o redis_db.o
g++ -std=c++11 -c -g -Wall -fgnu-tm -I../ hashtable_db.cc -o hashtable_db.o
make[1]: Leaving directory '/home/osboxes/YCSB-C/core'
make[1]: Leaving directory '/home/osboxes/YCSB-C/db'

Simply invoking make builds successfully.

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

1 participant