2005-01-06 04:46:02

by Peter Robinson

[permalink] [raw]
Subject: [Bluez-devel] btsco under FC3

Hey All,

Just trying to compile btsco under FC3 and have run into a little
trouble compiling the latest CVS version. I can't actually get it to
compile as yet but will include the HW details FYI.

D-Link DBT-120 rev B2
Headset Motorola HS-810
I also have a Motorola HS-850 on the way (the 810 is actually a friends).

The actual problem is that it can't locate the @AO_CFLAGS@ directory
during compile. I'm following the directions on the website.

Cheers
Pete

hciconfig hci0 revision
hci0: Type: USB
BD Address: 00:80:C8:26:F7:76 ACL MTU: 192:8 SCO MTU: 64:8
HCI 15.3
Chip version: BlueCore02
Max key size: 56 bit
SCO mapping: HCI
[root@trinity ~]# lsusb
Bus 001 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle

[peter@trinity btsco]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
checking for libasound headers version >= 1.0.3... found.
checking for snd_ctl_open in -lasound... yes
./configure: line 3249: XIPH_PATH_AO: command not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sbc/Makefile
config.status: creating avdtp/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
[peter@trinity btsco]$ make
make all-recursive
make[1]: Entering directory `/home/peter/download/voip/btsco'
Making all in sbc
make[2]: Entering directory `/home/peter/download/voip/btsco/sbc'
rm -f libsbc.a
ar cru libsbc.a sbc.o
ranlib libsbc.a
gcc -DHAVE_CONFIG_H -I. -I. -I.. @AO_CFLAGS@ -Wall -O2 -c sbcinfo.c
gcc: @AO_CFLAGS@: No such file or directory
make[2]: *** [sbcinfo.o] Error 1
make[2]: Leaving directory `/home/peter/download/voip/btsco/sbc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/peter/download/voip/btsco'
make: *** [all] Error 2
[peter@trinity btsco]$


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2005-01-08 01:42:42

by Peter Robinson

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco under FC3

> > As seen below it detects the device, the voice settings and connects
> > with a RFCOMM channel but then it just sits there. I end up just
> > putting it into the background and try running the varoius examples.
> > Output of all included below. I get no sound at all. any ideas or
> > suggestions?
>
> You did press the connect button on the headset, did you?

Yes. You put this headset into a Pairing mode, run btsco, it asks for
a pin for the headset and away you go.

> > [root@trinity btsco]# btsco 00:07:A4:0E:69:3D
> ...
> > [1]+ btsco 00:07:A4:0E:69:3D &
> > [root@trinity btsco]# mpg123 --au -
> > /home/audio/mp3/green_day/american_idiot/green_day-boulevard_of_broke
> > n_dreams.mp3
> > | sbc/sbcenc - | ./a2play 00:07:A4:0E:69:3D
>
> That is not supposed to work. btsco (the program) and a2play are two
> different things. You should only be able to use one of them at any
> one time, if a2play works for you at all (which it doesn't, as the
> HS-810 can't do A2DP).

That may be my interpretation of the web page. Something for me to try
when I get some more time.

So does a2play etc ask for a pin to pair with the headset as well?

P


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-01-07 11:10:24

by Lars Grunewaldt

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco under FC3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maybe we have to improve the documentation what btsco.ko, btsco, btsco2
and a2play are and what they do - and what they do not :)

to bad I have so much work to do :(

regards,
~ Lars

Henryk Pl=F6tz wrote:
| Moin,
|
| Am Fri, 7 Jan 2005 14:15:44 +0800 schrieb Peter Robinson:
|
|
|>As seen below it detects the device, the voice settings and connects
|>with a RFCOMM channel but then it just sits there. I end up just
|>putting it into the background and try running the varoius examples.
|>Output of all included below. I get no sound at all. any ideas or
|>suggestions?
|
|
| You did press the connect button on the headset, did you?
|
|
|>[root@trinity btsco]# btsco 00:07:A4:0E:69:3D
|
| ...
|
|>[1]+ btsco 00:07:A4:0E:69:3D &
|>[root@trinity btsco]# mpg123 --au -
|>/home/audio/mp3/green_day/american_idiot/green_day-boulevard_of_broke
|>n_dreams.mp3
|>| sbc/sbcenc - | ./a2play 00:07:A4:0E:69:3D
|
|
| That is not supposed to work. btsco (the program) and a2play are two
| different things. You should only be able to use one of them at any
| one time, if a2play works for you at all (which it doesn't, as the
| HS-810 can't do A2DP).
|


- --
Lars Grunewaldt
* software development
* multimedia design
skills: C/C++/Java/PHP/(X)HTML/Flash/audio/video
web: http://www.dark-reality.de
mail: [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB3m4gQWC6DTWkDAoRAt0+AJwI2FmEti8TF7BPlix5Iy3MBHcFSwCfeh+M
+0BM6oKH8T/vu+WmM+KCu20=3D
=3DbvFY
-----END PGP SIGNATURE-----


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-01-07 11:08:51

by Lars Grunewaldt

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco under FC3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I also think it's not needed to run btsco when you try to use a2play!

btsco is for using the headset with alsa in normal (mono) audio
applications, while a2play connects directly to the headset to play
stereo music.

So it should be either btsco *or* a2play!

best regards,
~ Lars

Peter Robinson wrote:
|>It's not a real daemon. You run it in the foreground and click the
|>connect button on the headset. Then you can send and receive audio from
|>another app.
|
|
| OK so its not suppose to exit then...
|
| P
|
|
| -------------------------------------------------------
| The SF.Net email is sponsored by: Beat the post-holiday blues
| Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
| It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
| _______________________________________________
| Bluez-devel mailing list
| [email protected]
| https://lists.sourceforge.net/lists/listinfo/bluez-devel
|


- --
Lars Grunewaldt
* software development
* multimedia design
skills: C/C++/Java/PHP/(X)HTML/Flash/audio/video
web: http://www.dark-reality.de
mail: [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB3m3DQWC6DTWkDAoRApxyAJoDSkDi4wWBVjrLF0JNZ6pyEyaPwwCfY7q+
jqtiPDRSg21KGNME6M/f1kU=
=YqzK
-----END PGP SIGNATURE-----


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-01-07 11:01:54

by Henryk Plötz

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco under FC3

Moin,

Am Fri, 7 Jan 2005 14:15:44 +0800 schrieb Peter Robinson:

> As seen below it detects the device, the voice settings and connects
> with a RFCOMM channel but then it just sits there. I end up just
> putting it into the background and try running the varoius examples.
> Output of all included below. I get no sound at all. any ideas or
> suggestions?

You did press the connect button on the headset, did you?

> [root@trinity btsco]# btsco 00:07:A4:0E:69:3D
...
> [1]+ btsco 00:07:A4:0E:69:3D &
> [root@trinity btsco]# mpg123 --au -
> /home/audio/mp3/green_day/american_idiot/green_day-boulevard_of_broke
> n_dreams.mp3
> | sbc/sbcenc - | ./a2play 00:07:A4:0E:69:3D

That is not supposed to work. btsco (the program) and a2play are two
different things. You should only be able to use one of them at any
one time, if a2play works for you at all (which it doesn't, as the
HS-810 can't do A2DP).

--
Henryk Pl?tz
Gr??e aus Berlin
~~~~~~~ Un-CDs, nein danke! http://www.heise.de/ct/cd-register/ ~~~~~~~
~ Help Microsoft fight software piracy: Give Linux to a friend today! ~


Attachments:
(No filename) (1.06 kB)
(No filename) (189.00 B)
Download all attachments

2005-01-07 07:19:15

by Peter Robinson

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco under FC3

> It's not a real daemon. You run it in the foreground and click the
> connect button on the headset. Then you can send and receive audio from
> another app.

OK so its not suppose to exit then...

P


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-01-07 07:14:42

by Brad Midgley

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco under FC3

Peter,

It's not a real daemon. You run it in the foreground and click the
connect button on the headset. Then you can send and receive audio from
another app.

Brad

Peter Robinson wrote:
>>>Just trying to compile btsco under FC3 and have run into a little
>>>trouble compiling the latest CVS version. I can't actually get it to
>>>compile as yet but will include the HW details FYI.
>>>
>>>D-Link DBT-120 rev B2
>>>Headset Motorola HS-810
>>>I also have a Motorola HS-850 on the way (the 810 is actually a friends).
>>>
>>>The actual problem is that it can't locate the @AO_CFLAGS@ directory
>>>during compile. I'm following the directions on the website.
>>
>>what about installing the AO library development package.
>
>
> OK with a Motorola HS-810 headset I get it all compiled and when
> following the instructions on the web site I get the following.
>
> The one question I have is regarding btsco. When you run the command
> with a BT Mac address is it suppose to return to the command prompt or
> is it like a daemon?
>
> As seen below it detects the device, the voice settings and connects
> with a RFCOMM channel but then it just sits there. I end up just
> putting it into the background and try running the varoius examples.
> Output of all included below. I get no sound at all. any ideas or
> suggestions?
>
> Pete
>
> [root@trinity btsco]# btsco 00:07:A4:0E:69:3D
> Device is 1:0
> Voice setting: 0x0060
> RFCOMM channel 1 connected
>
>
> [1]+ Stopped btsco 00:07:A4:0E:69:3D
> [root@trinity btsco]# bg
> [1]+ btsco 00:07:A4:0E:69:3D &
> [root@trinity btsco]# mpg123 --au -
> /home/audio/mp3/green_day/american_idiot/green_day-boulevard_of_broken_dreams.mp3
> | sbc/sbcenc - | ./a2play 00:07:A4:0E:69:3D
> High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
> Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
> Uses code from various people. See 'README' for more!
> THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
> Title : Boulevard Of Broken Dreams Artist: Green Day
> Album : American Idiot Year : 2004
> Comment: Genre : Punk Rock
>
> Directory: /home/audio/mp3/green_day/american_idiot/
> Playing MPEG stream from green_day-boulevard_of_broken_dreams.mp3 ...
> MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
> subbands = 1
> allocation method = 1
> channel_mode = 2
> blocks = 3
> sampling frequency = 2
> bitpool = 32
> frame len = 72
> Using address: 00:07:A4:0E:69:3D
> Can't connect to 3D:69:0E:A4:07:00. Invalid argument(22)
> cannot open psm_cmd = 0
> [root@trinity btsco]# mpg123 --au -
> /home/audio/mp3/green_day/american_idiot/green_day-boulevard_of_broken_dreams.mp3
> | sbc/sbcenc - | ./sbc/rcplay 00:07:A4:0E:69:3D -
> High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
> Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
> Uses code from various people. See 'README' for more!
> THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
> Title : Boulevard Of Broken Dreams Artist: Green Day
> Album : American Idiot Year : 2004
> Comment: Genre : Punk Rock
>
> Directory: /home/audio/mp3/green_day/american_idiot/
> Playing MPEG stream from green_day-boulevard_of_broken_dreams.mp3 ...
> MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-01-07 06:15:44

by Peter Robinson

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco under FC3

> > Just trying to compile btsco under FC3 and have run into a little
> > trouble compiling the latest CVS version. I can't actually get it to
> > compile as yet but will include the HW details FYI.
> >
> > D-Link DBT-120 rev B2
> > Headset Motorola HS-810
> > I also have a Motorola HS-850 on the way (the 810 is actually a friends).
> >
> > The actual problem is that it can't locate the @AO_CFLAGS@ directory
> > during compile. I'm following the directions on the website.
>
> what about installing the AO library development package.

OK with a Motorola HS-810 headset I get it all compiled and when
following the instructions on the web site I get the following.

The one question I have is regarding btsco. When you run the command
with a BT Mac address is it suppose to return to the command prompt or
is it like a daemon?

As seen below it detects the device, the voice settings and connects
with a RFCOMM channel but then it just sits there. I end up just
putting it into the background and try running the varoius examples.
Output of all included below. I get no sound at all. any ideas or
suggestions?

Pete

[root@trinity btsco]# btsco 00:07:A4:0E:69:3D
Device is 1:0
Voice setting: 0x0060
RFCOMM channel 1 connected


[1]+ Stopped btsco 00:07:A4:0E:69:3D
[root@trinity btsco]# bg
[1]+ btsco 00:07:A4:0E:69:3D &
[root@trinity btsco]# mpg123 --au -
/home/audio/mp3/green_day/american_idiot/green_day-boulevard_of_broken_dreams.mp3
| sbc/sbcenc - | ./a2play 00:07:A4:0E:69:3D
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Title : Boulevard Of Broken Dreams Artist: Green Day
Album : American Idiot Year : 2004
Comment: Genre : Punk Rock

Directory: /home/audio/mp3/green_day/american_idiot/
Playing MPEG stream from green_day-boulevard_of_broken_dreams.mp3 ...
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
subbands = 1
allocation method = 1
channel_mode = 2
blocks = 3
sampling frequency = 2
bitpool = 32
frame len = 72
Using address: 00:07:A4:0E:69:3D
Can't connect to 3D:69:0E:A4:07:00. Invalid argument(22)
cannot open psm_cmd = 0
[root@trinity btsco]# mpg123 --au -
/home/audio/mp3/green_day/american_idiot/green_day-boulevard_of_broken_dreams.mp3
| sbc/sbcenc - | ./sbc/rcplay 00:07:A4:0E:69:3D -
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Title : Boulevard Of Broken Dreams Artist: Green Day
Album : American Idiot Year : 2004
Comment: Genre : Punk Rock

Directory: /home/audio/mp3/green_day/american_idiot/
Playing MPEG stream from green_day-boulevard_of_broken_dreams.mp3 ...
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-01-06 15:33:32

by Bob Gustafson

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco under FC3

Hi Marcel

Yes, I did that too. @AO.... did not seem to disappear from the Makefile
without help from 'vim'

Will build from tarball again to see if my libtool is necessary.

BobG

>Hi Bob,
>
>> Yes, I did that too.
>>
>> something like 'up2date libao-devel', but the @AO. symbols were still in
>> the Makefile. I did lots of things, so need to do a clean install and
>> update to make certain what needs to be done to what.
>
>you need to ./bootstrap and ./configure again.
>
>Regards
>
>Marcel
>
>
>
>
>-------------------------------------------------------
>The SF.Net email is sponsored by: Beat the post-holiday blues
>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/bluez-devel



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-01-06 14:51:50

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco under FC3

Hi Bob,

> Yes, I did that too.
>
> something like 'up2date libao-devel', but the @AO. symbols were still in
> the Makefile. I did lots of things, so need to do a clean install and
> update to make certain what needs to be done to what.

you need to ./bootstrap and ./configure again.

Regards

Marcel




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-01-06 14:23:44

by Bob Gustafson

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco under FC3

Yes, I did that too.

something like 'up2date libao-devel', but the @AO. symbols were still in
the Makefile. I did lots of things, so need to do a clean install and
update to make certain what needs to be done to what.

It seemed as though all of the libao files installed in /usr/lib were of
the shared variety - thus I experimented with the libtool insertions in
sbc/Makefile as mentioned in my last email.

BobG

On Thu, 06 Jan 2005 13:24:38 +0100, Marcel Holtmann wrote:
>Hi Pete,
>
>> Just trying to compile btsco under FC3 and have run into a little
>> trouble compiling the latest CVS version. I can't actually get it to
>> compile as yet but will include the HW details FYI.
>>
>> D-Link DBT-120 rev B2
>> Headset Motorola HS-810
>> I also have a Motorola HS-850 on the way (the 810 is actually a friends).
>>
>> The actual problem is that it can't locate the @AO_CFLAGS@ directory
>> during compile. I'm following the directions on the website.
>
>what about installing the AO library development package.
>
>Regards
>
>Marcel
>
>
>
>
>-------------------------------------------------------
>The SF.Net email is sponsored by: Beat the post-holiday blues
>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/bluez-devel



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-01-06 12:24:38

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco under FC3

Hi Pete,

> Just trying to compile btsco under FC3 and have run into a little
> trouble compiling the latest CVS version. I can't actually get it to
> compile as yet but will include the HW details FYI.
>
> D-Link DBT-120 rev B2
> Headset Motorola HS-810
> I also have a Motorola HS-850 on the way (the 810 is actually a friends).
>
> The actual problem is that it can't locate the @AO_CFLAGS@ directory
> during compile. I'm following the directions on the website.

what about installing the AO library development package.

Regards

Marcel




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2005-01-06 07:28:17

by Bob Gustafson

[permalink] [raw]
Subject: Re: [Bluez-devel] btsco under FC3

Hi

I got the same thing and managed to fix it by hacking the Makefile in the
sbc directory.

replace the @AO.. stuff in the LDFLAGS with
LDFLAGS = -lao

replace the other place the @AO occurs with nothing (I don't see where at
the moment)

add in libtool commands in the COMPILE and LINK lines - see below

[root@hoho2 btsco]# cd sbc
[root@hoho2 sbc]# grep libtool Makefile
COMPILE = libtool --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES)
$(INCLUDES) $
(AM_CPPFLAGS) \
LINK = libtool --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS)
$(LDFLAG
S) -o $@
[root@hoho2 sbc]#

I apologize for the crude instructions - I will send a patch for that
Makefile tomorrow. Actually, that is the wrong place to apply the patch,
but it seemed to work for me. (I have the btsco command working and it
seems to put out the correct text lines, but my HBH-65 headset isn't
talking at the moment. I tried the arecord and got a 44 byte wav file -
both times I tried.

BobG

On Thu, 6 Jan 2005 12:46:02 +0800 Peter Robinson <[email protected]> wrote
>Hey All,
>
>Just trying to compile btsco under FC3 and have run into a little
>trouble compiling the latest CVS version. I can't actually get it to
>compile as yet but will include the HW details FYI.
>
>D-Link DBT-120 rev B2
>Headset Motorola HS-810
>I also have a Motorola HS-850 on the way (the 810 is actually a friends).
>
>The actual problem is that it can't locate the @AO_CFLAGS@ directory
>during compile. I'm following the directions on the website.
>
>Cheers
>Pete
>
>hciconfig hci0 revision
>hci0: Type: USB
> BD Address: 00:80:C8:26:F7:76 ACL MTU: 192:8 SCO MTU: 64:8
> HCI 15.3
> Chip version: BlueCore02
> Max key size: 56 bit
> SCO mapping: HCI
>[root@trinity ~]# lsusb
>Bus 001 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle
>
>[peter@trinity btsco]$ ./configure
>checking for a BSD-compatible install... /usr/bin/install -c
>checking whether build environment is sane... yes
>checking for gawk... gawk
>checking whether make sets $(MAKE)... yes
>checking for gcc... gcc
>checking for C compiler default output file name... a.out
>checking whether the C compiler works... yes
>checking whether we are cross compiling... no
>checking for suffix of executables...
>checking for suffix of object files... o
>checking whether we are using the GNU C compiler... yes
>checking whether gcc accepts -g... yes
>checking for gcc option to accept ANSI C... none needed
>checking for style of include used by make... GNU
>checking dependency style of gcc... none
>checking for a BSD-compatible install... /usr/bin/install -c
>checking for ranlib... ranlib
>checking for ALSA CFLAGS...
>checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
>checking for libasound headers version >= 1.0.3... found.
>checking for snd_ctl_open in -lasound... yes
>./configure: line 3249: XIPH_PATH_AO: command not found
>configure: creating ./config.status
>config.status: creating Makefile
>config.status: creating sbc/Makefile
>config.status: creating avdtp/Makefile
>config.status: creating config.h
>config.status: config.h is unchanged
>config.status: executing depfiles commands
>[peter@trinity btsco]$ make
>make all-recursive
>make[1]: Entering directory `/home/peter/download/voip/btsco'
>Making all in sbc
>make[2]: Entering directory `/home/peter/download/voip/btsco/sbc'
>rm -f libsbc.a
>ar cru libsbc.a sbc.o
>ranlib libsbc.a
>gcc -DHAVE_CONFIG_H -I. -I. -I.. @AO_CFLAGS@ -Wall -O2 -c sbcinfo.c
>gcc: @AO_CFLAGS@: No such file or directory
>make[2]: *** [sbcinfo.o] Error 1
>make[2]: Leaving directory `/home/peter/download/voip/btsco/sbc'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/peter/download/voip/btsco'
>make: *** [all] Error 2
>[peter@trinity btsco]$
>
>
>-------------------------------------------------------
>The SF.Net email is sponsored by: Beat the post-holiday blues
>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
>_______________________________________________
>Bluez-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/bluez-devel



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel