主頁 > 作業系統 > 升級openssh,./configura,報錯,麻煩各位大神幫忙看看

升級openssh,./configura,報錯,麻煩各位大神幫忙看看

2020-09-24 07:44:24 作業系統




先上圖,二樓上config日志

uj5u.com熱心網友回復:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by OpenSSH configure Portable, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-ssl-dir=/usr/local/openssl

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost.localdomain
uname -m = x86_64
uname -r = 2.6.32-431.el6.x86_64
uname -s = Linux
uname -v = #1 SMP Fri Nov 22 03:15:09 UTC 2013

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/lib64/qt-3.3/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2676: checking for cc
configure:2692: found /usr/bin/cc
configure:2703: result: cc
configure:2734: checking for C compiler version
configure:2743: cc --version >&5
cc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2754: $? = 0
configure:2743: cc -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) 
configure:2754: $? = 0
configure:2743: cc -V >&5
cc: '-V' option must have argument
configure:2754: $? = 1
configure:2743: cc -qversion >&5
cc: unrecognized option '-qversion'
cc: no input files
configure:2754: $? = 1
configure:2774: checking whether the C compiler works
configure:2796: cc    conftest.c  >&5
configure:2800: $? = 0
configure:2848: result: yes
configure:2851: checking for C compiler default output file name
configure:2853: result: a.out
configure:2859: checking for suffix of executables
configure:2866: cc -o conftest    conftest.c  >&5
configure:2870: $? = 0
configure:2892: result: 
configure:2914: checking whether we are cross compiling
configure:2922: cc -o conftest    conftest.c  >&5
configure:2926: $? = 0
configure:2933: ./conftest
configure:2937: $? = 0
configure:2952: result: no
configure:2957: checking for suffix of object files
configure:2979: cc -c   conftest.c >&5
configure:2983: $? = 0
configure:3004: result: o
configure:3008: checking whether we are using the GNU C compiler
configure:3027: cc -c   conftest.c >&5
configure:3027: $? = 0
configure:3036: result: yes
configure:3045: checking whether cc accepts -g
configure:3065: cc -c -g  conftest.c >&5
configure:3065: $? = 0
configure:3106: result: yes
configure:3123: checking for cc option to accept ISO C89
configure:3186: cc  -c -g -O2  conftest.c >&5
configure:3186: $? = 0
configure:3199: result: none needed
configure:3252: checking build system type
configure:3266: result: x86_64-pc-linux-gnu
configure:3286: checking host system type
configure:3299: result: x86_64-pc-linux-gnu
configure:3325: checking how to run the C preprocessor
configure:3356: cc -E  conftest.c
configure:3356: $? = 0
configure:3370: cc -E  conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3370: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenSSH"
| #define PACKAGE_TARNAME "openssh"
| #define PACKAGE_VERSION "Portable"
| #define PACKAGE_STRING "OpenSSH Portable"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3395: result: cc -E
configure:3415: cc -E  conftest.c
configure:3415: $? = 0
configure:3429: cc -E  conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3429: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenSSH"
| #define PACKAGE_TARNAME "openssh"
| #define PACKAGE_VERSION "Portable"
| #define PACKAGE_STRING "OpenSSH Portable"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3458: checking for grep that handles long lines and -e
configure:3516: result: /bin/grep
configure:3521: checking for egrep
configure:3583: result: /bin/grep -E
configure:3588: checking for ANSI C header files
configure:3608: cc -c -g -O2  conftest.c >&5
configure:3608: $? = 0
configure:3681: cc -o conftest -g -O2   conftest.c  >&5
configure:3681: $? = 0
configure:3681: ./conftest
configure:3681: $? = 0
configure:3692: result: yes
configure:3705: checking for sys/types.h
configure:3705: cc -c -g -O2  conftest.c >&5
configure:3705: $? = 0
configure:3705: result: yes
configure:3705: checking for sys/stat.h
configure:3705: cc -c -g -O2  conftest.c >&5
configure:3705: $? = 0
configure:3705: result: yes
configure:3705: checking for stdlib.h
configure:3705: cc -c -g -O2  conftest.c >&5
configure:3705: $? = 0
configure:3705: result: yes
configure:3705: checking for string.h
configure:3705: cc -c -g -O2  conftest.c >&5
configure:3705: $? = 0
configure:3705: result: yes
configure:3705: checking for memory.h
configure:3705: cc -c -g -O2  conftest.c >&5
configure:3705: $? = 0
configure:3705: result: yes
configure:3705: checking for strings.h
configure:3705: cc -c -g -O2  conftest.c >&5
configure:3705: $? = 0
configure:3705: result: yes
configure:3705: checking for inttypes.h
configure:3705: cc -c -g -O2  conftest.c >&5
configure:3705: $? = 0
configure:3705: result: yes
configure:3705: checking for stdint.h
configure:3705: cc -c -g -O2  conftest.c >&5
configure:3705: $? = 0
configure:3705: result: yes
configure:3705: checking for unistd.h
configure:3705: cc -c -g -O2  conftest.c >&5
configure:3705: $? = 0
configure:3705: result: yes
configure:3717: checking whether byte ordering is bigendian
configure:3732: cc -c -g -O2  conftest.c >&5
conftest.c:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a'
configure:3732: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenSSH"
| #define PACKAGE_TARNAME "openssh"
| #define PACKAGE_VERSION "Portable"
| #define PACKAGE_STRING "OpenSSH Portable"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #ifndef __APPLE_CC__
|         not a universal capable compiler
|       #endif
|       typedef int dummy;

configure:3777: cc -c -g -O2  conftest.c >&5
configure:3777: $? = 0
configure:3795: cc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:26: error: 'not' undeclared (first use in this function)
conftest.c:26: error: (Each undeclared identifier is reported only once
conftest.c:26: error: for each function it appears in.)
conftest.c:26: error: expected ';' before 'big'
configure:3795: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenSSH"
| #define PACKAGE_TARNAME "openssh"
| #define PACKAGE_VERSION "Portable"
| #define PACKAGE_STRING "OpenSSH Portable"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <sys/types.h>
|  #include <sys/param.h>

| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
|   not big endian
|  #endif

|   ;
|   return 0;
| }
configure:3923: result: no
configure:3947: checking for gawk
configure:3963: found /bin/gawk
configure:3974: result: gawk
configure:3990: checking how to run the C preprocessor
configure:4060: result: cc -E
configure:4080: cc -E  conftest.c
configure:4080: $? = 0
configure:4094: cc -E  conftest.c
conftest.c:19:28: error: ac_nonexistent.h: No such file or directory
configure:4094: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenSSH"
| #define PACKAGE_TARNAME "openssh"
| #define PACKAGE_VERSION "Portable"
| #define PACKAGE_STRING "OpenSSH Portable"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4165: checking for ranlib
configure:4181: found /usr/bin/ranlib
configure:4192: result: ranlib
configure:4228: checking for a BSD-compatible install
configure:4296: result: /usr/bin/install -c
configure:4307: checking for egrep
configure:4369: result: /bin/grep -E
configure:4

uj5u.com熱心網友回復:

configure:4374: checking for a thread-safe mkdir -p
configure:4413: result: /bin/mkdir -p
configure:4465: checking for ar
configure:4481: found /usr/bin/ar
configure:4492: result: ar
configure:4518: checking for cat
configure:4536: found /bin/cat
configure:4548: result: /bin/cat
configure:4558: checking for kill
configure:4576: found /bin/kill
configure:4588: result: /bin/kill
configure:4598: checking for sed
configure:4616: found /bin/sed
configure:4628: result: /bin/sed
configure:4638: checking for ent
configure:4671: result: no
configure:4679: checking for bash
configure:4697: found /bin/bash
configure:4709: result: /bin/bash
configure:4719: checking for ksh
configure:4749: result: /bin/bash
configure:4759: checking for sh
configure:4789: result: /bin/bash
configure:4799: checking for sh
configure:4817: found /bin/sh
configure:4829: result: /bin/sh
configure:4839: checking for groff
configure:4857: found /usr/bin/groff
configure:4869: result: /usr/bin/groff
configure:4879: checking for nroff
configure:4897: found /usr/bin/nroff
configure:4909: result: /usr/bin/nroff
configure:4919: checking for mandoc
configure:4952: result: no
configure:4975: checking for groupadd
configure:4993: found /usr/sbin/groupadd
configure:5006: result: /usr/sbin/groupadd
configure:5016: checking for useradd
configure:5034: found /usr/sbin/useradd
configure:5047: result: /usr/sbin/useradd
configure:5057: checking for pkgmk
configure:5085: result: no
configure:5109: checking for special C compiler options needed for large files
configure:5154: result: no
configure:5160: checking for _FILE_OFFSET_BITS value needed for large files
configure:5185: cc -c -g -O2  conftest.c >&5
configure:5185: $? = 0
configure:5217: result: no
configure:5309: checking for passwd
configure:5327: found /usr/bin/passwd
configure:5339: result: /usr/bin/passwd
configure:5358: checking for inline
configure:5374: cc -c -g -O2  conftest.c >&5
configure:5374: $? = 0
configure:5382: result: inline
configure:5401: checking whether LLONG_MAX is declared
configure:5401: cc -c -g -O2  conftest.c >&5
configure:5401: $? = 0
configure:5401: result: yes
configure:5407: checking whether SYSTR_POLICY_KILL is declared
configure:5407: cc -c -g -O2  conftest.c >&5
conftest.c:23:27: error: dev/systrace.h: No such file or directory
conftest.c: In function 'main':
conftest.c:33: error: 'SYSTR_POLICY_KILL' undeclared (first use in this function)
conftest.c:33: error: (Each undeclared identifier is reported only once
conftest.c:33: error: for each function it appears in.)
configure:5407: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenSSH"
| #define PACKAGE_TARNAME "openssh"
| #define PACKAGE_VERSION "Portable"
| #define PACKAGE_STRING "OpenSSH Portable"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define _PATH_PASSWD_PROG "/usr/bin/passwd"
| /* end confdefs.h.  */

|  #include <sys/types.h>
|  #include <sys/param.h>
|  #include <dev/systrace.h>


| int
| main ()
| {
| #ifndef SYSTR_POLICY_KILL
| #ifdef __cplusplus
|   (void) SYSTR_POLICY_KILL;
| #else
|   (void) SYSTR_POLICY_KILL;
| #endif
| #endif

|   ;
|   return 0;
| }
configure:5407: result: no
configure:5417: checking whether RLIMIT_NPROC is declared
configure:5417: cc -c -g -O2  conftest.c >&5
configure:5417: $? = 0
configure:5417: result: yes
configure:5428: checking whether PR_SET_NO_NEW_PRIVS is declared
configure:5428: cc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:33: error: 'PR_SET_NO_NEW_PRIVS' undeclared (first use in this function)
conftest.c:33: error: (Each undeclared identifier is reported only once
conftest.c:33: error: for each function it appears in.)
configure:5428: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenSSH"
| #define PACKAGE_TARNAME "openssh"
| #define PACKAGE_VERSION "Portable"
| #define PACKAGE_STRING "OpenSSH Portable"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define _PATH_PASSWD_PROG "/usr/bin/passwd"
| #define HAVE_RLIMIT_NPROC /**/
| /* end confdefs.h.  */

|  #include <sys/types.h>
|  #include <linux/prctl.h>


| int
| main ()
| {
| #ifndef PR_SET_NO_NEW_PRIVS
| #ifdef __cplusplus
|   (void) PR_SET_NO_NEW_PRIVS;
| #else
|   (void) PR_SET_NO_NEW_PRIVS;
| #endif
| #endif

|   ;
|   return 0;
| }
configure:5428: result: no
configure:5449: checking whether OpenSSL will be used for cryptography
configure:5452: result: yes
configure:5487: checking if cc supports -Werror
configure:5495: cc -c -g -O2 -Werror  conftest.c >&5
configure:5495: $? = 0
configure:5496: result: yes
configure:5510: checking if cc supports compile flag -pipe
configure:5532: cc -c -g -O2 -Werror -pipe  conftest.c >&5
configure:5532: $? = 0
configure:5540: result: yes
configure:5553: checking if cc supports compile flag -Qunused-arguments
configure:5575: cc -c -g -O2 -pipe -Werror -Qunused-arguments  conftest.c >&5
cc: unrecognized option '-Qunused-arguments'
configure:5575: $? = 0
configure:5579: result: no
configure:5596: checking if cc supports compile flag -Wunknown-warning-option
configure:5618: cc -c -g -O2 -pipe -Werror -Wunknown-warning-option  conftest.c >&5
cc1: error: unrecognized command line option "-Wunknown-warning-option"
configure:5618: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenSSH"
| #define PACKAGE_TARNAME "openssh"
| #define PACKAGE_VERSION "Portable"
| #define PACKAGE_STRING "OpenSSH Portable"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define _PATH_PASSWD_PROG "/usr/bin/passwd"
| #define HAVE_RLIMIT_NPROC /**/
| #define WITH_OPENSSL 1
| /* end confdefs.h.  */

| #include <stdlib.h>
| #include <stdio.h>
| int main(int argc, char **argv) {
|  /* Some math to catch -ftrapv problems in the toolchain */
|  int i = 123 * argc, j = 456 + argc, k = 789 - argc;
|  float l = i * 2.1;
|  double m = l / 0.5;
|  long long int n = argc * 12345LL, o = 12345LL * (long long int)argc;
|  printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o);
|  exit(0);
| }

configure:5631: result: no
configure:5639: checking if cc supports compile flag -Wall
configure:5661: cc -c -g -O2 -pipe -Werror -Wall  conftest.c >&5
configure:5661: $? = 0
configure:5669: result: yes
configure:5682: checking if cc supports compile flag -Wpointer-arith
configure:5704: cc -c -g -O2 -pipe -Wall -Werror -Wpointer-arith  conftest.c >&5
configure:5704: $? = 0
configure:5712: result: yes
configure:5725: checking if cc supports compile flag -Wuninitialized
configure:5747: cc -c -g -O2 -pipe -Wall -Wpointer-arith -Werror -Wuninitialized  conftest.c >&5
configure:5747: $? = 0
configure:5755: result: yes
configure:5768: checking if cc supports compile flag -Wsign-compare
configure:5790: cc -c -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Werror -Wsign-compare  conftest.c >&5
configure:5790: $? = 0
configure:5798: result: yes
configure:5811: checking if cc supports compile flag -Wformat-security
configure:5833: cc -c -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Werror -Wformat-security  conftest.c >&5
configure:5833: $? = 0
configure:5841: result: yes
configure:5854: checking if cc supports compile flag -Wsizeof-pointer-memaccess
configure:5876: cc -c -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Werror -Wsizeof-pointer-memaccess  conftest.c >&5
cc1: error: unrecognized command line option "-Wsizeof-pointer-memaccess"
configure:5876: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenSSH"
| #define PACKAGE_TARNAME "openssh"
| #define PACKAGE_VERSION "Portable"
| #define PACKAGE_STRING "OpenSSH Portable"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define _PATH_PASSWD_PROG "/usr/bin/passwd"
| #define HAVE_RLIMIT_NPROC /**/
| #define WITH_OPENSSL 1
| /* end confdefs.h.  */

| #include <stdlib.h>
| #include <stdio.h>
| int main(int argc, char **argv) {
|  /* Some math to catch -ftrapv problems in the toolchain */
|  int i = 123 * argc, j = 456 + argc, k = 789 - argc;
|  float l = i * 2.1;
|  double m = l / 0.5;
|  long long int n = argc * 12345LL, o = 12345LL * (long long int)argc;
|  printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o);
|  exit(0);
| }

configure:5889: result: no
configure:5897: checking if cc supports compile flag -Wpointer-sign
configure:5919: cc -c -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Werror -Wpointer-sign  conftest.c >&5
configure:5919: $? = 0
configure:5927: result: yes
configure:5940: checking if cc supports compile flag -Wunused-result
configure:5962: cc -c -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -Werror -Wunused-result  conftest.c >&5
cc1: erro

uj5u.com熱心網友回復:

cc1: error: unrecognized command line option "-Wunused-result"
configure:5962: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenSSH"
| #define PACKAGE_TARNAME "openssh"
| #define PACKAGE_VERSION "Portable"
| #define PACKAGE_STRING "OpenSSH Portable"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define _PATH_PASSWD_PROG "/usr/bin/passwd"
| #define HAVE_RLIMIT_NPROC /**/
| #define WITH_OPENSSL 1
| /* end confdefs.h.  */

| #include <stdlib.h>
| #include <stdio.h>
| int main(int argc, char **argv) {
|  /* Some math to catch -ftrapv problems in the toolchain */
|  int i = 123 * argc, j = 456 + argc, k = 789 - argc;
|  float l = i * 2.1;
|  double m = l / 0.5;
|  long long int n = argc * 12345LL, o = 12345LL * (long long int)argc;
|  printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o);
|  exit(0);
| }

configure:5975: result: no
configure:5983: checking if cc supports compile flag -fno-strict-aliasing
configure:6005: cc -c -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -Werror -fno-strict-aliasing  conftest.c >&5
configure:6005: $? = 0
configure:6013: result: yes
configure:6027: checking if cc supports compile flag -mretpoline
configure:6049: cc -c -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing -Werror -mretpoline  conftest.c >&5
cc1: error: unrecognized command line option "-mretpoline"
configure:6049: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenSSH"
| #define PACKAGE_TARNAME "openssh"
| #define PACKAGE_VERSION "Portable"
| #define PACKAGE_STRING "OpenSSH Portable"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define _PATH_PASSWD_PROG "/usr/bin/passwd"
| #define HAVE_RLIMIT_NPROC /**/
| #define WITH_OPENSSL 1
| /* end confdefs.h.  */

| #include <stdlib.h>
| #include <stdio.h>
| int main(int argc, char **argv) {
|  /* Some math to catch -ftrapv problems in the toolchain */
|  int i = 123 * argc, j = 456 + argc, k = 789 - argc;
|  float l = i * 2.1;
|  double m = l / 0.5;
|  long long int n = argc * 12345LL, o = 12345LL * (long long int)argc;
|  printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o);
|  exit(0);
| }

configure:6062: result: no
configure:6070: checking if cc supports link flag -Wl,-z,retpolineplt
configure:6093: cc -o conftest -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing   -Werror -Wl,-z,retpolineplt conftest.c  >&5
configure:6093: $? = 0
configure:6101: result: yes
configure:6115: checking if cc supports compile flag -D_FORTIFY_SOURCE=2
configure:6137: cc -c -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing -Werror -D_FORTIFY_SOURCE=2  conftest.c >&5
configure:6137: $? = 0
configure:6145: result: yes
configure:6158: checking if cc supports link flag -Wl,-z,relro
configure:6181: cc -o conftest -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing -D_FORTIFY_SOURCE=2   -Wl,-z,retpolineplt -Werror -Wl,-z,relro conftest.c  >&5
configure:6181: $? = 0
configure:6189: result: yes
configure:6203: checking if cc supports link flag -Wl,-z,now
configure:6226: cc -o conftest -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing -D_FORTIFY_SOURCE=2   -Wl,-z,retpolineplt -Wl,-z,relro -Werror -Wl,-z,now conftest.c  >&5
configure:6226: $? = 0
configure:6234: result: yes
configure:6248: checking if cc supports link flag -Wl,-z,noexecstack
configure:6271: cc -o conftest -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing -D_FORTIFY_SOURCE=2   -Wl,-z,retpolineplt -Wl,-z,relro -Wl,-z,now -Werror -Wl,-z,noexecstack conftest.c  >&5
configure:6271: $? = 0
configure:6279: result: yes
configure:6298: checking if cc supports compile flag -ftrapv and linking succeeds
configure:6321: cc -o conftest -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Werror -ftrapv   -Wl,-z,retpolineplt -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack conftest.c  >&5
configure:6321: $? = 0
configure:6329: result: yes
configure:6343: checking gcc version
configure:6354: result: 4.4.7
configure:6357: checking if cc accepts -fno-builtin-memset
configure:6372: cc -o conftest -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset   -Wl,-z,retpolineplt -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack conftest.c  >&5
configure:6372: $? = 0
configure:6373: result: yes
configure:6390: checking if cc supports -fstack-protector-strong
configure:6410: cc -o conftest -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -Werror   -Wl,-z,retpolineplt -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -fstack-protector-strong -Werror conftest.c  >&5
cc1: error: unrecognized command line option "-fstack-protector-strong"
cc1: error: unrecognized command line option "-fstack-protector-strong"
configure:6410: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenSSH"
| #define PACKAGE_TARNAME "openssh"
| #define PACKAGE_VERSION "Portable"
| #define PACKAGE_STRING "OpenSSH Portable"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define _PATH_PASSWD_PROG "/usr/bin/passwd"
| #define HAVE_RLIMIT_NPROC /**/
| #define WITH_OPENSSL 1
| /* end confdefs.h.  */
|  #include <stdio.h>
| int
| main ()
| {

|  char x[256];
|  snprintf(x, sizeof(x), "XXX");

|   ;
|   return 0;
| }
configure:6451: result: no
configure:6390: checking if cc supports -fstack-protector-all
configure:6410: cc -o conftest -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-all -Werror   -Wl,-z,retpolineplt -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -fstack-protector-all -Werror conftest.c  >&5
configure:6410: $? = 0
configure:6411: result: yes
configure:6415: checking if -fstack-protector-all works
configure:6437: cc -o conftest -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-all   -Wl,-z,retpolineplt -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -fstack-protector-all conftest.c  >&5
configure:6437: $? = 0
configure:6437: ./conftest
configure:6437: $? = 0
configure:6438: result: yes
configure:6479: checking if compiler allows __attribute__ on return types
configure:6494: cc -c -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-all  conftest.c >&5
configure:6494: $? = 0
configure:6495: result: yes
configure:6507: checking if compiler allows __attribute__ prototype args
configure:6522: cc -c -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-all  conftest.c >&5
configure:6522: $? = 0
configure:6523: result: yes
configure:6724: checking blf.h usability
configure:6724: cc -c -g -O2 -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-all  conftest.c >&5
conftest.c:56:17: error: blf.h: No such file or directory
configure:6724: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenSSH"
| #define PACKAGE_TARNAME "openssh"
| #define PACKAGE_VERSION "Portable"
| #define PACKAGE_STRING "OpenSSH Portable"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define _PATH_PASSWD_PROG "/usr/bin/passwd"
| #define HAVE_RLIMIT_NPROC /**/
| #define WITH_OPENSSL 1
| #define HAVE_ATTRIBUTE__NONNULL__ 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H

uj5u.com熱心網友回復:

缺少依賴庫 libcrypto

uj5u.com熱心網友回復:

沒有 openssl 開發包

轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/117517.html

標籤:Power Linux

上一篇:Qt圖形界面控制LED

下一篇:有關Qt 的一個小問題

標籤雲
其他(157675) Python(38076) JavaScript(25376) Java(17977) C(15215) 區塊鏈(8255) C#(7972) AI(7469) 爪哇(7425) MySQL(7132) html(6777) 基礎類(6313) sql(6102) 熊猫(6058) PHP(5869) 数组(5741) R(5409) Linux(5327) 反应(5209) 腳本語言(PerlPython)(5129) 非技術區(4971) Android(4554) 数据框(4311) css(4259) 节点.js(4032) C語言(3288) json(3245) 列表(3129) 扑(3119) C++語言(3117) 安卓(2998) 打字稿(2995) VBA(2789) Java相關(2746) 疑難問題(2699) 细绳(2522) 單片機工控(2479) iOS(2429) ASP.NET(2402) MongoDB(2323) 麻木的(2285) 正则表达式(2254) 字典(2211) 循环(2198) 迅速(2185) 擅长(2169) 镖(2155) 功能(1967) .NET技术(1958) Web開發(1951) python-3.x(1918) HtmlCss(1915) 弹簧靴(1913) C++(1909) xml(1889) PostgreSQL(1872) .NETCore(1853) 谷歌表格(1846) Unity3D(1843) for循环(1842)

熱門瀏覽
  • CA和證書

    1、在 CentOS7 中使用 gpg 創建 RSA 非對稱密鑰對 gpg --gen-key #Centos上生成公鑰/密鑰對(存放在家目錄.gnupg/) 2、將 CentOS7 匯出的公鑰,拷貝到 CentOS8 中,在 CentOS8 中使用 CentOS7 的公鑰加密一個檔案 gpg -a ......

    uj5u.com 2020-09-10 00:09:53 more
  • Kubernetes K8S之資源控制器Job和CronJob詳解

    Kubernetes的資源控制器Job和CronJob詳解與示例 ......

    uj5u.com 2020-09-10 00:10:45 more
  • VMware下安裝CentOS

    VMware下安裝CentOS 一、軟硬體準備 1 Centos鏡像準備 1.1 CentOS鏡像下載地址 下載地址 1.2 CentOS鏡像下載程序 點擊下載地址進入如下圖的網站,選擇需要下載的版本,這里選擇的是Centos8,點擊如圖所示。 決定選擇Centos8后,選擇想要的鏡像源進行下載,此 ......

    uj5u.com 2020-09-10 00:12:10 more
  • 如何使用Grep命令查找多個字串

    如何使用Grep 命令查找多個字串 大家好,我是良許! 今天向大家介紹一個非常有用的技巧,那就是使用 grep 命令查找多個字串。 簡單介紹一下,grep 命令可以理解為是一個功能強大的命令列工具,可以用它在一個或多個輸入檔案中搜索與正則運算式相匹配的文本,然后再將每個匹配的文本用標準輸出的格式 ......

    uj5u.com 2020-09-10 00:12:28 more
  • git配置http代理

    git配置http代理 經常遇到克隆 github 慢的問題,這里記錄一下幾種配置 git 代理的方法,解決 clone github 過慢。 目錄 git配置代理 git單獨配置github代理 git配置全域代理 配置終端環境變數 git配置代理 主要使用 git config 命令 git單獨 ......

    uj5u.com 2020-09-10 00:12:33 more
  • Linux npm install 裝包時提示Error EACCES permission denied解

    npm install 裝包時提示Error EACCES permission denied解決辦法 ......

    uj5u.com 2020-09-10 00:12:53 more
  • Centos 7下安裝nginx,使用yum install nginx,提示沒有可用的軟體包

    Centos 7下安裝nginx,使用yum install nginx,提示沒有可用的軟體包。 18 (flaskApi) [root@67 flaskDemo]# yum -y install nginx 19 已加載插件:fastestmirror, langpacks 20 Loading ......

    uj5u.com 2020-09-10 00:13:13 more
  • Linux查看服務器暴力破解ssh IP

    在公網的服務器上經常遇到別人爆破你服務器的22埠,用來挖礦或者干其他嘿嘿嘿的事情~ 這種情況下正確的做法是: 修改默認ssh的22埠 使用設定密鑰登錄或者白名單ip登錄 建議服務器密碼為復雜密碼 創建普通用戶登錄服務器(root權限過大) 建立堡壘機,實作統一管理服務器 統計爆破IP [root ......

    uj5u.com 2020-09-10 00:13:17 more
  • CentOS 7系統常見快捷鍵操作方式

    Linux系統中一些常見的快捷方式,可有效提高操作效率,在某些時刻也能避免操作失誤帶來的問題。 ......

    uj5u.com 2020-09-10 00:13:31 more
  • CentOS 7作業系統目錄結構介紹

    作業系統存在著大量的資料檔案資訊,相應檔案資訊會存在于系統相應目錄中,為了更好的管理資料資訊,會將系統進行一些目錄規劃,不同目錄存放不同的資源。 ......

    uj5u.com 2020-09-10 00:13:35 more
最新发布
  • vim的常用命令

    Vim的6種基本模式 1. 普通模式在普通模式中,用的編輯器命令,比如移動游標,洗掉文本等等。這也是Vim啟動后的默認模式。這正好和許多新用戶期待的操作方式相反(大多數編輯器默認模式為插入模式)。 2. 插入模式在這個模式中,大多數按鍵都會向文本緩沖中插入文本。大多數新用戶希望文本編輯器編輯程序中一 ......

    uj5u.com 2023-04-20 08:43:21 more
  • vim的常用命令

    Vim的6種基本模式 1. 普通模式在普通模式中,用的編輯器命令,比如移動游標,洗掉文本等等。這也是Vim啟動后的默認模式。這正好和許多新用戶期待的操作方式相反(大多數編輯器默認模式為插入模式)。 2. 插入模式在這個模式中,大多數按鍵都會向文本緩沖中插入文本。大多數新用戶希望文本編輯器編輯程序中一 ......

    uj5u.com 2023-04-20 08:42:36 more
  • docker學習

    ###Docker概述 真實專案部署環境可能非常復雜,傳統發布專案一個只需要一個jar包,運行環境需要單獨部署。而通過Docker可將jar包和相關環境(如jdk,redis,Hadoop...)等打包到docker鏡像里,將鏡像發布到Docker倉庫,部署時下載發布的鏡像,直接運行發布的鏡像即可。 ......

    uj5u.com 2023-04-19 09:26:53 more
  • 設定Windows主機的瀏覽器為wls2的默認瀏覽器

    這里以Chrome為例。 1. 準備作業 wsl是可以使用Windows主機上安裝的exe程式,出于安全考慮,默認情況下改功能是無法使用。要使用的話,終端需要以管理員權限啟動。 我這里以Windows Terminal為例,介紹如何默認使用管理員權限打開終端,具體操作如下圖所示: 2. 操作 wsl ......

    uj5u.com 2023-04-19 09:25:49 more
  • docker學習

    ###Docker概述 真實專案部署環境可能非常復雜,傳統發布專案一個只需要一個jar包,運行環境需要單獨部署。而通過Docker可將jar包和相關環境(如jdk,redis,Hadoop...)等打包到docker鏡像里,將鏡像發布到Docker倉庫,部署時下載發布的鏡像,直接運行發布的鏡像即可。 ......

    uj5u.com 2023-04-19 09:19:04 more
  • Linux學習筆記

    IP地址和主機名 IP地址 ifconfig可以用來查詢本機的IP地址,如果不能使用,可以通過install net-tools安裝。 Centos系統下ens33表示主網卡;inet后表示IP地址;lo表示本地回環網卡; 127.0.0.1表示代指本機;0.0.0.0可以用于代指本機,同時在放行設 ......

    uj5u.com 2023-04-18 06:52:01 more
  • 解決linux系統的kdump服務無法啟動的問題

    問題:專案麒麟系統服務器的kdump服務無法啟動,沒有相關日志無法定位問題。 1、查看服務狀態是關閉的,重啟系統也無法啟動 systemctl status kdump 2、修改grub引數,修改“crashkernel”為“512M(有的機器數值太大太小都會導致報錯,建議從128M開始試,或者加個 ......

    uj5u.com 2023-04-12 09:59:50 more
  • 解決linux系統的kdump服務無法啟動的問題

    問題:專案麒麟系統服務器的kdump服務無法啟動,沒有相關日志無法定位問題。 1、查看服務狀態是關閉的,重啟系統也無法啟動 systemctl status kdump 2、修改grub引數,修改“crashkernel”為“512M(有的機器數值太大太小都會導致報錯,建議從128M開始試,或者加個 ......

    uj5u.com 2023-04-12 09:59:01 more
  • 你是不是暴露了?

    作者:袁首京 原創文章,轉載時請保留此宣告,并給出原文連接。 如果您是計算機相關從業人員,那么應該經歷不止一次網路安全專項檢查了,你肯定是收到過資訊系統技術檢測報告,要求你加強風險監測,確保你提供的系統服務堅實可靠了。 沒檢測到問題還好,檢測到問題的話,有些處理起來還是挺麻煩的,尤其是線上正在運行的 ......

    uj5u.com 2023-04-05 16:52:56 more
  • 細節拉滿,80 張圖帶你一步一步推演 slab 記憶體池的設計與實作

    1. 前文回顧 在之前的幾篇記憶體管理系列文章中,筆者帶大家從宏觀角度完整地梳理了一遍 Linux 記憶體分配的整個鏈路,本文的主題依然是記憶體分配,這一次我們會從微觀的角度來探秘一下 Linux 內核中用于零散小記憶體塊分配的記憶體池 —— slab 分配器。 在本小節中,筆者還是按照以往的風格先帶大家簡單 ......

    uj5u.com 2023-04-05 16:44:11 more