2008-07-14 11:01:55

by pramod gurav

[permalink] [raw]
Subject: Re: [Bluez-users] bluetooth compilation version3.36 -regarding

Hi Umesh
look all the checking for ....
they should be all YES.
here gmodule , glib, dbus are not found ..

compile them and export their paths to environment.


Thanks and Best regards


Pramod



----- Original Message ----
From: umeshyv <[email protected]>
To: BlueZ users <[email protected]>
Sent: Monday, 14 July, 2008 4:12:51 PM
Subject: [Bluez-users] bluetooth compilation version3.36 -regarding

Hi to all,
I started compiling bluetooth libs and utils version 3.36 ,I followed the earlier methods but following are the errors,please rectify me where I am going wrong and for version 3.32 I submitted the compilation errors and I am stuck up with it.

Compiling Bluetooth libraries

>Apply Buildroot or Toolchain Path
>./configure --host=mipsel-linux --prefix=/usr --enable-shared=no --enable-static=yes
>make
>make install DESTDIR=/home/newbuild/blue/bluez-libs-3.36/install

Compiling Bluetooth Utils

linux:/home/newbuild/blue/bluez-utils-3.36 # export BLUEZ_CFLAGS=-I /home/newbuild/blue/bluez-libs-3.32/install/usr/include
linux:/home/newbuild/blue/bluez-utils-3.36 # export BLUEZ_LIBS="-L/home/newbuild/blue/bluez-libs-3.32/install/usr/lib -lbluetooth"
linux:/home/newbuild/blue/bluez-utils-3.36 # ./configure --host=mipsel-linux --with-bluez=/home/newbuild/blue/bluez-libs-3.36/install/usr/ CPPFLAGS="-D__KERNEL__"
After configuration
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 a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mipsel-linux-strip... mipsel-linux-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for mipsel-linux-gcc... mipsel-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 mipsel-linux-gcc accepts -g... yes
checking for mipsel-linux-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mipsel-linux-gcc... gcc3
checking whether mipsel-linux-gcc accepts -fPIE... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking build system type... i686-pc-linux-gnu
checking host system type... mipsel-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by mipsel-linux-gcc... /home/newbuild/buildroot/build_mipsel/staging_dir/mipsel-linux-uclibc/bin/ld
checking if the linker (/home/newbuild/buildroot/build_mipsel/staging_dir/mipsel-linux-uclibc/bin/ld) is GNU ld... yes
checking for /home/newbuild/buildroot/build_mipsel/staging_dir/mipsel-linux-uclibc/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /home/newbuild/buildroot/build_mipsel/staging_dir/bin/mipsel-linux-nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... mipsel-linux-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 98304
checking command to parse /home/newbuild/buildroot/build_mipsel/staging_dir/bin/mipsel-linux-nm -B output from mipsel-linux-gcc object... ok
checking for objdir... .libs
checking for mipsel-linux-ar... mipsel-linux-ar
checking for mipsel-linux-ranlib... mipsel-linux-ranlib
checking for mipsel-linux-strip... (cached) mipsel-linux-strip
checking if mipsel-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for mipsel-linux-gcc option to produce PIC... -fPIC
checking if mipsel-linux-gcc PIC flag -fPIC works... yes
checking if mipsel-linux-gcc static flag -static works... yes
checking if mipsel-linux-gcc supports -c -o file.o... yes
checking whether the mipsel-linux-gcc linker (/home/newbuild/buildroot/build_mipsel/staging_dir/mipsel-linux-uclibc/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
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... yes
checking for mipsel-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to [email protected].
checking pkg-config is at least version 0.9.0... yes
checking for BLUEZ... yes
checking for GLIB... no
checking for GMODULE... no
checking for dlopen in -ldl... yes
checking for DBUS... no
configure: error: D-Bus library is required

linux:/home/newbuild/blue/bluez-utils-3.32 # make

linux:/home/newbuild/blue/bluez-utils-3.36 # make
make: *** No targets specified and no makefile found. Stop.

Waiting for valuable suggestions

Thanks & Regards
Umesh



Bollywood, fun, friendship, sports and more. You name it, we have it on http://in.promos.yahoo.com/groups/bestofyahoo/


Attachments:
(No filename) (347.00 B)
(No filename) (164.00 B)
Download all attachments