running configure, to aid debugging if configure makes a mistake.
It was created by OpenSSH configure Portable, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam --with-kerberos5
## --------- ##
## Platform. ##
## --------- ##
hostname = xxx
uname -m = x86_64
uname -r = 2.6.32.21-grsec
uname -s = Linux
uname -v = #6 SMP Fri May 20 17:37:06 BST 2011
/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/kerberos/sbin
PATH: /usr/kerberos/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:2627: checking for gcc
configure:2643: found /usr/bin/gcc
configure:2654: result: gcc
configure:2883: checking for C compiler version
configure:2892: gcc --version >&5
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-50)
Copyright (C) 2006 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:2903: $? = 0
configure:2892: gcc -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --disable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)
configure:2903: $? = 0
configure:2892: gcc -V >&5
gcc: '-V' option must have argument
configure:2903: $? = 1
configure:2892: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:2903: $? = 1
configure:2923: checking whether the C compiler works
configure:2945: gcc conftest.c >&5
configure:2949: $? = 0
configure:2997: result: yes
configure:3000: checking for C compiler default output file name
configure:3002: result: a.out
configure:3008: checking for suffix of executables
configure:3015: gcc -o conftest conftest.c >&5
configure:3019: $? = 0
configure:3041: result:
configure:3063: checking whether we are cross compiling
configure:3071: gcc -o conftest conftest.c >&5
In file included from /usr/include/stdio.h:28,
from conftest.c:9:
/usr/include/features.h:329:25: error: sys/cdefs.h: No such file or directory
In file included from /usr/include/stdio.h:34,
from conftest.c:9:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h:214: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
In file included from conftest.c:9:
/usr/include/stdio.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
/usr/include/stdio.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__USING_NAMESPACE_STD'
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from conftest.c:9:
/usr/include/gconv.h:72: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:88: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:97: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:174: error: expected specifier-qualifier-list before 'size_t'
In file included from /usr/include/stdio.h:72,
from conftest.c:9:
/usr/include/libio.h:329: error: expected specifier-qualifier-list before 'size_t'
/usr/include/libio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:370: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h: In function '_IO_feof':
/usr/include/libio.h:453: error: expected declaration specifiers before '__THROW'
/usr/include/libio.h:454: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:456: error: storage class specified for parameter '_IO_peekc_locked'
/usr/include/libio.h:462: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:463: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:464: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/libio.h:482: error: storage class specified for parameter '_IO_vfscanf'
/usr/include/libio.h:484: error: storage class specified for parameter '_IO_vfprintf'
/usr/include/libio.h:485: error: storage class specified for parameter '_IO_padn'
/usr/include/libio.h:486: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
/usr/include/libio.h:488: error: storage class specified for parameter '_IO_seekoff'
/usr/include/libio.h:489: error: storage class specified for parameter '_IO_seekpos'
/usr/include/libio.h:491: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
4 个解决方案
#1
In file included from conftest.c:9:
/usr/include/stdio.h:86: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:92: error: expected declaration specifiers before '__END_NAMESPACE_STD'
In file included from conftest.c:9:
/usr/include/stdio.h:143: error: storage class specified for parameter 'stdout'
/usr/include/stdio.h:144: error: storage class specified for parameter 'stderr'
/usr/include/stdio.h:152: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:156: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:157: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:186: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:208: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:218: error: expected ')' before '*' token
/usr/include/stdio.h:219: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:242: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:254: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:269: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:300: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:307: error: expected ')' before '*' token
/usr/include/stdio.h:309: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:318: error: expected ')' before '*' token
/usr/include/stdio.h:322: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:333: error: storage class specified for parameter 'printf'
/usr/include/stdio.h:336: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:342: error: expected ')' before '*' token
/usr/include/stdio.h:348: error: storage class specified for parameter 'vprintf'
/usr/include/stdio.h:351: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:352: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:363: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:364: error: expected declaration specifiers before '__END_NAMESPACE_C99'
/usr/include/stdio.h:405: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:408: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:409: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:442: error: expected ')' before '*' token
/usr/include/stdio.h:448: error: storage class specified for parameter 'getchar'
/usr/include/stdio.h:449: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:461: error: storage class specified for parameter 'getchar_unlocked'
/usr/include/stdio.h:471: error: expected ')' before '*' token
/usr/include/stdio.h:475: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:484: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:484: error: storage class specified for parameter 'putc'
/usr/include/stdio.h:490: error: storage class specified for parameter 'putchar'
/usr/include/stdio.h:491: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:512: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:512: error: storage class specified for parameter 'putc_unlocked'
/usr/include/stdio.h:513: error: storage class specified for parameter 'putchar_unlocked'
/usr/include/stdio.h:520: error: expected ')' before '*' token
/usr/include/stdio.h:523: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:523: error: storage class specified for parameter 'putw'
/usr/include/stdio.h:527: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:540: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:541: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:596: error: storage class specified for parameter 'puts'
/usr/include/stdio.h:603: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:603: error: storage class specified for parameter 'ungetc'
/usr/include/stdio.h:610: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:616: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:618: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:640: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
/usr/include/stdio.h:645: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:655: error: expected ')' before '*' token
/usr/include/stdio.h:660: error: expected ')' before '*' token
/usr/include/stdio.h:661: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:679: error: expected ')' before '*' token
/usr/include/stdio.h:693: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:704: error: expected ')' before '*' token
/usr/include/stdio.h:716: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:729: error: expected ')' before '*' token
/usr/include/stdio.h:731: error: expected ')' before '*' token
/usr/include/stdio.h:732: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:737: error: expected ')' before '*' token
/usr/include/stdio.h:738: error: expected ')' before '*' token
/usr/include/stdio.h:742: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:748: error: expected declaration specifiers before '__END_NAMESPACE_STD'
In file included from /usr/include/stdio.h:754,
from conftest.c:9:
/usr/include/bits/sys_errlist.h:28: error: storage class specified for parameter 'sys_errlist'
In file included from conftest.c:9:
/usr/include/stdio.h:759: error: expected ')' before '*' token
/usr/include/stdio.h:764: error: expected ')' before '*' token
/usr/include/stdio.h:774: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:780: error: expected ')' before '*' token
/usr/include/stdio.h:786: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:814: error: expected ')' before '*' token
/usr/include/stdio.h:818: error: expected ')' before '*' token
/usr/include/stdio.h:821: error: expected ')' before '*' token
/usr/include/stdio.h:844: error: expected declaration specifiers before '__END_DECLS'
conftest.c:18: error: old-style parameter declarations in prototyped function definition
conftest.c:18: error: expected '{' at end of input
configure:3075: $? = 1
configure:3082: ./conftest
./configure: line 3084: ./conftest: No such file or directory
configure:3086: $? = 127
configure:3093: error: in `/var/tmp/openssh-5.9p1':
configure:3095: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_ac_ct_CC=gcc
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
AWK=''
CAT=''
CC='gcc'
CFLAGS=''
COMMENT_OUT_ECC=''
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENT=''
EXEEXT=''
GREP=''
GROFF=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
KILL=''
KRB5CONF=''
LD=''
LDFLAGS=''
LIBEDIT=''
LIBOBJS=''
LIBS=''
LOGIN_PROGRAM_FALLBACK=''
LTLIBOBJS=''
MAKE_PACKAGE_SUPPORTED=''
MANDOC=''
MANFMT=''
MANTYPE=''
NROFF=''
OBJEXT=''
PACKAGE_BUGREPORT='openssh-unix-dev@mindrot.org'
PACKAGE_NAME='OpenSSH'
PACKAGE_STRING='OpenSSH Portable'
PACKAGE_TARNAME='openssh'
PACKAGE_URL=''
PACKAGE_VERSION='Portable'
PATH_GROUPADD_PROG=''
PATH_PASSWD_PROG=''
PATH_SEPARATOR=':'
PATH_USERADD_PROG=''
PERL=''
PKGCONFIG=''
PRIVSEP_PATH=''
RANLIB=''
SED=''
SH=''
SHELL='/bin/sh'
SSHDLIBS=''
SSHLIBS=''
SSH_PRIVSEP_USER=''
STARTUP_SCRIPT_SHELL=''
STRIP_OPT=''
TEST_MINUS_S_SH=''
TEST_SHELL=''
TEST_SSH_ECC=''
TEST_SSH_IPV6=''
TEST_SSH_SHA256=''
XAUTH_PATH=''
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build=''
/usr/include/stdio.h:86: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:92: error: expected declaration specifiers before '__END_NAMESPACE_STD'
In file included from conftest.c:9:
/usr/include/stdio.h:143: error: storage class specified for parameter 'stdout'
/usr/include/stdio.h:144: error: storage class specified for parameter 'stderr'
/usr/include/stdio.h:152: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:156: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:157: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:186: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:208: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:218: error: expected ')' before '*' token
/usr/include/stdio.h:219: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:242: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:254: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:269: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:300: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:307: error: expected ')' before '*' token
/usr/include/stdio.h:309: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:318: error: expected ')' before '*' token
/usr/include/stdio.h:322: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:333: error: storage class specified for parameter 'printf'
/usr/include/stdio.h:336: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:342: error: expected ')' before '*' token
/usr/include/stdio.h:348: error: storage class specified for parameter 'vprintf'
/usr/include/stdio.h:351: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:352: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:363: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:364: error: expected declaration specifiers before '__END_NAMESPACE_C99'
/usr/include/stdio.h:405: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:408: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:409: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:442: error: expected ')' before '*' token
/usr/include/stdio.h:448: error: storage class specified for parameter 'getchar'
/usr/include/stdio.h:449: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:461: error: storage class specified for parameter 'getchar_unlocked'
/usr/include/stdio.h:471: error: expected ')' before '*' token
/usr/include/stdio.h:475: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:484: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:484: error: storage class specified for parameter 'putc'
/usr/include/stdio.h:490: error: storage class specified for parameter 'putchar'
/usr/include/stdio.h:491: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:512: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:512: error: storage class specified for parameter 'putc_unlocked'
/usr/include/stdio.h:513: error: storage class specified for parameter 'putchar_unlocked'
/usr/include/stdio.h:520: error: expected ')' before '*' token
/usr/include/stdio.h:523: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:523: error: storage class specified for parameter 'putw'
/usr/include/stdio.h:527: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:540: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:541: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:596: error: storage class specified for parameter 'puts'
/usr/include/stdio.h:603: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:603: error: storage class specified for parameter 'ungetc'
/usr/include/stdio.h:610: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:616: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:618: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:640: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
/usr/include/stdio.h:645: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:655: error: expected ')' before '*' token
/usr/include/stdio.h:660: error: expected ')' before '*' token
/usr/include/stdio.h:661: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:679: error: expected ')' before '*' token
/usr/include/stdio.h:693: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:704: error: expected ')' before '*' token
/usr/include/stdio.h:716: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:729: error: expected ')' before '*' token
/usr/include/stdio.h:731: error: expected ')' before '*' token
/usr/include/stdio.h:732: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:737: error: expected ')' before '*' token
/usr/include/stdio.h:738: error: expected ')' before '*' token
/usr/include/stdio.h:742: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:748: error: expected declaration specifiers before '__END_NAMESPACE_STD'
In file included from /usr/include/stdio.h:754,
from conftest.c:9:
/usr/include/bits/sys_errlist.h:28: error: storage class specified for parameter 'sys_errlist'
In file included from conftest.c:9:
/usr/include/stdio.h:759: error: expected ')' before '*' token
/usr/include/stdio.h:764: error: expected ')' before '*' token
/usr/include/stdio.h:774: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:780: error: expected ')' before '*' token
/usr/include/stdio.h:786: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:814: error: expected ')' before '*' token
/usr/include/stdio.h:818: error: expected ')' before '*' token
/usr/include/stdio.h:821: error: expected ')' before '*' token
/usr/include/stdio.h:844: error: expected declaration specifiers before '__END_DECLS'
conftest.c:18: error: old-style parameter declarations in prototyped function definition
conftest.c:18: error: expected '{' at end of input
configure:3075: $? = 1
configure:3082: ./conftest
./configure: line 3084: ./conftest: No such file or directory
configure:3086: $? = 127
configure:3093: error: in `/var/tmp/openssh-5.9p1':
configure:3095: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_ac_ct_CC=gcc
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
AWK=''
CAT=''
CC='gcc'
CFLAGS=''
COMMENT_OUT_ECC=''
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENT=''
EXEEXT=''
GREP=''
GROFF=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
KILL=''
KRB5CONF=''
LD=''
LDFLAGS=''
LIBEDIT=''
LIBOBJS=''
LIBS=''
LOGIN_PROGRAM_FALLBACK=''
LTLIBOBJS=''
MAKE_PACKAGE_SUPPORTED=''
MANDOC=''
MANFMT=''
MANTYPE=''
NROFF=''
OBJEXT=''
PACKAGE_BUGREPORT='openssh-unix-dev@mindrot.org'
PACKAGE_NAME='OpenSSH'
PACKAGE_STRING='OpenSSH Portable'
PACKAGE_TARNAME='openssh'
PACKAGE_URL=''
PACKAGE_VERSION='Portable'
PATH_GROUPADD_PROG=''
PATH_PASSWD_PROG=''
PATH_SEPARATOR=':'
PATH_USERADD_PROG=''
PERL=''
PKGCONFIG=''
PRIVSEP_PATH=''
RANLIB=''
SED=''
SH=''
SHELL='/bin/sh'
SSHDLIBS=''
SSHLIBS=''
SSH_PRIVSEP_USER=''
STARTUP_SCRIPT_SHELL=''
STRIP_OPT=''
TEST_MINUS_S_SH=''
TEST_SHELL=''
TEST_SSH_ECC=''
TEST_SSH_IPV6=''
TEST_SSH_SHA256=''
XAUTH_PATH=''
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build=''
#2
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mansubdir=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
piddir=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc/ssh'
target_alias=''
user_path=''
xauth_path=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "OpenSSH"
#define PACKAGE_TARNAME "openssh"
#define PACKAGE_VERSION "Portable"
#define PACKAGE_STRING "OpenSSH Portable"
#define PACKAGE_BUGREPORT "openssh-unix-dev@mindrot.org"
#define PACKAGE_URL ""
请问这是什么错误啊
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mansubdir=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
piddir=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc/ssh'
target_alias=''
user_path=''
xauth_path=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "OpenSSH"
#define PACKAGE_TARNAME "openssh"
#define PACKAGE_VERSION "Portable"
#define PACKAGE_STRING "OpenSSH Portable"
#define PACKAGE_BUGREPORT "openssh-unix-dev@mindrot.org"
#define PACKAGE_URL ""
请问这是什么错误啊
#3
I wonder if it's because you have an out of date gcc?
#4
感觉文件依赖的问题吧
#1
In file included from conftest.c:9:
/usr/include/stdio.h:86: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:92: error: expected declaration specifiers before '__END_NAMESPACE_STD'
In file included from conftest.c:9:
/usr/include/stdio.h:143: error: storage class specified for parameter 'stdout'
/usr/include/stdio.h:144: error: storage class specified for parameter 'stderr'
/usr/include/stdio.h:152: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:156: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:157: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:186: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:208: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:218: error: expected ')' before '*' token
/usr/include/stdio.h:219: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:242: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:254: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:269: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:300: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:307: error: expected ')' before '*' token
/usr/include/stdio.h:309: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:318: error: expected ')' before '*' token
/usr/include/stdio.h:322: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:333: error: storage class specified for parameter 'printf'
/usr/include/stdio.h:336: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:342: error: expected ')' before '*' token
/usr/include/stdio.h:348: error: storage class specified for parameter 'vprintf'
/usr/include/stdio.h:351: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:352: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:363: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:364: error: expected declaration specifiers before '__END_NAMESPACE_C99'
/usr/include/stdio.h:405: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:408: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:409: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:442: error: expected ')' before '*' token
/usr/include/stdio.h:448: error: storage class specified for parameter 'getchar'
/usr/include/stdio.h:449: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:461: error: storage class specified for parameter 'getchar_unlocked'
/usr/include/stdio.h:471: error: expected ')' before '*' token
/usr/include/stdio.h:475: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:484: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:484: error: storage class specified for parameter 'putc'
/usr/include/stdio.h:490: error: storage class specified for parameter 'putchar'
/usr/include/stdio.h:491: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:512: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:512: error: storage class specified for parameter 'putc_unlocked'
/usr/include/stdio.h:513: error: storage class specified for parameter 'putchar_unlocked'
/usr/include/stdio.h:520: error: expected ')' before '*' token
/usr/include/stdio.h:523: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:523: error: storage class specified for parameter 'putw'
/usr/include/stdio.h:527: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:540: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:541: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:596: error: storage class specified for parameter 'puts'
/usr/include/stdio.h:603: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:603: error: storage class specified for parameter 'ungetc'
/usr/include/stdio.h:610: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:616: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:618: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:640: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
/usr/include/stdio.h:645: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:655: error: expected ')' before '*' token
/usr/include/stdio.h:660: error: expected ')' before '*' token
/usr/include/stdio.h:661: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:679: error: expected ')' before '*' token
/usr/include/stdio.h:693: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:704: error: expected ')' before '*' token
/usr/include/stdio.h:716: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:729: error: expected ')' before '*' token
/usr/include/stdio.h:731: error: expected ')' before '*' token
/usr/include/stdio.h:732: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:737: error: expected ')' before '*' token
/usr/include/stdio.h:738: error: expected ')' before '*' token
/usr/include/stdio.h:742: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:748: error: expected declaration specifiers before '__END_NAMESPACE_STD'
In file included from /usr/include/stdio.h:754,
from conftest.c:9:
/usr/include/bits/sys_errlist.h:28: error: storage class specified for parameter 'sys_errlist'
In file included from conftest.c:9:
/usr/include/stdio.h:759: error: expected ')' before '*' token
/usr/include/stdio.h:764: error: expected ')' before '*' token
/usr/include/stdio.h:774: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:780: error: expected ')' before '*' token
/usr/include/stdio.h:786: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:814: error: expected ')' before '*' token
/usr/include/stdio.h:818: error: expected ')' before '*' token
/usr/include/stdio.h:821: error: expected ')' before '*' token
/usr/include/stdio.h:844: error: expected declaration specifiers before '__END_DECLS'
conftest.c:18: error: old-style parameter declarations in prototyped function definition
conftest.c:18: error: expected '{' at end of input
configure:3075: $? = 1
configure:3082: ./conftest
./configure: line 3084: ./conftest: No such file or directory
configure:3086: $? = 127
configure:3093: error: in `/var/tmp/openssh-5.9p1':
configure:3095: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_ac_ct_CC=gcc
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
AWK=''
CAT=''
CC='gcc'
CFLAGS=''
COMMENT_OUT_ECC=''
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENT=''
EXEEXT=''
GREP=''
GROFF=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
KILL=''
KRB5CONF=''
LD=''
LDFLAGS=''
LIBEDIT=''
LIBOBJS=''
LIBS=''
LOGIN_PROGRAM_FALLBACK=''
LTLIBOBJS=''
MAKE_PACKAGE_SUPPORTED=''
MANDOC=''
MANFMT=''
MANTYPE=''
NROFF=''
OBJEXT=''
PACKAGE_BUGREPORT='openssh-unix-dev@mindrot.org'
PACKAGE_NAME='OpenSSH'
PACKAGE_STRING='OpenSSH Portable'
PACKAGE_TARNAME='openssh'
PACKAGE_URL=''
PACKAGE_VERSION='Portable'
PATH_GROUPADD_PROG=''
PATH_PASSWD_PROG=''
PATH_SEPARATOR=':'
PATH_USERADD_PROG=''
PERL=''
PKGCONFIG=''
PRIVSEP_PATH=''
RANLIB=''
SED=''
SH=''
SHELL='/bin/sh'
SSHDLIBS=''
SSHLIBS=''
SSH_PRIVSEP_USER=''
STARTUP_SCRIPT_SHELL=''
STRIP_OPT=''
TEST_MINUS_S_SH=''
TEST_SHELL=''
TEST_SSH_ECC=''
TEST_SSH_IPV6=''
TEST_SSH_SHA256=''
XAUTH_PATH=''
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build=''
/usr/include/stdio.h:86: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:92: error: expected declaration specifiers before '__END_NAMESPACE_STD'
In file included from conftest.c:9:
/usr/include/stdio.h:143: error: storage class specified for parameter 'stdout'
/usr/include/stdio.h:144: error: storage class specified for parameter 'stderr'
/usr/include/stdio.h:152: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:156: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:157: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:185: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:186: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:208: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:218: error: expected ')' before '*' token
/usr/include/stdio.h:219: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:242: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:254: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:269: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:300: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:307: error: expected ')' before '*' token
/usr/include/stdio.h:309: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:318: error: expected ')' before '*' token
/usr/include/stdio.h:322: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:333: error: storage class specified for parameter 'printf'
/usr/include/stdio.h:336: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:342: error: expected ')' before '*' token
/usr/include/stdio.h:348: error: storage class specified for parameter 'vprintf'
/usr/include/stdio.h:351: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:352: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:363: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:364: error: expected declaration specifiers before '__END_NAMESPACE_C99'
/usr/include/stdio.h:405: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:408: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:409: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:442: error: expected ')' before '*' token
/usr/include/stdio.h:448: error: storage class specified for parameter 'getchar'
/usr/include/stdio.h:449: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:461: error: storage class specified for parameter 'getchar_unlocked'
/usr/include/stdio.h:471: error: expected ')' before '*' token
/usr/include/stdio.h:475: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:484: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:484: error: storage class specified for parameter 'putc'
/usr/include/stdio.h:490: error: storage class specified for parameter 'putchar'
/usr/include/stdio.h:491: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:512: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:512: error: storage class specified for parameter 'putc_unlocked'
/usr/include/stdio.h:513: error: storage class specified for parameter 'putchar_unlocked'
/usr/include/stdio.h:520: error: expected ')' before '*' token
/usr/include/stdio.h:523: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:523: error: storage class specified for parameter 'putw'
/usr/include/stdio.h:527: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:540: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wur'
/usr/include/stdio.h:541: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:596: error: storage class specified for parameter 'puts'
/usr/include/stdio.h:603: error: expected declaration specifiers or '...' before 'FILE'
/usr/include/stdio.h:603: error: storage class specified for parameter 'ungetc'
/usr/include/stdio.h:610: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:616: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:618: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:640: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
/usr/include/stdio.h:645: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:655: error: expected ')' before '*' token
/usr/include/stdio.h:660: error: expected ')' before '*' token
/usr/include/stdio.h:661: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:679: error: expected ')' before '*' token
/usr/include/stdio.h:693: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:704: error: expected ')' before '*' token
/usr/include/stdio.h:716: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:729: error: expected ')' before '*' token
/usr/include/stdio.h:731: error: expected ')' before '*' token
/usr/include/stdio.h:732: error: expected declaration specifiers before '__END_NAMESPACE_STD'
/usr/include/stdio.h:737: error: expected ')' before '*' token
/usr/include/stdio.h:738: error: expected ')' before '*' token
/usr/include/stdio.h:742: error: expected declaration specifiers before '__BEGIN_NAMESPACE_STD'
/usr/include/stdio.h:748: error: expected declaration specifiers before '__END_NAMESPACE_STD'
In file included from /usr/include/stdio.h:754,
from conftest.c:9:
/usr/include/bits/sys_errlist.h:28: error: storage class specified for parameter 'sys_errlist'
In file included from conftest.c:9:
/usr/include/stdio.h:759: error: expected ')' before '*' token
/usr/include/stdio.h:764: error: expected ')' before '*' token
/usr/include/stdio.h:774: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/stdio.h:780: error: expected ')' before '*' token
/usr/include/stdio.h:786: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/stdio.h:814: error: expected ')' before '*' token
/usr/include/stdio.h:818: error: expected ')' before '*' token
/usr/include/stdio.h:821: error: expected ')' before '*' token
/usr/include/stdio.h:844: error: expected declaration specifiers before '__END_DECLS'
conftest.c:18: error: old-style parameter declarations in prototyped function definition
conftest.c:18: error: expected '{' at end of input
configure:3075: $? = 1
configure:3082: ./conftest
./configure: line 3084: ./conftest: No such file or directory
configure:3086: $? = 127
configure:3093: error: in `/var/tmp/openssh-5.9p1':
configure:3095: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_ac_ct_CC=gcc
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR=''
AWK=''
CAT=''
CC='gcc'
CFLAGS=''
COMMENT_OUT_ECC=''
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENT=''
EXEEXT=''
GREP=''
GROFF=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
KILL=''
KRB5CONF=''
LD=''
LDFLAGS=''
LIBEDIT=''
LIBOBJS=''
LIBS=''
LOGIN_PROGRAM_FALLBACK=''
LTLIBOBJS=''
MAKE_PACKAGE_SUPPORTED=''
MANDOC=''
MANFMT=''
MANTYPE=''
NROFF=''
OBJEXT=''
PACKAGE_BUGREPORT='openssh-unix-dev@mindrot.org'
PACKAGE_NAME='OpenSSH'
PACKAGE_STRING='OpenSSH Portable'
PACKAGE_TARNAME='openssh'
PACKAGE_URL=''
PACKAGE_VERSION='Portable'
PATH_GROUPADD_PROG=''
PATH_PASSWD_PROG=''
PATH_SEPARATOR=':'
PATH_USERADD_PROG=''
PERL=''
PKGCONFIG=''
PRIVSEP_PATH=''
RANLIB=''
SED=''
SH=''
SHELL='/bin/sh'
SSHDLIBS=''
SSHLIBS=''
SSH_PRIVSEP_USER=''
STARTUP_SCRIPT_SHELL=''
STRIP_OPT=''
TEST_MINUS_S_SH=''
TEST_SHELL=''
TEST_SSH_ECC=''
TEST_SSH_IPV6=''
TEST_SSH_SHA256=''
XAUTH_PATH=''
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build=''
#2
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mansubdir=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
piddir=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc/ssh'
target_alias=''
user_path=''
xauth_path=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "OpenSSH"
#define PACKAGE_TARNAME "openssh"
#define PACKAGE_VERSION "Portable"
#define PACKAGE_STRING "OpenSSH Portable"
#define PACKAGE_BUGREPORT "openssh-unix-dev@mindrot.org"
#define PACKAGE_URL ""
请问这是什么错误啊
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mansubdir=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
piddir=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc/ssh'
target_alias=''
user_path=''
xauth_path=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "OpenSSH"
#define PACKAGE_TARNAME "openssh"
#define PACKAGE_VERSION "Portable"
#define PACKAGE_STRING "OpenSSH Portable"
#define PACKAGE_BUGREPORT "openssh-unix-dev@mindrot.org"
#define PACKAGE_URL ""
请问这是什么错误啊
#3
I wonder if it's because you have an out of date gcc?
#4
感觉文件依赖的问题吧