public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [Bluez-devel] error whjile cross compiling Bluez-utils
@ 2008-02-26 10:32 pramod gurav
  0 siblings, 0 replies; 3+ messages in thread
From: pramod gurav @ 2008-02-26 10:32 UTC (permalink / raw)
  To: BlueZ development


[-- Attachment #1.1: Type: text/plain, Size: 2912 bytes --]

hi 
Thanks for reply
I solved that. But one more error is occuring this time. 

make[2]: Entering directory `/home/Pramod/projects/waterloo/bluez-utils-3.25/audio'
/bin/sh ../libtool --tag=CC   --mode=compile arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../common   -I/usr/include/alsa   -I.../sbc -Wall -O2 -D_FORTIFY_SOURCE=2 -MT libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo -MD -MP -MF .deps/libasound_module_pcm_bluetooth_la-pcm_bluetooth.Tpo -c -o libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo `test -f 'pcm_bluetooth.c' || echo './'`pcm_bluetooth.c
 arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I/usr/include/alsa -I../sbc -Wall -O2 -D_FORTIFY_SOURCE=2 -MT libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo -MD -MP -MF .deps/libasound_module_pcm_bluetooth_la-pcm_bluetooth.Tpo -c pcm_bluetooth.c  -fPIC -DPIC -o .libs/libasound_module_pcm_bluetooth_la-pcm_bluetooth.o
pcm_bluetooth.c:39:28: alsa/asoundlib.h: No such file or directory
pcm_bluetooth.c:40:31: alsa/pcm_external.h: No such file or directory
pcm_bluetooth.c:129: error: parse error before "snd_pcm_ioplug_t"
pcm_bluetooth.c:129: warning: no semicolon at end of struct or union

I have all the headers included.+
 
Thanks and Best regards 
Pramod

----- Original Message ----
From: Ming-I Hsieh <mihs@wmlab.csie.ncu.edu.tw>
To: bluez-devel <bluez-devel@lists.sourceforge.net>
Sent: Tuesday, 26 February, 2008 3:48:08 PM
Subject: Re: [Bluez-devel] error whjile cross compiling Bluez-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
check 
your 
include 
directories. 
gcc 
could 
not 
find

bluetooth/sdp.h 
and
bluetooth/sdp_lib.h

in 
your 
include 
directories.

> 
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel







      Save all your chat conversations. Find them online at http://in.messenger.yahoo.com/webmessengerpromo.php

[-- Attachment #1.2: Type: text/html, Size: 3842 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
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/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [Bluez-devel] error whjile cross compiling Bluez-utils
@ 2008-02-26  9:05 pramod gurav
  2008-02-26 10:18 ` Ming-I Hsieh
  0 siblings, 1 reply; 3+ messages in thread
From: pramod gurav @ 2008-02-26  9:05 UTC (permalink / raw)
  To: bluez-users, bluez-devel


[-- Attachment #1.1: Type: text/plain, Size: 1506 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1831 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
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/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-26 10:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-26 10:32 [Bluez-devel] error whjile cross compiling Bluez-utils pramod gurav
  -- strict thread matches above, loose matches on Subject: below --
2008-02-26  9:05 pramod gurav
2008-02-26 10:18 ` Ming-I Hsieh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox