当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : C compiler cannot create executables
帖子发表于 : 2007-09-28 11:08 

注册: 2007-09-12 15:00
帖子: 17
送出感谢: 0 次
接收感谢: 0 次
用7.04 i386DVD装的系统。
然后装了个ATI驱动。想用wine模拟游戏的时候出了问题。

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

It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure

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

hostname = sun-desktop
uname -m = i686
uname -r = 2.6.20-15-generic
uname -s = Linux
uname -v = #2 SMP Sun Apr 15 07:36:31 UTC 2007

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

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

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


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

configure:1345: checking build system type
configure:1363: result: i686-pc-linux-gnulibc1
configure:1371: checking host system type
configure:1385: result: i686-pc-linux-gnulibc1
configure:1393: checking target system type
configure:1407: result: i686-pc-linux-gnulibc1
configure:1537: checking for gcc
configure:1553: found /usr/bin/gcc
configure:1563: result: gcc
configure:1807: checking for C compiler version
configure:1810: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
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:1813: $? = 0
configure:1815: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
configure:1818: $? = 0
configure:1820: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:1823: $? = 1
configure:1846: checking for C compiler default output file name
configure:1849: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:1852: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:1891: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnulibc1
ac_cv_build_alias=i686-pc-linux-gnulibc1
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_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_host=i686-pc-linux-gnulibc1
ac_cv_host_alias=i686-pc-linux-gnulibc1
ac_cv_prog_ac_ct_CC=gcc
ac_cv_target=i686-pc-linux-gnulibc1
ac_cv_target_alias=i686-pc-linux-gnulibc1

## ----------------- ##
## Output variables. ##
## ----------------- ##

CC='gcc'
CFLAGS=''
CPP=''
CPPFLAGS=''
DEFS=''
DYEXT=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
SHELL='/bin/bash'
SHLICC2=''
SSRC=''
V_CCOPT='-O'
V_DEFS=''
V_FINDALLDEVS=''
V_INCLS=''
V_LEX=''
V_LIBS=''
V_PCAP=''
V_RANLIB=''
V_YACC=''
ac_ct_CC='gcc'
ac_ct_RANLIB=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnulibc1'
build_alias=''
build_cpu='i686'
build_os='linux-gnulibc1'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnulibc1'
host_alias=''
host_cpu='i686'
host_os='linux-gnulibc1'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnulibc1'
target_alias=''
target_cpu='i686'
target_os='linux-gnulibc1'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""

configure: exit 77


查了一下问题 网络上的解决方法是
引用:
4、错误: C compiler cannot create executables
原因:
解决:sudo apt-get gcc libc6-dev


由于linux下还没网络,就win下把libc6的包全部下载了安装。包括
引用:
glibc-doc_2.5-0ubuntu14_all.deb 3.26 MB
libc6-amd64_2.5-0ubuntu14_i386.deb 3.71 MB
libc6-dbg_2.5-0ubuntu14_i386.deb 5.34 MB
libc6-dev-amd64_2.5-0ubuntu14_i386.deb 2.01 MB
libc6-dev-i386_2.5-0ubuntu14_amd64.deb 1.80 MB
libc6-dev_2.3.6-0ubuntu20.5_i386.deb 2.69 MB
libc6-dev_2.5-0ubuntu14_i386.deb 2.88 MB
libc6-i386_2.5-0ubuntu14_amd64.deb 3.45 MB
libc6-i686_2.5-0ubuntu14_i386.deb 1.13 MB
libc6-pic_2.5-0ubuntu14_i386.deb 1.05 MB
libc6-prof_2.5-0ubuntu14_i386.deb 1.30 MB
libc6_2.5-0ubuntu14_i386.deb 3.91 MB


但是问题依然没有解决 :shock: :evil:

现在出现
引用:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure

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

hostname = sun-desktop
uname -m = i686
uname -r = 2.6.20-15-generic
uname -s = Linux
uname -v = #2 SMP Sun Apr 15 07:36:31 UTC 2007

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

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

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/X11R6/bin


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

configure:1345: checking build system type
configure:1363: result: i686-pc-linux-gnu
configure:1371: checking host system type
configure:1385: result: i686-pc-linux-gnu
configure:1393: checking target system type
configure:1407: result: i686-pc-linux-gnu
configure:1537: checking for gcc
configure:1553: found /usr/bin/gcc
configure:1563: result: gcc
configure:1807: checking for C compiler version
configure:1810: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
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:1813: $? = 0
configure:1815: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
configure:1818: $? = 0
configure:1820: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:1823: $? = 1
configure:1846: checking for C compiler default output file name
configure:1849: gcc conftest.c >&5
configure:1852: $? = 0
configure:1898: result: a.out
configure:1903: checking whether the C compiler works
configure:1909: ./a.out
configure:1912: $? = 0
configure:1929: result: yes
configure:1936: checking whether we are cross compiling
configure:1938: result: no
configure:1941: checking for suffix of executables
configure:1943: gcc -o conftest conftest.c >&5
configure:1946: $? = 0
configure:1971: result:
configure:1977: checking for suffix of object files
configure:1998: gcc -c conftest.c >&5
configure:2001: $? = 0
configure:2023: result: o
configure:2027: checking whether we are using the GNU C compiler
configure:2051: gcc -c conftest.c >&5
configure:2057: $? = 0
configure:2061: test -z
|| test ! -s conftest.err
configure:2064: $? = 0
configure:2067: test -s conftest.o
configure:2070: $? = 0
configure:2083: result: yes
configure:2089: checking whether gcc accepts -g
configure:2110: gcc -c -g conftest.c >&5
configure:2116: $? = 0
configure:2120: test -z
|| test ! -s conftest.err
configure:2123: $? = 0
configure:2126: test -s conftest.o
configure:2129: $? = 0
configure:2140: result: yes
configure:2157: checking for gcc option to accept ANSI C
configure:2227: gcc -c -g -O2 conftest.c >&5
configure:2233: $? = 0
configure:2237: test -z
|| test ! -s conftest.err
configure:2240: $? = 0
configure:2243: test -s conftest.o
configure:2246: $? = 0
configure:2264: result: none needed
configure:2282: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:2288: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2426: checking gcc version
configure:2438: result: 4
configure:2660: checking for inline
configure:2701: gcc -c -O2 conftest.c >&5
configure:2707: $? = 0
configure:2711: test -z
|| test ! -s conftest.err
configure:2714: $? = 0
configure:2717: test -s conftest.o
configure:2720: $? = 0
configure:2740: result: inline
configure:2752: checking for __attribute__
configure:2783: gcc -c -g -O2 conftest.c >&5
configure:2789: $? = 0
configure:2793: test -z
|| test ! -s conftest.err
configure:2796: $? = 0
configure:2799: test -s conftest.o
configure:2802: $? = 0
configure:2824: result: yes
configure:2828: checking for u_int8_t using gcc
configure:2855: gcc -c -g -O2 conftest.c >&5
configure:2861: $? = 0
configure:2865: test -z
|| test ! -s conftest.err
configure:2868: $? = 0
configure:2871: test -s conftest.o
configure:2874: $? = 0
configure:2886: result: yes
configure:2895: checking for u_int16_t using gcc
configure:2922: gcc -c -g -O2 conftest.c >&5
configure:2928: $? = 0
configure:2932: test -z
|| test ! -s conftest.err
configure:2935: $? = 0
configure:2938: test -s conftest.o
configure:2941: $? = 0
configure:2953: result: yes
configure:2962: checking for u_int32_t using gcc
configure:2989: gcc -c -g -O2 conftest.c >&5
configure:2995: $? = 0
configure:2999: test -z
|| test ! -s conftest.err
configure:3002: $? = 0
configure:3005: test -s conftest.o
configure:3008: $? = 0
configure:3020: result: yes
configure:3035: checking how to run the C preprocessor
configure:3070: gcc -E conftest.c
configure:3076: $? = 0
configure:3108: gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:3114: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define inline inline
| #define HAVE___ATTRIBUTE__ 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3153: result: gcc -E
configure:3177: gcc -E conftest.c
configure:3183: $? = 0
configure:3215: gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:3221: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define inline inline
| #define HAVE___ATTRIBUTE__ 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3265: checking for egrep
configure:3275: result: grep -E
configure:3280: checking for ANSI C header files
configure:3305: gcc -c -g -O2 conftest.c >&5
configure:3311: $? = 0
configure:3315: test -z
|| test ! -s conftest.err
configure:3318: $? = 0
configure:3321: test -s conftest.o
configure:3324: $? = 0
configure:3413: gcc -o conftest -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:28: warning: incompatible implicit declaration of built-in function 'exit'
configure:3416: $? = 0
configure:3418: ./conftest
configure:3421: $? = 0
configure:3436: result: yes
configure:3460: checking for sys/types.h
configure:3476: gcc -c -g -O2 conftest.c >&5
configure:3482: $? = 0
configure:3486: test -z
|| test ! -s conftest.err
configure:3489: $? = 0
configure:3492: test -s conftest.o
configure:3495: $? = 0
configure:3506: result: yes
configure:3460: checking for sys/stat.h
configure:3476: gcc -c -g -O2 conftest.c >&5
configure:3482: $? = 0
configure:3486: test -z
|| test ! -s conftest.err
configure:3489: $? = 0
configure:3492: test -s conftest.o
configure:3495: $? = 0
configure:3506: result: yes
configure:3460: checking for stdlib.h
configure:3476: gcc -c -g -O2 conftest.c >&5
configure:3482: $? = 0
configure:3486: test -z
|| test ! -s conftest.err
configure:3489: $? = 0
configure:3492: test -s conftest.o
configure:3495: $? = 0
configure:3506: result: yes
configure:3460: checking for string.h
configure:3476: gcc -c -g -O2 conftest.c >&5
configure:3482: $? = 0
configure:3486: test -z
|| test ! -s conftest.err
configure:3489: $? = 0
configure:3492: test -s conftest.o
configure:3495: $? = 0
configure:3506: result: yes
configure:3460: checking for memory.h
configure:3476: gcc -c -g -O2 conftest.c >&5
configure:3482: $? = 0
configure:3486: test -z
|| test ! -s conftest.err
configure:3489: $? = 0
configure:3492: test -s conftest.o
configure:3495: $? = 0
configure:3506: result: yes
configure:3460: checking for strings.h
configure:3476: gcc -c -g -O2 conftest.c >&5
configure:3482: $? = 0
configure:3486: test -z
|| test ! -s conftest.err
configure:3489: $? = 0
configure:3492: test -s conftest.o
configure:3495: $? = 0
configure:3506: result: yes
configure:3460: checking for inttypes.h
configure:3476: gcc -c -g -O2 conftest.c >&5
configure:3482: $? = 0
configure:3486: test -z
|| test ! -s conftest.err
configure:3489: $? = 0
configure:3492: test -s conftest.o
configure:3495: $? = 0
configure:3506: result: yes
configure:3460: checking for stdint.h
configure:3476: gcc -c -g -O2 conftest.c >&5
configure:3482: $? = 0
configure:3486: test -z
|| test ! -s conftest.err
configure:3489: $? = 0
configure:3492: test -s conftest.o
configure:3495: $? = 0
configure:3506: result: yes
configure:3460: checking for unistd.h
configure:3476: gcc -c -g -O2 conftest.c >&5
configure:3482: $? = 0
configure:3486: test -z
|| test ! -s conftest.err
configure:3489: $? = 0
configure:3492: test -s conftest.o
configure:3495: $? = 0
configure:3506: result: yes
configure:3534: checking sys/ioccom.h usability
configure:3546: gcc -c -g -O2 conftest.c >&5
conftest.c:55:24: error: sys/ioccom.h: No such file or directory
configure:3552: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define inline inline
| #define HAVE___ATTRIBUTE__ 1
| #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 <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/ioccom.h>
configure:3575: result: no
configure:3579: checking sys/ioccom.h presence
configure:3589: gcc -E conftest.c
conftest.c:21:24: error: sys/ioccom.h: No such file or directory
configure:3595: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define inline inline
| #define HAVE___ATTRIBUTE__ 1
| #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/ioccom.h>
configure:3615: result: no
configure:3650: checking for sys/ioccom.h
configure:3657: result: no
configure:3534: checking sys/sockio.h usability
configure:3546: gcc -c -g -O2 conftest.c >&5
conftest.c:55:24: error: sys/sockio.h: No such file or directory
configure:3552: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define inline inline
| #define HAVE___ATTRIBUTE__ 1
| #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 <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/sockio.h>
configure:3575: result: no
configure:3579: checking sys/sockio.h presence
configure:3589: gcc -E conftest.c
conftest.c:21:24: error: sys/sockio.h: No such file or directory
configure:3595: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define inline inline
| #define HAVE___ATTRIBUTE__ 1
| #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/sockio.h>
configure:3615: result: no
configure:3650: checking for sys/sockio.h
configure:3657: result: no
configure:3534: checking limits.h usability
configure:3546: gcc -c -g -O2 conftest.c >&5
configure:3552: $? = 0
configure:3556: test -z
|| test ! -s conftest.err
configure:3559: $? = 0
configure:3562: test -s conftest.o
configure:3565: $? = 0
configure:3575: result: yes
configure:3579: checking limits.h presence
configure:3589: gcc -E conftest.c
configure:3595: $? = 0
configure:3615: result: yes
configure:3650: checking for limits.h
configure:3657: result: yes
configure:3674: checking for netinet/if_ether.h
configure:3691: gcc -c -g -O2 conftest.c >&5
configure:3697: $? = 0
configure:3701: test -z
|| test ! -s conftest.err
configure:3704: $? = 0
configure:3707: test -s conftest.o
configure:3710: $? = 0
configure:3721: result: yes
configure:3812: checking for ANSI ioctl definitions
configure:3845: gcc -c -g -O2 conftest.c >&5
configure:3851: $? = 0
configure:3855: test -z
|| test ! -s conftest.err
configure:3858: $? = 0
configure:3861: test -s conftest.o
configure:3864: $? = 0
configure:3876: result: yes
configure:3892: checking for strerror
configure:3949: gcc -o conftest -g -O2 conftest.c >&5
configure:3955: $? = 0
configure:3959: test -z
|| test ! -s conftest.err
configure:3962: $? = 0
configure:3965: test -s conftest
configure:3968: $? = 0
configure:3980: result: yes
configure:3892: checking for strlcpy
configure:3949: gcc -o conftest -g -O2 conftest.c >&5
/tmp/cc4NUBGc.o: In function `main':
/home/sun/tools/DigitalChinaSupplicant/scut_supplicant-linux0.4.3/libpcap-0.9.5/conftest.c:63: undefined reference to `strlcpy'
/tmp/cc4NUBGc.o:(.data+0x0): undefined reference to `strlcpy'
collect2: ld returned 1 exit status
configure:3955: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define inline inline
| #define HAVE___ATTRIBUTE__ 1
| #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 HAVE_LIMITS_H 1
| #define HAVE_NETINET_IF_ETHER_H 1
| #define HAVE_STRERROR 1
| /* end confdefs.h. */
| /* Define strlcpy to an innocuous variant, in case <limits.h> declares strlcpy.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define strlcpy innocuous_strlcpy
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char strlcpy (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef strlcpy
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char strlcpy ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_strlcpy) || defined (__stub___strlcpy)
| choke me
| #else
| char (*f) () = strlcpy;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != strlcpy;
| ;
| return 0;
| }
configure:3980: result: no
configure:3997: checking for vsnprintf
configure:4054: gcc -o conftest -g -O2 conftest.c >&5
conftest.c:48: warning: conflicting types for built-in function 'vsnprintf'
configure:4060: $? = 0
configure:4064: test -z
|| test ! -s conftest.err
configure:4067: $? = 0
configure:4070: test -s conftest
configure:4073: $? = 0
configure:4085: result: yes
configure:3997: checking for snprintf
configure:4054: gcc -o conftest -g -O2 conftest.c >&5
conftest.c:49: warning: conflicting types for built-in function 'snprintf'
configure:4060: $? = 0
configure:4064: test -z
|| test ! -s conftest.err
configure:4067: $? = 0
configure:4070: test -s conftest
configure:4073: $? = 0
configure:4085: result: yes
configure:4117: checking for library containing gethostbyname
configure:4147: gcc -o conftest -g -O2 conftest.c >&5
configure:4153: $? = 0
configure:4157: test -z
|| test ! -s conftest.err
configure:4160: $? = 0
configure:4163: test -s conftest
configure:4166: $? = 0
configure:4236: result: none required
configure:4316: checking for library containing socket
configure:4346: gcc -o conftest -g -O2 conftest.c >&5
configure:4352: $? = 0
configure:4356: test -z
|| test ! -s conftest.err
configure:4359: $? = 0
configure:4362: test -s conftest
configure:4365: $? = 0
configure:4435: result: none required
configure:4512: checking for library containing putmsg
configure:4542: gcc -o conftest -g -O2 conftest.c >&5
configure:4548: $? = 0
configure:4552: test -z
|| test ! -s conftest.err
configure:4555: $? = 0
configure:4558: test -s conftest
configure:4561: $? = 0
configure:4631: result: none required
configure:4655: checking for ether_hostton
configure:4712: gcc -o conftest -g -O2 conftest.c >&5
configure:4718: $? = 0
configure:4722: test -z
|| test ! -s conftest.err
configure:4725: $? = 0
configure:4728: test -s conftest
configure:4731: $? = 0
configure:4743: result: yes
configure:4761: checking whether ether_hostton is declared
configure:4795: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:42: error: 'ether_hostton' undeclared (first use in this function)
conftest.c:42: error: (Each undeclared identifier is reported only once
conftest.c:42: error: for each function it appears in.)
configure:4801: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define inline inline
| #define HAVE___ATTRIBUTE__ 1
| #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 HAVE_LIMITS_H 1
| #define HAVE_NETINET_IF_ETHER_H 1
| #define HAVE_STRERROR 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_ETHER_HOSTTON 1
| /* end confdefs.h. */
|
| #include <sys/types.h>
| #include <sys/socket.h>
| #include <netinet/in.h>
| #include <arpa/inet.h>
| struct mbuf;
| struct rtentry;
| #include <net/if.h>
| #include <netinet/if_ether.h>
|
|
| int
| main ()
| {
| #ifndef ether_hostton
| char *p = (char *) ether_hostton;
| #endif
|
| ;
| return 0;
| }
configure:4825: result: no
configure:4859: checking netinet/ether.h usability
configure:4871: gcc -c -g -O2 conftest.c >&5
configure:4877: $? = 0
configure:4881: test -z
|| test ! -s conftest.err
configure:4884: $? = 0
configure:4887: test -s conftest.o
configure:4890: $? = 0
configure:4900: result: yes
configure:4904: checking netinet/ether.h presence
configure:4914: gcc -E conftest.c
configure:4920: $? = 0
configure:4940: result: yes
configure:4975: checking for netinet/ether.h
configure:4982: result: yes
configure:5003: checking whether ether_hostton is declared
configure:5030: gcc -c -g -O2 conftest.c >&5
configure:5036: $? = 0
configure:5040: test -z
|| test ! -s conftest.err
configure:5043: $? = 0
configure:5046: test -s conftest.o
configure:5049: $? = 0
configure:5060: result: yes
configure:5171: checking if --disable-protochain option is specified
configure:5191: result: enabled
configure:5205: checking packet capture type
configure:5241: result: linux
configure:5252: checking for getifaddrs
configure:5309: gcc -o conftest -g -O2 conftest.c >&5
configure:5315: $? = 0
configure:5319: test -z
|| test ! -s conftest.err
configure:5322: $? = 0
configure:5325: test -s conftest
configure:5328: $? = 0
configure:5340: result: yes
configure:5358: checking ifaddrs.h usability
configure:5370: gcc -c -g -O2 conftest.c >&5
configure:5376: $? = 0
configure:5380: test -z
|| test ! -s conftest.err
configure:5383: $? = 0
configure:5386: test -s conftest.o
configure:5389: $? = 0
configure:5399: result: yes
configure:5403: checking ifaddrs.h presence
configure:5413: gcc -E conftest.c
configure:5419: $? = 0
configure:5439: result: yes
configure:5474: checking for ifaddrs.h
configure:5481: result: yes
configure:5609: checking if --enable-ipv6 option is specified
configure:5623: result: no
configure:5626: checking whether to build optimizer debugging code
configure:5640: result: no
configure:5643: checking whether to build parser debugging code
configure:5657: result: no
configure:5846: checking Linux kernel version
configure:5864: result: 2
configure:5876: checking if if_packet.h has tpacket_stats defined
configure:5898: gcc -c -g -O2 conftest.c >&5
configure:5904: $? = 0
configure:5908: test -z
|| test ! -s conftest.err
configure:5911: $? = 0
configure:5914: test -s conftest.o
configure:5917: $? = 0
configure:5929: result: yes
configure:5957: checking whether we have /proc/net/dev
configure:5971: result: yes
configure:6052: checking whether we have DAG API headers
configure:6075: result: no (/usr/local/include)
configure:6415: checking whether we have Septel API
configure:6440: result: no
configure:6483: checking for flex
configure:6512: result: no
configure:6551: checking for bison
configure:6580: result: no
configure:6605: checking for capable lex
configure:6616: result: insufficient
configure:6622: error: Your operating system's lex is insufficient to compile
libpcap. flex is a lex replacement that has many advantages, including
being able to compile libpcap. For more information, see
http://www.gnu.org/software/flex/flex.html .

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv___attribute__=yes
ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
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_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_exeext=
ac_cv_func_ether_hostton=yes
ac_cv_func_getifaddrs=yes
ac_cv_func_snprintf=yes
ac_cv_func_strerror=yes
ac_cv_func_strlcpy=no
ac_cv_func_vsnprintf=yes
ac_cv_have_decl_ether_hostton=yes
ac_cv_header_ifaddrs_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_netinet_ether_h=yes
ac_cv_header_netinet_if_ether_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_ioccom_h=no
ac_cv_header_sys_sockio_h=no
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_lbl_dag_api=no
ac_cv_lbl_gcc_fixincludes=yes
ac_cv_lbl_gcc_vers=4
ac_cv_lbl_have_u_int16_t=yes
ac_cv_lbl_have_u_int32_t=yes
ac_cv_lbl_have_u_int8_t=yes
ac_cv_lbl_inline=inline
ac_cv_lbl_proc_net_dev=yes
ac_cv_lbl_septel_api=no
ac_cv_lbl_tpacket_stats=yes
ac_cv_linux_vers=2
ac_cv_objext=o
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_egrep='grep -E'
ac_cv_search_gethostbyname='none required'
ac_cv_search_putmsg='none required'
ac_cv_search_socket='none required'
ac_cv_target=i686-pc-linux-gnu
ac_cv_target_alias=i686-pc-linux-gnu
tcpdump_cv_capable_lex=insufficient

## ----------------- ##
## Output variables. ##
## ----------------- ##

CC='gcc'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
DEFS=''
DYEXT=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
SHELL='/bin/bash'
SHLICC2=''
SSRC=''
V_CCOPT='-O2'
V_DEFS=' -D_U_="__attribute__((unused))"'
V_FINDALLDEVS='getad'
V_INCLS=''
V_LEX='lex'
V_LIBS=''
V_PCAP='linux'
V_RANLIB=''
V_YACC='yacc'
ac_ct_CC='gcc'
ac_ct_RANLIB=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_DECL_ETHER_HOSTTON 1
#define HAVE_ETHER_HOSTTON 1
#define HAVE_INTTYPES_H 1
#define HAVE_LIMITS_H 1
#define HAVE_MEMORY_H 1
#define HAVE_NETINET_ETHER_H 1
#define HAVE_NETINET_IF_ETHER_H 1
#define HAVE_PROC_NET_DEV 1
#define HAVE_SNPRINTF 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRERROR 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_TPACKET_STATS 1
#define HAVE_UNISTD_H 1
#define HAVE_VSNPRINTF 1
#define HAVE___ATTRIBUTE__ 1
#define NETINET_ETHER_H_DECLARES_ETHER_HOSTTON
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#define inline inline

configure: exit 1


疯了,去把flex也下载了,提示依赖不满足。发现这个软件安装之后也不一定能编译C程序。请教高手!!


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Google [Bot] 和 5 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译