error: jemalloc/jemalloc.h: No such file or directory
zmalloc.h:55:2: error:
#error "Newer version of jemalloc required"
make[1]: *** [adlist.o] Error
1
make[1]: Leaving directory `/data0/src/redis-2.6.2/src'
make: *** [all]
Error 2
解决办法是:
make MALLOC=libc
zmalloc.h:55:2: error:
#error "Newer version of jemalloc required"
make[1]: *** [adlist.o] Error
1
make[1]: Leaving directory `/data0/src/redis-2.6.2/src'
make: *** [all]
Error 2
解决办法是:
make MALLOC=libc
本文详细解析了在编译Redis版本2.6.2时遇到的jemalloc相关错误,包括如何解决zmalloc.h文件不存在及版本不匹配的问题,并提供了正确的make命令参数以确保成功编译。
4639

被折叠的 条评论
为什么被折叠?



