Results 1 to 2 of 2
Hi,
I'm trying to get my dell latitude x300 running knoppix talking to my motorola h500 bluetooth handsfree. I have been following this howto.
I installed all the bluez packages ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-16-2006 #1Just Joined!
- Join Date
- Aug 2006
- Posts
- 4
BTSCO compile errors
Hi,
I'm trying to get my dell latitude x300 running knoppix talking to my motorola h500 bluetooth handsfree. I have been following this howto.
I installed all the bluez packages and also alsa-base, alsa-source, alsa-utils, automake, autoconf, libtool.
The following code goes smoothly:
And so does this code up to a point:Code:cvs -d:pserver:anonymous@sbc.cvs.sourceforge.net:/cvsroot/sbc login cvs -d:pserver:anonymous@sbc.cvs.sourceforge.net:/cvsroot/sbc co sbc cd sbc ./bootstrap ./configure --prefix=/usr make sudo make install
When I make, I get the following errors:Code:cvs -d:pserver:anonymous@bluetooth-alsa.cvs.sourceforge.net:/cvsroot/bluetooth-alsa login cvs -d:pserver:anonymous@bluetooth-alsa.cvs.sourceforge.net:/cvsroot/bluetooth-alsa co btsco cd btsco ./bootstrap ./configure --prefix=/usr --enable-alsaplugin make sudo make install
I would greatly appreciate any help.Code:make all-recursive make[1]: Entering directory `/usr/src/btsco' Making all in sbc make[2]: Entering directory `/usr/src/btsco/sbc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/btsco/sbc' Making all in avdtp make[2]: Entering directory `/usr/src/btsco/avdtp' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/btsco/avdtp' Making all in alsa-plugins make[2]: Entering directory `/usr/src/btsco/alsa-plugins' Making all in headsetd make[3]: Entering directory `/usr/src/btsco/alsa-plugins/headsetd' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -O2 -c states.c In file included from states.c:24: /usr/include/bluetooth/rfcomm.h:47: error: syntax error before "sa_family_t" /usr/include/bluetooth/rfcomm.h:50: error: syntax error before '}' token states.c: In function `rfcommConnectAsync': states.c:140: error: storage size of `addr' isn't known states.c:140: warning: unused variable `addr' states.c: In function `headsetIdleHandleRfcommConnReq': states.c:321: error: storage size of `client_addr' isn't known states.c:321: warning: unused variable `client_addr' make[3]: *** [states.o] Error 1 make[3]: Leaving directory `/usr/src/btsco/alsa-plugins/headsetd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/btsco/alsa-plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/btsco' make: *** [all-recursive-am] Error 2
Thanks in advance.
- 11-17-2006 #2Just Joined!
- Join Date
- Aug 2006
- Posts
- 4
Turns out the make file specified CC=C89, I just changed it to CC=gcc and that did the trick.


Reply With Quote
