吉吉的轨迹 2013-11-04 06:06
浏览 1578

RTEMS移植GUI (MicroWindows) 的过程中出错

执行./do_it后:
错误是:
configure: error: in /home/Joshua/rtems-graphics-toolkit/libpng-1.5.12':
configure: error: C compiler cannot create executables
See
config.log' for more details
ERROR: Could not configure libpng-1.5.12

下面是libpng下得config.log内容:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libpng configure 1.5.12, which was
generated by GNU Autoconf 2.68. Invocation command line was

$ ./configure --host=i386-rtems4.11 --prefix=/opt/rtems-4.11/i386-rtems4.11/pc686 --includedir=/opt/rtems-4.11/i386-rtems4.11/pc686/lib/include --libdir=/opt/rtems-4.11/i386-rtems4.11/pc686/lib --disable-shared

---------

Platform.

---------

hostname = localhost.localdomain
uname -m = i686
uname -r = 3.9.5-301.fc19.i686
uname -s = Linux
uname -v = #1 SMP Tue Jun 11 20:01:50 UTC 2013

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

/bin/arch = i686
/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/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin

-----------

Core tests.

-----------

configure:2321: checking for a BSD-compatible install
configure:2389: result: /bin/install -c
configure:2400: checking whether build environment is sane
configure:2450: result: yes
configure:2499: checking for i386-rtems4.11-strip
configure:2529: result: no
configure:2539: checking for strip
configure:2555: found /bin/strip
configure:2566: result: strip
configure:2591: checking for a thread-safe mkdir -p
configure:2630: result: /bin/mkdir -p
configure:2643: checking for gawk
configure:2659: found /bin/gawk
configure:2670: result: gawk
configure:2681: checking whether make sets $(MAKE)
configure:2703: result: yes
configure:2784: checking whether to enable maintainer-specific portions of Makefiles
configure:2793: result: no
configure:2832: checking for i386-rtems4.11-gcc
configure:2862: result: no
configure:2872: checking for gcc
configure:2888: found /bin/gcc
configure:2899: result: gcc
configure:3128: checking for C compiler version
configure:3137: gcc --version >&5
gcc (GCC) 4.8.2 20131017 (Red Hat 4.8.2-1)
Copyright (C) 2013 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:3148: $? = 0
configure:3137: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-redhat-linux/4.8.2/lto-wrapper
Target: i686-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-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --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-isl=/builddir/build/BUILD/gcc-4.8.2-20131017/obj-i686-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.2-20131017/obj-i686-redhat-linux/cloog-install --with-tune=generic --with-arch=i686 --build=i686-redhat-linux
Thread model: posix
gcc version 4.8.2 20131017 (Red Hat 4.8.2-1) (GCC)
configure:3148: $? = 0
configure:3137: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3148: $? = 4
configure:3137: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3148: $? = 4
configure:3168: checking whether the C compiler works
configure:3190: gcc --pipe -B/opt/rtems-4.11/i386-rtems4.11/pc686/lib/ -specs bsp_specs -qrtems -mtune=pentiumpro conftest.c >&5
/bin/ld: cannot find -lgcc_s
/bin/ld: cannot find -lc
/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
configure:3194: $? = 1
configure:3232: result: no
configure: failed program was:
| /* confdefs.h /
| #define PACKAGE_NAME "libpng"
| #define PACKAGE_TARNAME "libpng"
| #define PACKAGE_VERSION "1.5.12"
| #define PACKAGE_STRING "libpng 1.5.12"
| #define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "libpng"
| #define VERSION "1.5.12"
| /
end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3237: error: in /home/Joshua/rtems-graphics-toolkit/libpng-1.5.12':
configure:3239: error: C compiler cannot create executables
See
config.log' for more details

----------------

Cache variables.

----------------

ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=' --pipe -B/opt/rtems-4.11/i386-rtems4.11/pc686/lib/ -specs bsp_specs -qrtems -mtune=pentiumpro'
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=set
ac_cv_env_host_alias_value=i386-rtems4.11
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_make_make_set=yes

-----------------

Output variables.

-----------------

ACLOCAL='${SHELL} /home/Joshua/rtems-graphics-toolkit/libpng-1.5.12/missing --run aclocal-1.11'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/Joshua/rtems-graphics-toolkit/libpng-1.5.12/missing --run tar'
AM_CCASFLAGS=''
AR=''
AS=''
AUTOCONF='${SHELL} /home/Joshua/rtems-graphics-toolkit/libpng-1.5.12/missing --run autoconf'
AUTOHEADER='${SHELL} /home/Joshua/rtems-graphics-toolkit/libpng-1.5.12/missing --run autoheader'
AUTOMAKE='${SHELL} /home/Joshua/rtems-graphics-toolkit/libpng-1.5.12/missing --run automake-1.11'
AWK='gawk'
CC='gcc'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS=' --pipe -B/opt/rtems-4.11/i386-rtems4.11/pc686/lib/ -specs bsp_specs -qrtems -mtune=pentiumpro'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DFNCPP=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
HAVE_LD_VERSION_SCRIPT_FALSE=''
HAVE_LD_VERSION_SCRIPT_TRUE=''
HAVE_SOLARIS_LD_FALSE=''
HAVE_SOLARIS_LD_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBOBJS=''
LIBPNG_DEFINES=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/Joshua/rtems-graphics-toolkit/libpng-1.5.12/missing --run makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='libpng'
PACKAGE_BUGREPORT='png-mng-implement@lists.sourceforge.net'
PACKAGE_NAME='libpng'
PACKAGE_STRING='libpng 1.5.12'
PACKAGE_TARNAME='libpng'
PACKAGE_URL=''
PACKAGE_VERSION='1.5.12'
PATH_SEPARATOR=':'
PNGLIB_MAJOR='1'
PNGLIB_MINOR='5'
PNGLIB_RELEASE='12'
PNGLIB_VERSION='1.5.12'
PNG_ARM_NEON_FALSE=''
PNG_ARM_NEON_TRUE=''
POW_LIB=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
SYMBOL_PREFIX=''
VERSION='1.5.12'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
binconfigs=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i386-rtems4.11'
host_alias='i386-rtems4.11'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='/opt/rtems-4.11/i386-rtems4.11/pc686/lib/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/Joshua/rtems-graphics-toolkit/libpng-1.5.12/install-sh'
libdir='/opt/rtems-4.11/i386-rtems4.11/pc686/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgconfigdir=''
prefix='/opt/rtems-4.11/i386-rtems4.11/pc686'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

-----------

confdefs.h.

-----------

/* confdefs.h */
#define PACKAGE_NAME "libpng"
#define PACKAGE_TARNAME "libpng"
#define PACKAGE_VERSION "1.5.12"
#define PACKAGE_STRING "libpng 1.5.12"
#define PACKAGE_BUGREPORT "png-mng-implement@lists.sourceforge.net"
#define PACKAGE_URL ""
#define PACKAGE "libpng"
#define VERSION "1.5.12"

configure: exit 77

  • 写回答

0条回答

    报告相同问题?

    悬赏问题

    • ¥15 seatunnel-web使用SQL组件时候后台报错,无法找到表格
    • ¥15 fpga自动售货机数码管(相关搜索:数字时钟)
    • ¥15 用前端向数据库插入数据,通过debug发现数据能走到后端,但是放行之后就会提示错误
    • ¥30 3天&7天&&15天&销量如何统计同一行
    • ¥30 帮我写一段可以读取LD2450数据并计算距离的Arduino代码
    • ¥15 飞机曲面部件如机翼,壁板等具体的孔位模型
    • ¥15 vs2019中数据导出问题
    • ¥20 云服务Linux系统TCP-MSS值修改?
    • ¥20 关于#单片机#的问题:项目:使用模拟iic与ov2640通讯环境:F407问题:读取的ID号总是0xff,自己调了调发现在读从机数据时,SDA线上并未有信号变化(语言-c语言)
    • ¥20 怎么在stm32门禁成品上增加查询记录功能