Dear friends, I have been attempting to get bluez stack on to arm using image at http://www.friendlyarm.net/dl.php?file=arm-qtopia-2.2.0_20100108.tgz I tried following steps: ----------------------- # PATH=/usr/local/arm/4.3.2/bin:$PATH # export CROSS_COMPILE=arm-linux inside/the/bluez/source# CC=arm-linux-gcc ./configure --host=arm-linux --prefix=/home/xx/xx --exec\ -prefix=/home/xx/xx/xx ##### Until this it is ok, it ends with following lines ##### config.status: creating Makefile config.status: creating scripts/bluetooth.rules config.status: creating doc/version.xml config.status: creating src/bluetoothd.8 config.status: creating bluez.pc config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands # make make --no-print-directory all-am CCLD src/bluetoothd /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm -none-linux-gnueabi/bin/ld: warning: library search path "/lib" is unsafe for cross-compilation /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm -none-linux-gnueabi/bin/ld: cannot find -lglib-2.0 collect2: ld returned 1 exit status make[1]: *** [src/bluetoothd] Error 1 make: *** [all] Error 2 ##### I downloaded glib-2.26 and glib-2.24, untarred and tried to configure with similar ./configure ... command as above. It ended with the following: ##### checking for growing stack pointer... configure: error: in `/home/xx/Downloads/glib-2.26.0': configure: error: cannot run test program while cross compiling See `config.log' for more details. I see in the config.log that it is missing some header files, declarations/definitions and negative array subscripts :( ##### line 125 ##### conftest.c:14:28: error: ac_nonexistent.h: No such file or directory configure:4611: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "glib" | #define PACKAGE_TARNAME "glib" ##### line 172 ##### configure:4836: arm-linux-gcc -E conftest.c conftest.c:15:27: error: Carbon/Carbon.h: No such file or directory conftest.c:16:39: error: CoreServices/CoreServices.h: No such file or directory ##### line 172 ##### conftest.c:22: error: size of array 'off_t_is_large' is negative configure:6735: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "glib" ##### many such errors at other lines. line 2058 ##### conftest.c:88: error: size of array 'test_array' is negative configure:20923: $? = 1 configure: failed program was: conftest.c: In function 'main': conftest.c:90: error: '__int64' undeclared (first use in this function) conftest.c:90: error: (Each undeclared identifier is reported only once conftest.c:90: error: for each function it appears in.) configure:21212: checking for growing stack pointer configure:21219: error: in `/home/ak/Downloads/glib-2.26.0': configure:21222: error: cannot run test program while cross compiling See `config.log' for more details. ##### I am sorry to flood with the excerpts of config.log file. ##### Kindly guide for further steps, to building the bluez.