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:
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
And so does this code up to a point:
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
When I make, I get the following errors:
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
I would greatly appreciate any help.
Thanks in advance.