Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > BTSCO compile errors

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-16-2006   #1 (permalink)
Just 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:
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.
NoIdentity is offline  


Reply With Quote
Old 11-17-2006   #2 (permalink)
Just 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.
NoIdentity is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 02:15 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2