2004-09-08 08:20:10

by R.Schade

[permalink] [raw]
Subject: [Bluez-users] missing include-files with debian

Hello,

I had installed Debian-stable (2.4.20) with the bluez-debian-packages (I did
not compile the bluez-sources myself). My USB-bluetooth-dongle works fine.
Now, I want code some little application. So I have include the
bluetooth-headerfiles:

#include <bluetooth/bluetooth.h>
#include <bluetooth/rfcomm.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>

The standard include-directory is /usr/include. Directory "bluetooth" exists
there, but contains only one headerfile (bnep.h). Why are missing the other
bluez-headerfiles there?
Is this a debian-"problem" with the package and I have to install/copy/link
the files manually? I had found the missing files at the kernel-sources and
at the bluez-sources.

Thank you for your help.

Ciao, Ralf


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2004-09-08 09:39:37

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] missing include-files with debian

Hi Ralf,

> I had installed Debian-stable (2.4.20) with the bluez-debian-packages (I did
> not compile the bluez-sources myself). My USB-bluetooth-dongle works fine.
> Now, I want code some little application. So I have include the
> bluetooth-headerfiles:
>
> #include <bluetooth/bluetooth.h>
> #include <bluetooth/rfcomm.h>
> #include <bluetooth/hci.h>
> #include <bluetooth/hci_lib.h>
>
> The standard include-directory is /usr/include. Directory "bluetooth" exists
> there, but contains only one headerfile (bnep.h). Why are missing the other
> bluez-headerfiles there?
> Is this a debian-"problem" with the package and I have to install/copy/link
> the files manually? I had found the missing files at the kernel-sources and
> at the bluez-sources.

install the libbluetooth-dev package, but these Debian Woody packages
are very old. Maybe you wanna at least update to Sarge.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users