Ubuntu18.04編譯Nginx報錯objs/Makefile:460: recipe for target 'objs/src/core/ngx_murmurhash.o' failed
問題描述
在Ubuntu18.04上安裝Ngnix,在編譯步驟出現如下錯誤:
cc1: all warnings being treated as errors
objs/Makefile:460: recipe for target 'objs/src/core/ngx_murmurhash.o' failed
make[1]: *** [objs/src/core/ngx_murmurhash.o] Error 1
make[1]: Leaving directory '/home/wzj/tools/nginx/nginx-1.11.3'
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 2
解決辦法
找到對應的Maakefile檔案,將gcc引數中的-Werror去掉。
我上面顯示的是objs/Makefile檔案,我開啟看了下,將第三行的-Werror去掉就可以
相關推薦
Ubuntu18.04編譯Nginx報錯objs/Makefile:460: recipe for target 'objs/src/core/ngx_murmurhash.o' failed
問題描述 在Ubuntu18.04上安裝Ngnix,在編譯步驟出現如下錯誤: cc1: all warnings being treated as errors objs/Makefile:460:
Linux下編譯ffmpeg報錯gcc is unable to create an executable file C compiler test failed.
程式碼報錯資訊: [[email protected] ffmpeg-3.2.2]# ./configure --enable-shared --prefix=/usr/local/ffmpeg gcc is unable to create an executable
FFMPEG系列三:linux下編譯ffmpeg報錯gcc is unable to create an executable file C compiler test failed.
linux編譯ffmpeg過程報錯gcc is unable to create an executable file C compiler test failed.網上找了一圈,關於這個問題的答
Makefile:160: recipe for target 'all' failed(ubuntu16.04+opencv3.4+gcc5.4.0)
安裝並編譯的步驟如下 wget https://github.com/opencv/opencv/archive/3.4.0.zip 2、 Unzip it and create a build folder: sudo unzip 3.4.0.zip cd
Caffe-ssd編譯錯誤:Makefile:570: recipe for target '.build_release/lib/libcaffe.so.1.0.0-rc3' failed
在編譯Caffe-SSD時候遇到以下問題: Makefile:570: recipe for target '.build_release/lib/libcaffe.so.1.0.0-rc3' fail
安裝MySQL報錯:The action ‘Install’ for product ‘MySQL Server 5.7.19’ failed.
今天安裝mysql服務時,出現了一個錯誤, The action ‘Install’ for product ‘MySQL Server 5.7.19’ failed. 如圖所示 嘗試著把檔案解除安裝,重新安裝是沒有用的,最後找到一個這樣的解決辦法: 32位的V
交叉編譯openssh出現錯誤Makefile:548: recipe for target 'install_sw' failed
交叉編譯openssh出現錯誤 將OpenSSH移植到ARM Linux,交叉編譯openssh時,在第二步編譯openssl時,make install出現如下錯誤: cp: 'e_os2.h' and '/home/word/iTOP-4412-Li
~/caffe$ make all -j8 Makefile:606: recipe for target '.build_release/cuda/src/caffe/solvers/adam_s
cuda9.0+cudnn7.0.5下,編譯caffe 執行出錯: [email protected]:~/caffe$ make all -j8 NVCC src/caffe/solvers/adam_solver.cu NVCC src/caffe/solve
nginx報錯
failed file 【問題1】:啟動nginx時報以下錯誤[[email protected]/* */ nginx]# /application/nginx/sbin/nginx nginx: [alert] could not open error log file: open(
編譯opam報錯
opam google gdrive 0x01:打算在VPS上安裝個Google的網盤,環境需要安裝OPAM,在檢查環境時就提示缺少not found的一些包。#./configurechecking for OCaml findlib package unix... found checking
javac編譯未報錯,但未生成class文件
tar ycm inf style 生成 jsm lpc userinfo docs l45ai苫短6u8籃qhttp://jz.docin.com/mwsfr632 0ox賞1P3僑L炭7HXhttp://shufang.docin.com/xxsm57111 邢紛旁
Nginx報錯403 forbidden (13: Permission denied)的解決辦法
str 臨時 一是 nginx報錯 bsp config ssi 不用 tro 引起nginx 403 forbidden通常是三種情況:一是缺少索引文件,二是權限問題,三是SELinux狀態 一、缺少index.html 二、權限問題,如果nginx沒有web目錄的操作權
Nginx報錯:Sorry, the page you are looking for is currently unavailable. Please try again later.
cgi pre static 排除 filename 就是 不能 code please 查看了進程, nginx, php-fpm都在運行, 排除程序錯誤, 那麽就是配置的問題了. 一個可能的錯誤, 是由於配置中的 fastcgi_pass 配置錯了 錯誤的配置如下
阿裏雲nginx報錯問題:2048 worker_connections are not enough
主機 rap top serve message 很慢 ali rsyslogd kill 當我正在工作時,開發的一個員工發微信告訴我,阿裏雲一臺服務登錄很慢,登錄進去操作很卡頓; 我就立刻登錄進去,查看了下進程:(ps -aux)這臺有nginx(有反代),還有mysql
Centos7 nginx報錯403 forbidden
存在 style htm 修改 csdn 關閉selinux 工具安裝 訪問 forbidden 參考鏈接:http://www.cnblogs.com/chinway/archive/2017/08/14/7356239.html 因為安全性的考慮這個也是默認會出現的錯
nginx報錯 連接超時問題
space 最終 數據 ffffff -type 問題: -s 技術分享 mil 問題:上傳excel文件解析數據並加載數據到MySql數據庫表中的時候,報錯(該Excel文件有13105列)最終返回給瀏覽器 POST http://.......404 not found
編譯geth報錯的解決方法 make: *** [geth] 錯誤 1
over lang oot ethereum pkg linux www http 資料 在centos下安裝了go1.9.1版本,編譯go-ethereum時報錯: [root@localhost go-ethereum]# make gethbuild/env.sh
Nginx報錯信息-POST
nginxNginx日誌報錯信息:tail /var/log/nginx/access.log2018/06/07 16:43:13 [error] 28702#0: *63078 client intended to send too large body: 1537420 bytes, client: 1
php編譯安裝報錯
for AD install mys 報錯 aries please oca ack Cannot find OpenSSL‘s <evp.h> 解決方法: 下載openssl-1.1.0h.tar 包 [root@localhost ~]# cd opens
babel-plugin-import配置babel按需引入antd模塊,編譯後報錯.bezierEasingMixin()
erro -a create mpi index issues 簡單 asi 發現 用create-react-app做項目的時候,同時引入了antd,為了實現按需加載antd模塊,用到他們提供的 babel-plugin-import ( 一個用於按需加載組件代碼和