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
Minor issue to build dict-benchmark #3944
Comments
@jaebaek Hi jaebaek. In my case, I made it easily(on OSX)
|
I guess the reason why you did not meet the problem is because redis sets libc's malloc as default on OSX. By the way, $ uname -a showed me Linux jaebaek-sgx 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux I installed Ubuntu 16.04 I tried $ make and it showed me
/tmp/ccvBGxxm.o: In function |
Send a PR, indeed fails on Linux |
@jaebaek Cool. It is easily reproduced :) Thanks. |
Thanks @badboy, PR merged. |
Hi, I tried to build dict-benchmark and saw some error messages because some references like jemalloc_XXX functions are missed.
I guess this is a minor issue but the current makefile incurs this problem.
At line 217 and 218 of src/Makefile,
dict-benchmark: dict.c zmalloc.c sds.c
$(REDIS_CC) $ (FINAL_CFLAGS) dict.c zmalloc.c sds.c siphash.c -D DICT_BENCHMARK_MAIN -o dict-benchmark
could be changed such as
dict-benchmark: dict.c zmalloc.c sds.c
$(REDIS_CC) $ (FINAL_CFLAGS) $^ -D DICT_BENCHMARK_MAIN -o $ @ $(FINAL_LIBS)
Thanks,
Jaebaek
The text was updated successfully, but these errors were encountered: