- 论坛徽章:
- 0
|
请问一下,我用arm-linux-gcc 4.3.3 编译alsa-lib 1.0.26的时候,报错configure:3540: error: C compiler cannot create executables
如下是编译器的打印的相关信息config.log
79 configure:3449: $? = 0
80 configure:3438: /work/imap/infotm_ende/work/output/host/usr/bin/arm-infotm-linux-gnueabi-gcc -v >&5
81 Using built-in specs.
82 Target: arm-infotm-linux-gnueabi
83 Configured with: /home/zhjun/toolchain_infotm/source/gcc-4.3/gcc-4.3-4.3.3.orig/gcc-4.3.3/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --ta rget=arm-infotm-linux-gnueabi --prefix=/home/zhjun/toolchain_infotm/result --with-cpu=arm1176jzf-s --with-tune=arm1176jzf-s --enable-languages=c,c++ --enab le-shared --disable-libgomp --with-sysroot=/home/zhjun/toolchain_infotm/result/arm-infotm-linux-gnueabi --enable-threads=posix
84 Thread model: posix
85 gcc version 4.3.3 (GCC)
86 configure:3449: $? = 0
87 configure:3438: /work/imap/infotm_ende/work/output/host/usr/bin/arm-infotm-linux-gnueabi-gcc -V >&5
88 arm-infotm-linux-gnueabi-gcc: '-V' must come at the start of the command line
89 configure:3449: $? = 1
90 configure:3438: /work/imap/infotm_ende/work/output/host/usr/bin/arm-infotm-linux-gnueabi-gcc -qversion >&5
91 arm-infotm-linux-gnueabi-gcc: unrecognized option '-qversion'
92 arm-infotm-linux-gnueabi-gcc: no input files
93 configure:3449: $? = 1
94 configure:3469: checking whether the C compiler works
95 configure:3491: /work/imap/infotm_ende/work/output/host/usr/bin/arm-infotm-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS= 64 -pipe -Os -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -lm conftest.c >&5
96 conftest.c:1: error: bad value (cortex-a5) for -mtune= switch
97 conftest.c:1: sorry, unimplemented: -mfloat-abi=hard and VFP
问一下这个问题是编译器的问题吗?我的编译器不支持HF和VFPde,是不是我编译的 alsa-lib 1.0.26版本太高了。
|
|