社区微信群开通啦,扫一扫抢先加入社区官方微信群
社区微信群
nginx编译
src/os/unix/ngx_user.c: In function ‘ngx_libc_crypt’:
src/os/unix/ngx_user.c:26:7: error: ‘struct crypt_data’ has no member named ‘current_salt’
cd.current_salt[0] = ~salt[0];
注意这里的nginx目录是编译目录:
执行重新编译:make
又出现报错:
error: ‘struct crypt_data’ has no member named ‘current_salt’
编辑:vi objs/Makefile
去掉:-werror
继续执行编译:make 完成
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!