- 论坛徽章:
- 0
|
交叉编译libxml
我最近需要编译Bluez需要用到libxml但是总是出现这个错误, 请大家帮忙看看。
./configure --host=arm --prefix=/usr/local/arm/3.4.1/
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 build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-none
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-strip... no
checking for strip... strip
checking for arm-gcc... /usr/local/arm/3.4.1/bin/arm-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/local/arm/3.4.1/bin/arm-linux-gcc accepts -g... yes
checking for /usr/local/arm/3.4.1/bin/arm-linux-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/local/arm/3.4.1/bin/arm-linux-gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... /usr/local/arm/3.4.1/bin/arm-linux-g++
configure: error: C preprocessor "/usr/local/arm/3.4.1/bin/arm-linux-g++" fails sanity check
See `config.log' for more details. |
|