开发者社区> 问答> 正文

nginx hp-unix安装问题?报错

Nginx版本:1.6.3

操作系统:HP-UX B.11.31 U ia64

configure的时候没有报错,但在make的时候总是报错,哪位大侠帮忙看看?

configure:

./configure --prefix=/arraybi/cognos/napp/soft/nginx  --with-http_ssl_module --with-pcre=../pcre-8.34 --with-zlib=../zlib-1.2.8  --with-libatomic=../libatomic_ops-7.2--with-openssl=../openssl-1.0.1j
<p>
	<br>
</p>
<p>
	<br>
</p>

make报错信息:

Configured for hpux-ia64-cc.
making all in crypto...
        ( echo "#ifndef MK1MF_BUILD"; \
        echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
        echo '  #define CFLAGS "cc -DDSO_DLFCN -DHAVE_DLFCN_H -D_REENTRANT -Wa,--noexecstack -Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM"'; \
        echo '  #define PLATFORM "hpux-ia64-cc"'; \
        echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
        echo '#endif' ) >buildinf.h
        cc -I. -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -D_REENTRANT -Wa,--noexecstack -Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -c cryptlib.c
"cryptlib.c", line 459: warning #2128-D: loop is not reachable from preceding
          code
        while (dnum--)
        ^

        cc -I. -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -D_REENTRANT -Wa,--noexecstack -Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -c mem.c
        cc -I. -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -D_REENTRANT -Wa,--noexecstack -Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -c mem_dbg.c
        cc -I. -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -D_REENTRANT -Wa,--noexecstack -Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -c cversion.c
        cc -I. -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -D_REENTRANT -Wa,--noexecstack -Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -c ex_data.c
        cc -I. -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -D_REENTRANT -Wa,--noexecstack -Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -c cpt_err.c
        cc -I. -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -D_REENTRANT -Wa,--noexecstack -Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -c ebcdic.c
        cc -I. -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -D_REENTRANT -Wa,--noexecstack -Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -c uid.c
        cc -I. -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -D_REENTRANT -Wa,--noexecstack -Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -c o_time.c
        cc -I. -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -D_REENTRANT -Wa,--noexecstack -Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -c o_str.c
        cc -I. -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -D_REENTRANT -Wa,--noexecstack -Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -c o_dir.c
        cc -I. -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -D_REENTRANT -Wa,--noexecstack -Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -c o_fips.c
        cc -I. -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -D_REENTRANT -Wa,--noexecstack -Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -c o_init.c
        cc -I. -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -D_REENTRANT -Wa,--noexecstack -Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -c fips_ers.c
        cc -I. -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -D_REENTRANT -Wa,--noexecstack -Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -E ia64cpuid.S > ia64cpuid.s
        cc -I. -I.. -I../include  -DDSO_DLFCN -DHAVE_DLFCN_H -D_REENTRANT -Wa,--noexecstack -Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -c -o ia64cpuid.o ia64cpuid.s
error 2006: multiple source files
*** 错误退出代码 1

停止。
*** 错误退出代码 1

停止。
*** 错误退出代码 1

停止。
*** 错误退出代码 1

停止。 
<p>
	<br>
</p>
<p>
	<br>
</p>

展开
收起
爱吃鱼的程序员 2020-06-14 15:31:07 790 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    去掉ssl之后,错误信息就不一样了

    ./configure--prefix=/arraybi/cognos/napp/soft/nginx--with-pcre=../pcre-8.34--with-zlib=../zlib-1.2.8--with-libatomic=../libatomic_ops-7.2make之后报的错误 cc-c-Isrc/core-Isrc/event-Isrc/event/modules-Isrc/os/unix-I../pcre-8.34-I../zlib-1.2.8-I../libatomic_ops-7.2/src-Iobjs\-oobjs/src/core/nginx.o\src/core/nginx.c"src/core/ngx_rbtree.h",line73:warning#4347-D:"inline"isakeywordintheC99CStandard,anditsusageasanidentifierwillcauseanerrorinC99modestaticngx_inlinengx_rbtree_node_t*^"src/core/ngx_rbtree.h",line73:error#2020:identifier"inline"isundefinedstaticngx_inlinengx_rbtree_node_t*^"src/core/ngx_rbtree.h",line73:error#2101:"ngx_rbtree_node_t"hasalreadybeendeclaredinthecurrentscopestaticngx_inlinengx_rbtree_node_t*^"src/core/ngx_rbtree.h",line73:error#2065:expecteda";"staticngx_inlinengx_rbtree_node_t*^"src/os/unix/ngx_time.h",line16:warning#2012-D:parsingrestartshereafterprevioussyntaxerrortypedefngx_rbtree_key_tngx_msec_t;^"src/core/ngx_string.h",line65:warning#4347-D:"inline"isakeywordintheC99CStandard,anditsusageasanidentifierwillcauseanerrorinC99modestaticngx_inlineu_char*^"src/core/ngx_string.h",line65:error#2020:identifier"inline"isundefinedstaticngx_inlineu_char*^"src/core/ngx_string.h",line65:error#2101:"u_char"hasalreadybeendeclaredinthecurrentscopestaticngx_inlineu_char*^"src/core/ngx_string.h",line65:error#2065:expecteda";"staticngx_inlineu_char*^"src/core/ngx_string.h",line147:warning#2012-D:parsingrestartshereafterprevioussyntaxerroru_char*ngx_cpystrn(u_char*dst,u_char*src,size_tn);^"src/core/ngx_string.h",line148:error#2757:variable"u_char"isnotatypenameu_char*ngx_pstrdup(ngx_pool_t*pool,ngx_str_t*src);^"src/core/ngx_string.h",line149:error#2757:variable"u_char"isnotatypenameu_char*ngx_cdeclngx_sprintf(u_char*buf,constchar*fmt,...);^"src/core/ngx_string.h",line149:error#2757:variable"u_char"isnotatypenameu_char*ngx_cdeclngx_sprintf(u_char*buf,constchar*fmt,...);^"src/core/ngx_string.h",line150:error#2757:variable"u_char"isnotatypenameu_char*ngx_cdeclngx_snprintf(u_char*buf,size_tmax,constchar*fmt,...);^"src/core/ngx_string.h",line150:error#2757:variable"u_char"isnotatypenameu_char*ngx_cdeclngx_snprintf(u_char*buf,size_tmax,constchar*fmt,...);^"src/core/ngx_string.h",line151:error#2757:variable"u_char"isnotatypenameu_char*ngx_cdeclngx_slprintf(u_char*buf,u_char*last,constchar*fmt,^"src/core/ngx_string.h",line151:error#2757:variable"u_char"isnotatypenameu_char*ngx_cdeclngx_slprintf(u_char*buf,u_char*last,constchar*fmt,^"src/core/ngx_string.h",line151:error#2757:variable"u_char"isnotatypenameu_char*ngx_cdeclngx_slprintf(u_char*buf,u_char*last,constchar*fmt,^"src/core/ngx_string.h",line153:error#2757:variable"u_char"isnotatypenameu_char*ngx_vslprintf(u_char*buf,u_char*last,constchar*fmt,va_listargs);^"src/core/ngx_string.h",line153:error#2757:variable"u_char"isnotatypenameu_char*ngx_vslprintf(u_char*buf,u_char*last,constchar*fmt,va_listargs);^"src/core/ngx_string.h",line153:error#2757:variable"u_char"isnotatypenameu_char*ngx_vslprintf(u_char*buf,u_char*last,constchar*fmt,va_listargs);^"src/core/ngx_string.h",line157:error#2757:variable"u_char"isnotatypenamengx_int_tngx_strcasecmp(u_char*s1,u_char*s2);^"src/core/ngx_string.h",line157:error#2757:variable"u_char"isnotatypenamengx_int_tngx_strcasecmp(u_char*s1,u_char*s2);^"src/core/ngx_string.h",line158:error#2757:variable"u_char"isnotatypenamengx_int_tngx_strncasecmp(u_char*s1,u_char*s2,size_tn);^"src/core/ngx_string.h",line158:error#2757:variable"u_char"isnotatypenamengx_int_tngx_strncasecmp(u_char*s1,u_char*s2,size_tn);^"src/core/ngx_string.h",line160:error#2757:variable"u_char"isnotatypenameu_char*ngx_strnstr(u_char*s1,char*s2,size_tn);^"src/core/ngx_string.h",line160:error#2757:variable"u_char"isnotatypenameu_char*ngx_strnstr(u_char*s1,char*s2,size_tn);^"src/core/ngx_string.h",line162:error#2757:variable"u_char"isnotatypenameu_char*ngx_strstrn(u_char*s1,char*s2,size_tn);^"src/core/ngx_string.h",line162:error#2757:variable"u_char"isnotatypenameu_char*ngx_strstrn(u_char*s1,char*s2,size_tn);^"src/core/ngx_string.h",line163:error#2757:variable"u_char"isnotatypenameu_char*ngx_strcasestrn(u_char*s1,char*s2,size_tn);^"src/core/ngx_string.h",line163:error#2757:variable"u_char"isnotatypenameu_char*ngx_strcasestrn(u_char*s1,char*s2,size_tn);^"src/core/ngx_string.h",line164:error#2757:variable"u_char"isnotatypenameu_char*ngx_strlcasestrn(u_char*s1,u_char*last,u_char*s2,size_tn);^"src/core/ngx_string.h",line164:error#2757:variable"u_char"isnotatypenameu_char*ngx_strlcasestrn(u_char*s1,u_char*last,u_char*s2,size_tn);^"src/core/ngx_string.h",line164:error#2757:variable"u_char"isnotatypenameu_char*ngx_strlcasestrn(u_char*s1,u_char*last,u_char*s2,size_tn);^"src/core/ngx_string.h",line164:error#2757:variable"u_char"isnotatypenameu_char*ngx_strlcasestrn(u_char*s1,u_char*last,u_char*s2,size_tn);^"src/core/ngx_string.h",line166:error#2757:variable"u_char"isnotatypenamengx_int_tngx_rstrncmp(u_char*s1,u_char*s2,size_tn);^"src/core/ngx_string.h",line166:error#2757:variable"u_char"isnotatypenamengx_int_tngx_rstrncmp(u_char*s1,u_char*s2,size_tn);^"src/core/ngx_string.h",line167:error#2757:variable"u_char"isnotatypenamengx_int_tngx_rstrncasecmp(u_char*s1,u_char*s2,size_tn);^"src/core/ngx_string.h",line167:error#2757:variable"u_char"isnotatypenamengx_int_tngx_rstrncasecmp(u_char*s1,u_char*s2,size_tn);^"src/core/ngx_string.h",line168:error#2757:variable"u_char"isnotatypenamengx_int_tngx_memn2cmp(u_char*s1,u_char*s2,size_tn1,size_tn2);^"src/core/ngx_string.h",line168:error#2757:variable"u_char"isnotatypenamengx_int_tngx_memn2cmp(u_char*s1,u_char*s2,size_tn1,size_tn2);^"src/core/ngx_string.h",line169:error#2757:variable"u_char"isnotatypenamengx_int_tngx_dns_strcmp(u_char*s1,u_char*s2);^"src/core/ngx_string.h",line169:error#2757:variable"u_char"isnotatypenamengx_int_tngx_dns_strcmp(u_char*s1,u_char*s2);^"src/core/ngx_string.h",line170:error#2757:variable"u_char"isnotatypenamengx_int_tngx_filename_cmp(u_char*s1,u_char*s2,size_tn);^"src/core/ngx_string.h",line170:error#2757:variable"u_char"isnotatypenamengx_int_tngx_filename_cmp(u_char*s1,u_char*s2,size_tn);^"src/core/ngx_string.h",line172:error#2757:variable"u_char"isnotatypenamengx_int_tngx_atoi(u_char*line,size_tn);^"src/core/ngx_string.h",line173:error#2757:variable"u_char"isnotatypenamengx_int_tngx_atofp(u_char*line,size_tn,size_tpoint);^"src/core/ngx_string.h",line174:error#2757:variable"u_char"isnotatypenamessize_tngx_atosz(u_char*line,size_tn);^"src/core/ngx_string.h",line175:error#2757:variable"u_char"isnotatypenameoff_tngx_atoof(u_char*line,size_tn);^"src/core/ngx_string.h",line176:error#2757:variable"u_char"isnotatypenametime_tngx_atotm(u_char*line,size_tn);^"src/core/ngx_string.h",line177:error#2757:variable"u_char"isnotatypenamengx_int_tngx_hextoi(u_char*line,size_tn);^"src/core/ngx_string.h",line179:error#2757:variable"u_char"isnotatypenameu_char*ngx_hex_dump(u_char*dst,u_char*src,size_tlen);^"src/core/ngx_string.h",line179:error#2757:variable"u_char"isnotatypenameu_char*ngx_hex_dump(u_char*dst,u_char*src,size_tlen);^"src/core/ngx_string.h",line179:error#2757:variable"u_char"isnotatypenameu_char*ngx_hex_dump(u_char*dst,u_char*src,size_tlen);^"src/core/ngx_string.h",line190:error#2757:variable"u_char"isnotatypenameuint32_tngx_utf8_decode(u_char**p,size_tn);^"src/core/ngx_string.h",line191:error#2757:variable"u_char"isnotatypenamesize_tngx_utf8_length(u_char*p,size_tn);^"src/core/ngx_string.h",line192:error#2757:variable"u_char"isnotatypenameu_char*ngx_utf8_cpystrn(u_char*dst,u_char*src,size_tn,size_tlen);^"src/core/ngx_string.h",line192:error#2757:variable"u_char"isnotatypenameu_char*ngx_utf8_cpystrn(u_char*dst,u_char*src,size_tn,size_tlen);^"src/core/ngx_string.h",line192:error#2757:variable"u_char"isnotatypenameu_char*ngx_utf8_cpystrn(u_char*dst,u_char*src,size_tn,size_tlen);^"src/core/ngx_string.h",line206:error#2757:variable"u_char"isnotatypenameuintptr_tngx_escape_uri(u_char*dst,u_char*src,size_tsize,^"src/core/ngx_string.h",line206:error#2757:variable"u_char"isnotatypenameuintptr_tngx_escape_uri(u_char*dst,u_char*src,size_tsize,^"src/core/ngx_string.h",line208:error#2757:variable"u_char"isnotatypenamevoidngx_unescape_uri(u_char**dst,u_char**src,size_tsize,ngx_uint_ttype);^"src/core/ngx_string.h",line208:error#2757:variable"u_char"isnotatypenamevoidngx_unescape_uri(u_char**dst,u_char**src,size_tsize,ngx_uint_ttype);^"src/core/ngx_string.h",line209:error#2757:variable"u_char"isnotatypenameuintptr_tngx_escape_html(u_char*dst,u_char*src,size_tsize);^"src/core/ngx_string.h",line209:error#2757:variable"u_char"isnotatypenameuintptr_tngx_escape_html(u_char*dst,u_char*src,size_tsize);^"src/core/ngx_string.h",line213:error#2757:variable"ngx_rbtree_node_t"isnotatypenamengx_rbtree_node_tnode;^"src/core/ngx_string.h",line218:error#2757:variable"ngx_rbtree_node_t"isnotatypenamevoidngx_str_rbtree_insert_value(ngx_rbtree_node_t*temp,^"src/core/ngx_string.h",line219:error#2757:variable"ngx_rbtree_node_t"isnotatypenamengx_rbtree_node_t*node,ngx_rbtree_node_t*sentinel);^"src/core/ngx_string.h",line219:error#2757:variable"ngx_rbtree_node_t"isnotatypenamengx_rbtree_node_t*node,ngx_rbtree_node_t*sentinel);^"src/os/unix/ngx_files.h",line22:error#2757:variable"u_char"isnotatypenameu_char*name;^"src/os/unix/ngx_files.h",line43:error#2757:variable"u_char"isnotatypenameu_char*pattern;^"src/os/unix/ngx_files.h",line117:error#2757:variable"u_char"isnotatypenamengx_fd_tngx_open_tempfile(u_char*name,ngx_uint_tpersistent,^"src/os/unix/ngx_files.h",line122:error#2757:variable"u_char"isnotatypenamessize_tngx_read_file(ngx_file_t*file,u_char*buf,size_tsize,off_toffset);^"src/os/unix/ngx_files.h",line129:error#2757:variable"u_char"isnotatypenamessize_tngx_write_file(ngx_file_t*file,u_char*buf,size_tsize,^"src/os/unix/ngx_files.h",line144:warning#4347-D:"inline"isakeywordintheC99CStandard,anditsusageasanidentifierwillcauseanerrorinC99modestaticngx_inlinessize_t^"src/os/unix/ngx_files.h",line144:error#2020:identifier"inline"isundefinedstaticngx_inlinessize_t^"src/os/unix/ngx_files.h",line144:error#2101:"ssize_t"hasalreadybeendeclaredinthecurrentscopestaticngx_inlinessize_t^"src/os/unix/ngx_files.h",line145:error#2065:expecteda";"ngx_write_fd(ngx_fd_tfd,void*buf,size_tn)^"src/os/unix/ngx_files.h",line169:warning#2012-D:parsingrestartshereafterprevioussyntaxerrorngx_int_tngx_set_file_time(u_char*name,ngx_fd_tfd,time_ts);^"src/os/unix/ngx_files.h",line249:warning#4347-D:"inline"isakeywordintheC99CStandard,anditsusageasanidentifierwillcauseanerrorinC99modestaticngx_inlinengx_int_t^"src/os/unix/ngx_files.h",line249:error#2020:identifier"inline"isundefinedstaticngx_inlinengx_int_t^"src/os/unix/ngx_files.h",line249:error#2101:"ngx_int_t"hasalreadybeendeclaredinthecurrentscopestaticngx_inlinengx_int_t^"src/os/unix/ngx_files.h",line250:error#2065:expecteda";"ngx_de_info(u_char*name,ngx_dir_t*dir)^"src/os/unix/ngx_files.h",line289:warning#2012-D:parsingrestartshereafterprevioussyntaxerrorngx_int_tngx_open_glob(ngx_glob_t*gl);^"src/os/unix/ngx_files.h",line291:error#2757:variable"ngx_int_t"isnotatypenamengx_int_tngx_read_glob(ngx_glob_t*gl,ngx_str_t*name);^"src/os/unix/ngx_files.h",line315:error#2757:variable"ngx_int_t"isnotatypenamengx_int_tngx_read_ahead(ngx_fd_tfd,size_tn);^"src/os/unix/ngx_files.h",line328:error#2757:variable"ngx_int_t"isnotatypenamengx_int_tngx_directio_on(ngx_fd_tfd);^"src/os/unix/ngx_files.h",line331:error#2757:variable"ngx_int_t"isnotatypenamengx_int_tngx_directio_off(ngx_fd_tfd);^"src/os/unix/ngx_files.h",line351:error#2757:variable"u_char"isnotatypenamesize_tngx_fs_bsize(u_char*name);^"src/os/unix/ngx_shmem.h",line17:error#2757:variable"u_char"isnotatypenameu_char*addr;^"src/os/unix/ngx_shmem.h",line25:error#2757:variable"ngx_int_t"isnotatypenamengx_int_tngx_shm_alloc(ngx_shm_t*shm);^"src/os/unix/ngx_process.h",line64:error#2757:variable"ngx_int_t"isnotatypenamengx_spawn_proc_ptproc,void*data,char*name,ngx_int_trespawn);^"src/os/unix/ngx_process.h",line66:error#2757:variable"ngx_int_t"isnotatypenamengx_int_tngx_init_signals(ngx_log_t*log);^"src/os/unix/ngx_process.h",line83:error#2757:variable"ngx_int_t"isnotatypenameexternngx_int_tngx_process_slot;^"src/os/unix/ngx_process.h",line84:error#2757:variable"ngx_int_t"isnotatypenameexternngx_int_tngx_last_process;^"src/os/unix/ngx_user.h",line20:error#2757:variable"ngx_int_t"isnotatypenamengx_int_tngx_libc_crypt(ngx_pool_t*pool,u_char*key,u_char*salt,^"src/os/unix/ngx_user.h",line20:error#2757:variable"u_char"isnotatypenamengx_int_tngx_libc_crypt(ngx_pool_t*pool,u_char*key,u_char*salt,^"src/os/unix/ngx_user.h",line20:error#2757:variable"u_char"isnotatypenamengx_int_tngx_libc_crypt(ngx_pool_t*pool,u_char*key,u_char*salt,^"src/os/unix/ngx_user.h",line21:error#2757:variable"u_char"isnotatypenameu_char**encrypted);^"src/core/ngx_parse.h",line16:error#2757:variable"ssize_t"isnotatypenamessize_tngx_parse_size(ngx_str_t*line);^"src/core/ngx_parse.h",line18:error#2757:variable"ngx_int_t"isnotatypenamengx_int_tngx_parse_time(ngx_str_t*line,ngx_uint_tis_sec);^"src/core/ngx_log.h",line45:error#2757:variable"u_char"isnotatypenametypedefu_char*(*ngx_log_handler_pt)(ngx_log_t*log,u_char*buf,size_tlen);^"src/core/ngx_log.h",line45:error#2757:variable"u_char"isnotatypenametypedefu_char*(*ngx_log_handler_pt)(ngx_log_t*log,u_char*buf,size_tlen);^"src/core/ngx_log.h",line224:error#2757:variable"u_char"isnotatypenamengx_log_t*ngx_log_init(u_char*prefix);^"src/core/ngx_log.h",line227:error#2757:variable"u_char"isnotatypenameu_char*ngx_log_errno(u_char*buf,u_char*last,ngx_err_terr);^"src/core/ngx_log.h",line227:error#2757:variable"u_char"isnotatypenameu_char*ngx_log_errno(u_char*buf,u_char*last,ngx_err_terr);^"src/core/ngx_log.h",line227:error#2757:variable"u_char"isnotatypenameu_char*ngx_log_errno(u_char*buf,u_char*last,ngx_err_terr);^"src/core/ngx_log.h",line228:error#2757:variable"ngx_int_t"isnotatypenamengx_int_tngx_log_open_default(ngx_cycle_t*cycle);^Errorlimitreached.100errorsdetectedinthecompilationof"src/core/nginx.c".Compilationterminated.***错误退出代码4停止。***错误退出代码1停止。



    你搜下,我感觉是不是nginx最新版本还没兼容在HP-UX系统上面。你换成稍低的版本试试呢。

    100errorsdetectedinthecompilationof"src/core/nginx.c".我试了1.4.7,同样的错,感觉是cc,gcc编译器的问题嗯,有道理,我试试1.4的上面问题解决了,是cc编译器的问题,默认使用Hp自带的cc编译器,增加参数--with-cc=/usr/local/bin/gcc
    ,将cc路径指向gcc就可以了
    great
    2020-06-14 15:31:25
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
《Nginx 代理系统常用手册》 立即下载
CentOS Nginx PHP JAVA 多语言镜像使用手 立即下载
CentOS Nginx PHP JAVA多语言镜像使用手册 立即下载