Hi Leiyu You can add the path of your toolchain to the PATH variable PATH=$PATH:/usr/local/arm/3.4.1/bin That way you don¡¯t have to specify options for CC, CPP, AR, STRIP..etc. Just providing --host option is enough. The configure script will search the PATH for installed toolchain. When you installed the bluez-libs, the bluez.pc file should be created in the libs directory that you gave with the --prefix option. Add that path to the PKG_CONFIG_PATH variable e.g export PKG_CONFIG_PATH=/bluez/bluezlibs/pkgconfig Doing this change should fix your problem. Regards, Sumeet -----Original Message----- From: bluez-users-bounces@lists.sourceforge.net [mailto:bluez-users-bounces@lists.sourceforge.net] On Behalf Of leiyu Sent: Friday, July 20, 2007 1:26 PM To: Bluez-Users Subject: [Bluez-users] Fail in cross-compile bluez-utils-3.9 Dear All, I use arm-linux-gcc-3.4.1 to cross-compile bluez-libs-3.9 and bluez-utils-3. 9 I success in cross-compile bluez-libs-3.9 ,but fail in bluez-utils-3.9 , /usr/bluez/bluezlibs is the directory I install bluez-libs-3.9 /usr/local/arm/linux-2.6.14.1 is the kernel diretory [root@localhost bluez-utils-3.9]# ./configure --prefix=/bluez/bluezutils --includedir=/bluez/bluezlibs/include --libdir=/bluez/bluezlibs/lib --host=arm-linux CC=/usr/local/arm/3.4.1/bin/arm-linux-gcc CPP=/usr/local/arm/3.4.1/bin/arm-linux-cpp AR=/usr/local/arm/3.4.1/bin/arm-linux-ar STRIP=/usr/local/arm/3.4.1/bin/arm-linux-strip RANLIB=/usr/local/arm/3.4.1/bin/arm-linux-ranlib LD=/usr/local/arm/3.4.1/bin/arm-linux-ld --with-bluez-libs=/bluez/bluezlibs --with-kernel=/usr/local/arm/linux-2.6.14.1 ....... checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool checking for ppoll... no checking for arm-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for BLUEZ... no configure: error: Bluetooth library is required Is my gcc version not suit for it ? or Is my configure parameter not right ? I appreciate for your comment, thanks Best regards, Leiyu