[Bluez-devel] cross compile problem on bluez

hong zhang
2007-08-06T20:33:51Z

List,

I apply bluez to embedded linux system. ARM processor
is used and arm compiler from montavista. Based on
README of bluez-libs-3.11. I run

configure
--host=/opt/montavista/mobilinux/devkit/arm/v6_vfp_le/bin/arm_v6_vfp_le-
--prefix=/root/Desktop/bluez-libs-3.11

returns error as following, any help would be
appreciated.

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... gawk
checking whether make sets $(MAKE)... yes
checking for
/opt/montavista/mobilinux/devkit/arm/v6_vfp_le/bin/arm_v6_vfp_le--strip...
no
checking for strip... strip
checking whether to enable maintainer-specific
portions of Makefiles... no
checking for
/opt/montavista/mobilinux/devkit/arm/v6_vfp_le/bin/arm_v6_vfp_le--gcc...
no
checking for gcc... gcc
checking for C compiler default output file name...
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler...
yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none
needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install...
/usr/bin/install -c
checking build system type... i686-redhat-linux-gnu
checking host system type... Invalid configuration
`/opt/montavista/mobilinux/devkit/arm/v6_vfp_le/bin/arm_v6_vfp_le-':
machine
`/opt/montavista/mobilinux/devkit/arm/v6_vfp_le/bin/arm_v6_vfp_le'
not recognized
configure: error: /bin/sh ./config.sub
/opt/montavista/mobilinux/devkit/arm/v6_vfp_le/bin/arm_v6_vfp_le-
failed

----henry

____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.