nginx安装make报错
make[1]: *** [objs/src/event/ngx_event_openssl.o] 错误 1
make[1]: 离开目录“/usr/local/nginx-1.1.10”
make: *** [build] 错误 2
很多资料都是说把objs/Makefile 文件中的-werror 删除,但是还是不行,最后发现还需要把目录下/src/os/unix/ngx_user.c中的cd.current_salt[0] = ~salt[0];注释掉,重新编译即可发现问题成功解决