[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Basic support for Bluetooth
From: |
Marcel Holtmann |
Subject: |
Re: Basic support for Bluetooth |
Date: |
27 Aug 2002 01:01:32 +0200 |
Hi Pawel,
> Erm... Before commiting:
> gcc -O2 -Wall -I../../include -I/usr/X11R6/include -c -o unixbluetooth.o
> unixbluetooth.c
> In file included from unixbluetooth.c:28:
> ../../include/devices/unixbluetooth.h:40: bluetooth/bluetooth.h: No such
> file or directory
> ../../include/devices/unixbluetooth.h:41: bluetooth/rfcomm.h: No such file
> or directory
> gmake[1]: *** [unixbluetooth.o] Error 1
> gmake[1]: Leaving directory `/home/pkot/gnokii/common/devices'
> make: *** [common/devices] Error 2
>
> What is required to use this? I probably need to to some autodetection in
> the configure, but what should I look for?
yes, you need something to compile it. What you need are the BlueZ Libs
from CVS at bluez.sf.net (Version with RFCOMM support is not yet
released). You should look for the two include files
"bluetooth/bluetooth.h" and "bluetooth/rfcomm.h" in your include path
(normaly under "/usr/include") and you have also to add "-lbluetooth" to
the linker. If you want to integrate a very secure check you should look
for "struct sockaddr_rc" in "bluetooth/rfcomm.h".
Regards
Marcel