Skip to contentSkip to conversation

error whjile cross compiling Bluez-utils

Bluez-devel pramod gurav 2 participants 2 messages Feb 26, 2008 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

hi All
I am cross comiling bluez for arm processer.
I cross compiled libdbus, libxml, bluez-libs successfully I am getting errors whilr compiling utils.

sdp-xml.c:36:27: bluetooth/sdp.h: No such file or directory sdp-xml.c:37:31: bluetooth/sdp_lib.h: No such file or directory
In file included from sdp-xml.c:41:
sdp-xml.h:33: error: parse error before '*' token
sdp-xml.h:34: error: parse error before ')' token
sdp-xml.h:36: warning: type defaults to int' in declaration of sdp_xml_parse_nil' sdp-xml.h:36: warning: data definition has no type or storage class

i configured it with
[Pramod@localhost bluez-utils-3.25]$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/Pramod/projects/install/lib

[Pramod@localhost bluez-utils-3.25]$ export PATH=$PATH:/opt/gcc-3.4.4-glibc-2.3.5/bin

[Pramod@localhost bluez-utils-3.25]$ ./configure --build=i686-pc-linux-gnu --host=arm-linux --sysconfdir=/home/Pramod/projects/install/etc --prefix=/home/Pramod/projects/install ./configure --enable-inotify --enable-usb --enable-obex --enable-alsa --enable-test --enable-audio --enable-input --enable-serial --enable-gstreamer --enable-network --enable-sync --enable-hcid --enable-sdpd --enable-hidd --enable-pand --enable-echo --enable-configfiles --enable-initscripts --enable-avctrl

Can anyone help me in this?

Thanks and Best regards
Pramod

5, 50, 500, 5000 - Store N number of mails in your inbox. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#1 lore raw
Quoted 2 lines

sdp-xml.c:36:27: bluetooth/sdp.h: No such file or directory sdp-xml.c:37:31: bluetooth/sdp_lib.h: No such file or directory

check your include directories. gcc could not find

bluetooth/sdp.h and
bluetooth/sdp_lib.h

in your include directories.

Quoted 7 lines

In file included from sdp-xml.c:41:
sdp-xml.h:33: error: parse error before '*' token sdp-xml.h:34: error: parse error before ')' token sdp-xml.h:36: warning: type defaults to int' in declaration of sdp_xml_parse_nil'
sdp-xml.h:36: warning: data definition has no type or storage class

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel