2007-01-27 18:11:41

by yunus özen

[permalink] [raw]
Subject: [Bluez-devel] fedora core 6 and bluez

Hi all,

I have a fedora core 6 installed laptop. My "uname -r" output is
here :"2.6.18-1.2798.fc6".

I have tried to write some program with these includes :
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>

When I try to compile it by gcc I see these error messages :
bluez01.c:5:33: error: bluetooth/bluetooth.h: No such file or directory
bluez01.c:6:27: error: bluetooth/hci.h: No such file or directory
bluez01.c:7:31: error: bluetooth/hci_lib.h: No such file or directory

What can I do now?

Thanks,
Saltuk.


Attachments:
(No filename) (640.00 B)
(No filename) (777.00 B)
(No filename) (347.00 B)
(No filename) (164.00 B)
Download all attachments

2007-01-28 02:15:56

by Albert Huang

[permalink] [raw]
Subject: Re: [Bluez-devel] fedora core 6 and bluez

sudo yum install bluez-devel


On 1/27/07, yunus =F6zen <[email protected]> wrote:
> Hi all,
>
> I have a fedora core 6 installed laptop. My "uname -r" output is
> here :"2.6.18-1.2798.fc6".
>
> I have tried to write some program with these includes :
> #include <stdio.h>
> #include <stdlib.h>
> #include <unistd.h>
> #include <sys/socket.h>
> #include <bluetooth/bluetooth.h>
> #include <bluetooth/hci.h>
> #include <bluetooth/hci_lib.h>
>
> When I try to compile it by gcc I see these error messages :
> bluez01.c:5:33: error: bluetooth/bluetooth.h: No such file or directory
> bluez01.c:6:27: error: bluetooth/hci.h: No such file or directory
> bluez01.c:7:31: error: bluetooth/hci_lib.h: No such file or directory
>
> What can I do now?
>
> Thanks,
> Saltuk.
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share y=
our
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
>
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel