先上图,二楼上config日志

解决方案 »

  1.   

    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          = unknownPATH: /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
      

  2.   

    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
      

  3.   

    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
      

  4.   

    缺少依赖库 libcrypto
      

  5.   

    没有 openssl 开发包