Learn about Centmin Mod LEMP Stack today
Become a Member

Nginx nginx 1.17.1 upgrade failed

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Max, Jun 29, 2019.

  1. Max

    Max Member

    79
    4
    8
    Feb 17, 2018
    Ratings:
    +7
    Local Time:
    9:41 AM
    Hello
    centmin menue 4
    how can i fix

    Code:
    ccache gcc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/usr/local/zlib-cf/include -I/usr/local/include -m64 -march=native -DTCP_FASTOPEN=23 -g -O3 -Wno-error=strict-aliasing -fstack-protector-strong -flto --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wimplicit-fallthrough=0 -fcode-hoisting -Wp,-D_FORTIFY_SOURCE=2 -Wno-deprecated-declarations -gsplit-dwarf -Wno-deprecated-declarations -DNDK_SET_VAR -DNDK_UPSTREAM_LIST -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/local/include -I ../ngx_devel_kit-0.3.0/objs -I objs/addon/ndk -I ../ngx_devel_kit-0.3.0/src -I ../ngx_devel_kit-0.3.0/objs -I objs/addon/ndk -I ../libressl-2.9.2/.openssl/include -I ../zlib-cloudflare-1.3.0 -I objs \
            -o objs/src/core/ngx_list.o \
            src/core/ngx_list.c
    gcc: error: unrecognized command line option ‘-Wimplicit-fallthrough=0’
    gcc: error: unrecognized command line option ‘-fcode-hoisting’
    gcc: error: unrecognized command line option ‘-Wimplicit-fallthrough=0’
    gcc: error: unrecognized command line option ‘-fcode-hoisting’
    make[1]: *** [objs/src/core/nginx.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    make[1]: *** [objs/src/core/ngx_palloc.o] Error 1
    gcc: error: unrecognized command line option ‘-Wimplicit-fallthrough=0’
    gcc: error: unrecognized command line option ‘-fcode-hoisting’
    make[1]: *** [objs/src/core/ngx_log.o] Error 1
    gcc: error: unrecognized command line option ‘-Wimplicit-fallthrough=0’
    gcc: error: unrecognized command line option ‘-fcode-hoisting’
    make[1]: *** [objs/src/core/ngx_array.o] Error 1
    gcc: error: unrecognized command line option ‘-Wimplicit-fallthrough=0’
    gcc: error: unrecognized command line option ‘-fcode-hoisting’
    make[1]: *** [objs/src/core/ngx_list.o] Error 1
    make[1]: Leaving directory `/svr-setup/nginx-1.17.1'
    make: *** [build] Error 2
    
    real    0m27.850s
    user    0m39.526s
    sys     0m20.275s
    
    Sat Jun 29 15:15:11 CEST 2019
    Error: 2, Nginx make failed
    
    report errors on the forums at community.centminmod.com/forums/8/
    
    
     
  2. eva2000

    eva2000 Administrator Staff Member

    42,393
    9,572
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,752
    Local Time:
    7:41 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    need all info at Install - Nginx - How to troubleshoot Nginx installs/upgrades as well as

    Please fill in any relevant information that applies to you:
    • CentOS Version: i.e. CentOS 6 32bit or 64bit / CentOS 7 64bit ?
    • Centmin Mod Version Installed: i.e. 123.08stable or 123.09beta01
    • Nginx Version Installed: i.e. 1.15.3
    • PHP Version Installed: i.e. 5.6.37, 7.0.31, 7.1.21, 7.2.9
    • MariaDB MySQL Version Installed: i.e. 10.0.x or 10.1.xx or 10.2.xx
    • When was last time updated Centmin Mod code base ? : i.e. run centmin.sh menu option 23 submenu option 2 or cmupdate command
    • Persistent Config: Do you have any persistent config file options set in /etc/centminmod/custom_config.inc ? You can check via this command:
      Code (Text):
      cat /etc/centminmod/custom_config.inc
      

      Post output in CODE tags.