安装的时候出现:
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for arm-softfloat-linux-gnu-strip... arm-softfloat-linux-gnu-strip
checking build system type... i686-pc-linux-gnu
checking host system type... arm-softfloat-linux-gnu
checking for arm-softfloat-linux-gnu-gcc... /home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
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 ID3 Tag configure 0.15.1b, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure CC=/home/sjzhang/crosstool//home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-gcc --prefix=/source/rootfs/madplay/libz --host=arm-softfloat-linux-gnu --disable-shared --enable-static CPPFLAGS=-l/home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/include LDFLAGS=-L/home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/lib
## --------- ##
## Platform. ##
## --------- ##
hostname = sjzhang-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
PATH: /home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1559: checking for a BSD-compatible install
configure:1614: result: /usr/bin/install -c
configure:1625: checking whether build environment is sane
configure:1668: result: yes
configure:1725: checking for gawk
configure:1754: result: no
configure:1725: checking for mawk
configure:1741: found /usr/bin/mawk
configure:1751: result: mawk
configure:1761: checking whether make sets $(MAKE)
configure:1781: result: yes
configure:1860: checking for arm-softfloat-linux-gnu-strip
configure:1876: found /home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-strip
configure:1886: result: arm-softfloat-linux-gnu-strip
configure:1956: checking build system type
configure:1974: result: i686-pc-linux-gnu
configure:1982: checking host system type
configure:1996: result: arm-softfloat-linux-gnu
configure:2014: checking for arm-softfloat-linux-gnu-gcc
configure:2040: result: /home/sjzhang/crosstool//home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-gcc
configure:2322: checking for C compiler version
configure:2325: /home/sjzhang/crosstool//home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-gcc --version </dev/null >&5
./configure: line 2326: /home/sjzhang/crosstool//home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-gcc: No such file or directory
configure:2328: $? = 127
configure:2330: /home/sjzhang/crosstool//home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-gcc -v </dev/null >&5
./configure: line 2331: /home/sjzhang/crosstool//home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-gcc: No such file or directory
configure:2333: $? = 127
configure:2335: /home/sjzhang/crosstool//home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-gcc -V </dev/null >&5
./configure: line 2336: /home/sjzhang/crosstool//home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-gcc: No such file or directory
configure:2338: $? = 127
configure:2361: checking for C compiler default output file name
configure:2364: /home/sjzhang/crosstool//home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-gcc -l/home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/include -L/home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/lib conftest.c >&5
./configure: line 2365: /home/sjzhang/crosstool//home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-gcc: No such file or directory
configure:2367: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "ID3 Tag"
| #define PACKAGE_TARNAME "libid3tag"
| #define PACKAGE_VERSION "0.15.1b"
| #define PACKAGE_STRING "ID3 Tag 0.15.1b"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE "libid3tag"
| #define VERSION "0.15.1b"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2406: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/home/sjzhang/crosstool//home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-l/home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/include
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-L/home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/lib
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=arm-softfloat-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=arm-softfloat-linux-gnu
ac_cv_host_alias=arm-softfloat-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_CC=/home/sjzhang/crosstool//home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-gcc
ac_cv_prog_STRIP=arm-softfloat-linux-gnu-strip
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /source/rootfs/madplay/libid3tag-0.15.1b/missing --run aclocal-1.8'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /source/rootfs/madplay/libid3tag-0.15.1b/missing --run tar'
AR=''
AUTOCONF='${SHELL} /source/rootfs/madplay/libid3tag-0.15.1b/missing --run autoconf'
AUTOHEADER='${SHELL} /source/rootfs/madplay/libid3tag-0.15.1b/missing --run autoheader'
AUTOMAKE='${SHELL} /source/rootfs/madplay/libid3tag-0.15.1b/missing --run automake-1.8'
AWK='mawk'
CC='/home/sjzhang/crosstool//home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS='-l/home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/include'
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEBUG_FALSE=''
DEBUG_TRUE=''
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS='-L/home/sjzhang/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/lib'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_DEPS=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /source/rootfs/madplay/libid3tag-0.15.1b/missing --run makeinfo'
OBJEXT=''
PACKAGE='libid3tag'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_NAME='ID3 Tag'
PACKAGE_STRING='ID3 Tag 0.15.1b'
PACKAGE_TARNAME='libid3tag'
PACKAGE_VERSION='0.15.1b'
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP='arm-softfloat-linux-gnu-strip'
VERSION='0.15.1b'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
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='arm-softfloat-linux-gnu'
host_alias='arm-softfloat-linux-gnu'
host_cpu='arm'
host_os='linux-gnu'
host_vendor='softfloat'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/source/rootfs/madplay/libid3tag-0.15.1b/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p -- .'
oldincludedir='/usr/include'
prefix='/source/rootfs/madplay/libz'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "libid3tag"
#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE_NAME "ID3 Tag"
#define PACKAGE_STRING "ID3 Tag 0.15.1b"
#define PACKAGE_TARNAME "libid3tag"
#define PACKAGE_VERSION "0.15.1b"
#define VERSION "0.15.1b"
configure: exit 77
安装madplay的问题
-
- 帖子: 4
- 注册时间: 2009-09-07 9:08
-
- 帖子: 4
- 注册时间: 2009-09-07 9:08
Re: 安装madplay的问题
gcc -v的结果
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 --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
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 --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)