public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] bluez-utils and bluez-libs
@ 2007-08-08  5:35 umamahesh yelchuru venkata
  2007-08-08  8:17 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: umamahesh yelchuru venkata @ 2007-08-08  5:35 UTC (permalink / raw)
  To: bluez-users


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

HI
   I am working on Au1200 processor and i use linux-2.6.11 and now i am
trying USB Bluetooth in it .I need to compile bluetooth libraries and
bluetooth utils for it.I downloaded the following files,
bluez-libs-3.13.tar.gz

bluez-utils-3.13.tar.gz

I compile the library as follows,
./configure --host=mipsel --prefix=/usr --enable-shared=no
--enable-static=yes
make
make install DESTDIR=$PWD/bluez1

it compiled and next to compile bluez-utils

./configure \
--host=mipsel \
--with-bluez=$PWD/../bluez-libs-2.25/install/usr \
CPPFLAGS="-DLINUX" \
LDFLAGS="-Wl,-elf2flt"

then make

following are the errors ,

make[3]: Entering directory `/home/busybox/bluez/bluez-utils-3.13/hcid'
gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../sdpd -DLINUX
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-DDBUS_API_SUBJECT_TO_CHANGE -I../eglib -Wall -O2 -D_FORTIFY_SOURCE=2 -MT
device.o -MD -MP -MF .deps/device.Tpo -c -o device.o device.c
device.c: In function 'start_device':
device.c:271: error: 'LMP_PAUSE_ENC' undeclared (first use in this function)
device.c:271: error: (Each undeclared identifier is reported only once
device.c:271: error: for each function it appears in.)
device.c:277: error: 'LMP_NFLUSH_PKTS' undeclared (first use in this
function)
device.c:280: error: 'LMP_LSTO' undeclared (first use in this function)
make[3]: *** [device.o] Error 1
make[3]: Leaving directory `/home/busybox/bluez/bluez-utils-3.13/hcid'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/busybox/bluez/bluez-utils-3.13/hcid'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/busybox/bluez/bluez-utils-3.13'
make: *** [all] Error 2

could anyone tell me where am going wrong.

waiting for suggestions

thank you

Regards
Umesh

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

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

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

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

* Re: [Bluez-users] bluez-utils and bluez-libs
  2007-08-08  5:35 [Bluez-users] bluez-utils and bluez-libs umamahesh yelchuru venkata
@ 2007-08-08  8:17 ` Marcel Holtmann
  2007-08-08  8:57   ` umamahesh yelchuru venkata
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2007-08-08  8:17 UTC (permalink / raw)
  To: BlueZ users

Hi,

>    I am working on Au1200 processor and i use linux-2.6.11 and now i
> am trying USB Bluetooth in it .I need to compile bluetooth libraries
> and bluetooth utils for it.I downloaded the following files,
> bluez-libs-3.13.tar.gz
> 
> bluez-utils-3.13.tar.gz
> 
> I compile the library as follows,
> ./configure --host=mipsel --prefix=/usr --enable-shared=no
> --enable-static=yes
> make
> make install DESTDIR=$PWD/bluez1
> 
> it compiled and next to compile bluez-utils
> 
> ./configure \
> --host=mipsel \
> --with-bluez=$PWD/../bluez-libs-2.25/install/usr \
> CPPFLAGS="-DLINUX" \
> LDFLAGS="-Wl,-elf2flt"
> 
> then make
> 
> following are the errors ,
> 
> make[3]: Entering directory
> `/home/busybox/bluez/bluez-utils-3.13/hcid'
> gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../sdpd -DLINUX
> -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> -DDBUS_API_SUBJECT_TO_CHANGE -I../eglib -Wall -O2 -D_FORTIFY_SOURCE=2
> -MT device.o -MD -MP -MF .deps/device.Tpo -c -o device.o device.c
> device.c: In function 'start_device':
> device.c:271: error: 'LMP_PAUSE_ENC' undeclared (first use in this
> function)
> device.c:271: error: (Each undeclared identifier is reported only once
> device.c:271: error: for each function it appears in.)
> device.c:277: error: 'LMP_NFLUSH_PKTS' undeclared (first use in this
> function)
> device.c:280: error: 'LMP_LSTO' undeclared (first use in this
> function)
> make[3]: *** [device.o] Error 1
> make[3]: Leaving directory `/home/busybox/bluez/bluez-utils-3.13/hcid'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/busybox/bluez/bluez-utils-3.13/hcid'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/busybox/bluez/bluez-utils-3.13'
> make: *** [all] Error 2
> 
> could anyone tell me where am going wrong.

your includes are screwed up. You need to make sure it uses the headers
of bluez-utils-3.13 and not some older ones installed one your system.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] bluez-utils and bluez-libs
  2007-08-08  8:17 ` Marcel Holtmann
@ 2007-08-08  8:57   ` umamahesh yelchuru venkata
  2007-08-11 18:13     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: umamahesh yelchuru venkata @ 2007-08-08  8:57 UTC (permalink / raw)
  To: BlueZ users


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

Hi Marcel,
Thanks for your reply.Can you guide how to proceed, i use linux-2.6.11 for
MIPS architecture(Au1200 processor) shall i use some other version will it
help and can you verify whether my configuration and compilation is
correct.waiting for your kind reply.

Regards
Umesh

On 8/8/07, Marcel Holtmann <marcel@holtmann.org> wrote:
>
> Hi,
>
> >    I am working on Au1200 processor and i use linux-2.6.11 and now i
> > am trying USB Bluetooth in it .I need to compile bluetooth libraries
> > and bluetooth utils for it.I downloaded the following files,
> > bluez-libs-3.13.tar.gz
> >
> > bluez-utils-3.13.tar.gz
> >
> > I compile the library as follows,
> > ./configure --host=mipsel --prefix=/usr --enable-shared=no
> > --enable-static=yes
> > make
> > make install DESTDIR=$PWD/bluez1
> >
> > it compiled and next to compile bluez-utils
> >
> > ./configure \
> > --host=mipsel \
> > --with-bluez=$PWD/../bluez-libs-2.25/install/usr \
> > CPPFLAGS="-DLINUX" \
> > LDFLAGS="-Wl,-elf2flt"
> >
> > then make
> >
> > following are the errors ,
> >
> > make[3]: Entering directory
> > `/home/busybox/bluez/bluez-utils-3.13/hcid'
> > gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../sdpd -DLINUX
> > -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> > -DDBUS_API_SUBJECT_TO_CHANGE -I../eglib -Wall -O2 -D_FORTIFY_SOURCE=2
> > -MT device.o -MD -MP -MF .deps/device.Tpo -c -o device.o device.c
> > device.c: In function 'start_device':
> > device.c:271: error: 'LMP_PAUSE_ENC' undeclared (first use in this
> > function)
> > device.c:271: error: (Each undeclared identifier is reported only once
> > device.c:271: error: for each function it appears in.)
> > device.c:277: error: 'LMP_NFLUSH_PKTS' undeclared (first use in this
> > function)
> > device.c:280: error: 'LMP_LSTO' undeclared (first use in this
> > function)
> > make[3]: *** [device.o] Error 1
> > make[3]: Leaving directory `/home/busybox/bluez/bluez-utils-3.13/hcid'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/home/busybox/bluez/bluez-utils-3.13/hcid'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/busybox/bluez/bluez-utils-3.13'
> > make: *** [all] Error 2
> >
> > could anyone tell me where am going wrong.
>
> your includes are screwed up. You need to make sure it uses the headers
> of bluez-utils-3.13 and not some older ones installed one your system.
>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

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

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

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

* Re: [Bluez-users] bluez-utils and bluez-libs
  2007-08-08  8:57   ` umamahesh yelchuru venkata
@ 2007-08-11 18:13     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2007-08-11 18:13 UTC (permalink / raw)
  To: BlueZ users

Hi,

> Thanks for your reply.Can you guide how to proceed, i use linux-2.6.11
> for MIPS architecture(Au1200 processor) shall i use some other version
> will it help and can you verify whether my configuration and
> compilation is correct.waiting for your kind reply.

the latest upstream kernel is 2.6.22. So you should start using the
latest one and not stick with some ancient one.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2007-08-11 18:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-08  5:35 [Bluez-users] bluez-utils and bluez-libs umamahesh yelchuru venkata
2007-08-08  8:17 ` Marcel Holtmann
2007-08-08  8:57   ` umamahesh yelchuru venkata
2007-08-11 18:13     ` Marcel Holtmann

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