标签:redis bsp erro required 报错 编译 ror ansi c dir
gcc编译redis时报错:
zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory zmalloc.h:55:2: error: #error "Newer version of jemalloc required"
原因是jemalloc重载了Linux下的ANSI C的malloc和free函数。解决办法:make时添加参数。
make MALLOC=libc
编译 redis 报错 error: jemalloc/jemalloc.h: No such file or directory
标签:redis bsp erro required 报错 编译 ror ansi c dir
原文地址:http://www.cnblogs.com/zsg88/p/7842866.html