Ubuntu 安装nginx 编译时候报objs/Makefile:460: recipe for target 'objs/src/core/ngx_murmurhash.o' failed

先上报错信息如图所示:

Ubuntu 安装nginx 编译时候报objs/Makefile:460: recipe for target 'objs/src/core/ngx_murmurhash.o' failed_第1张图片

通过观察,我们从中提取到两条信息:

1、编译 objs/目录下的Makefile时候报错;

2、所有的警告被当做错误处理:

我们打开objs/目录下的Makefile文件通过查看发现有如下参数:

Ubuntu 安装nginx 编译时候报objs/Makefile:460: recipe for target 'objs/src/core/ngx_murmurhash.o' failed_第2张图片

通过查资料发现就是这个参数的问题,编辑Makefile文件去掉这个参数,编译通过。

你可能感兴趣的:(Linux,nginx,linux,make,运维)