Return-Path: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: In-Reply-To: <5256d0b05010520461ad68ff3@mail.gmail.com> To: bluez-devel@lists.sourceforge.net From: Bob Gustafson Subject: Re: [Bluez-devel] btsco under FC3 Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 6 Jan 2005 01:28:17 -0600 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 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 >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