public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] btsco under FC3
@ 2005-01-06  4:46 Peter Robinson
  2005-01-06  7:28 ` Bob Gustafson
  2005-01-06 12:24 ` Marcel Holtmann
  0 siblings, 2 replies; 21+ messages in thread
From: Peter Robinson @ 2005-01-06  4:46 UTC (permalink / raw)
  To: bluez-devel

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [Bluez-devel] btsco under FC3
@ 2005-01-06 15:36 Bob Gustafson
  0 siblings, 0 replies; 21+ messages in thread
From: Bob Gustafson @ 2005-01-06 15:36 UTC (permalink / raw)
  To: bluez-devel

Whoops - no tarball - loaded from CVS

BobG


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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [Bluez-devel] btsco under FC3
@ 2005-01-06 15:51 Bob Gustafson
  2005-01-06 17:26 ` Marcel Holtmann
  0 siblings, 1 reply; 21+ messages in thread
From: Bob Gustafson @ 2005-01-06 15:51 UTC (permalink / raw)
  To: bluez-devel

OK, from scratch - get @AO.. problem

[root@hoho2 blue]# mv btsco btsco.save
[root@hoho2 blue]# mkdir btsco
[root@hoho2 blue]# cp -r btsco.save/CVS btsco
[root@hoho2 blue]# cd btsco
[root@hoho2 btsco]# cvs update -d
...
[root@hoho2 btsco]# ./bootstrap 2>&1 | tee bootstrap.out
configure.in: installing `./install-sh'
configure.in: installing `./missing'
[root@hoho2 btsco]# ./configure 2>&1 | tee config.out
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: executing depfiles commands
[root@hoho2 btsco]# make 2>&1 | tee make.out
make  all-recursive
make[1]: Entering directory `/home/user1/blue/btsco'
Making all in sbc
make[2]: Entering directory `/home/user1/blue/btsco/sbc'
gcc -DHAVE_CONFIG_H -I. -I. -I..    @AO_CFLAGS@ -Wall -O2 -c sbc.c
gcc: @AO_CFLAGS@: No such file or directory
make[2]: *** [sbc.o] Error 1
make[2]: Leaving directory `/home/user1/blue/btsco/sbc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user1/blue/btsco'
make: *** [all] Error 2
[root@hoho2 btsco]#


BobG


Sent by me a minute or so aga
>Whoops - no tarball - loaded from CVS
>
>BobG
>
>
>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
>>Bluez-devel@lists.sourceforge.net
>>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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [Bluez-devel] btsco under FC3
@ 2005-01-06 16:21 Bob Gustafson
  0 siblings, 0 replies; 21+ messages in thread
From: Bob Gustafson @ 2005-01-06 16:21 UTC (permalink / raw)
  To: bluez-devel

[-- Attachment #1: Type: text/plain, Size: 1081 bytes --]

Building a new directory from CVS (with old directory as btsco.save)

[root@hoho2 btsco]# cd ..
[root@hoho2 blue]# diff -Naur btsco btsco.save > btsco.p

[root@hoho2 blue]# ls -l btsco.p
-rw-r--r--  1 root root 1015578 Jan  6 09:51 btsco.p
[root@hoho2 blue]#

Not so useful right now (huge). Need to extract the needful.
See attached file 'pspit.p'

Now, execute these commands

[root@hoho2 blue]# patch -p0 < pspit.p
[root@hoho2 blue]# cd btsco
[root@hoho2 btsco]# make 2>&1 | tee make.out
...
...
libtool --mode=link gcc  -Wall -O2   -o a2play  a2play.o -lbluetooth
-lasound -l
m -ldl -lpthread
gcc -Wall -O2 -o a2play a2play.o  -lbluetooth -lasound -lm -ldl -lpthread
make[2]: Leaving directory `/home/user1/blue/btsco'
make[1]: Leaving directory `/home/user1/blue/btsco'
[root@hoho2 btsco]#

Looks a lot better.

(Keep in mind that the patch is useful only after having done a failed make
at least once.. :-( )

Now, just do the 'make install' phases

(I did other up2dates besides libao-devel - if you have problems, let me
know and I will try to reconstruct what I did)

BobG

[-- Attachment #2: pspit.p --]
[-- Type: application/mac-binhex40, Size: 2982 bytes --]

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

end of thread, other threads:[~2005-01-08  1:42 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-06  4:46 [Bluez-devel] btsco under FC3 Peter Robinson
2005-01-06  7:28 ` Bob Gustafson
2005-01-06 12:24 ` Marcel Holtmann
2005-01-06 14:23   ` Bob Gustafson
2005-01-06 14:51     ` Marcel Holtmann
2005-01-06 15:33       ` Bob Gustafson
2005-01-07  6:15   ` Peter Robinson
2005-01-07  7:14     ` Brad Midgley
2005-01-07  7:19       ` Peter Robinson
2005-01-07 11:08         ` Lars Grunewaldt
2005-01-07 11:01     ` Henryk Plötz
2005-01-07 11:10       ` Lars Grunewaldt
2005-01-08  1:42       ` Peter Robinson
  -- strict thread matches above, loose matches on Subject: below --
2005-01-06 15:36 Bob Gustafson
2005-01-06 15:51 Bob Gustafson
2005-01-06 17:26 ` Marcel Holtmann
2005-01-07  3:30   ` Peter Robinson
2005-01-07  4:20     ` Brad Midgley
2005-01-07  3:43   ` Bob Gustafson
     [not found]   ` <v04020a21be03b42174eb@192.168.49.19>
2005-01-07  6:06     ` Peter Robinson
2005-01-06 16:21 Bob Gustafson

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