Return-Path: Message-ID: <1ab01fb50703012120q62e91355rcad41055dd7d59a0@mail.gmail.com> Date: Fri, 2 Mar 2007 10:50:37 +0530 From: "Vikas Sinha" To: "BlueZ development" In-Reply-To: MIME-Version: 1.0 References: Subject: Re: [Bluez-devel] missing bluetooth header file Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1721492708==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============1721492708== Content-Type: multipart/alternative; boundary="----=_Part_35944_5789993.1172812837848" ------=_Part_35944_5789993.1172812837848 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Meenakshi, u need to compile bluez-devel. Download sorce then untar it into /usr/local/src (you can put it to anywhere. I generally put it there). go into that folder and do ./configure make make install it will compile and put header files to its location. i.e. /usr/include/bluetooth or /usr/local/include/bluetooth . if it create it in second then simply copy it to first path. Then try to compile ur code. plz check ur d-bus version also. On 3/1/07, Meenakshi Seeballack wrote: > > In /usr/lib I have these files: > /usr/lib/libbluetooth.so.2 rw- r - r > /usr/lib/libbluetooth.so.2.4.1 rw- r - r > > And the header files are absent in /usr/include. > > The only header files I can see for bluetooth are here > /usr/src/kernels/2.6.19-1.2911.fc6-i686/include/net/bluetooth/bluetooth.h > /usr/src/kernels/2.6.19- 1.2911.fc6-i686/include/net/bluetooth/hci.h > /usr/src/kernels/2.6.19-1.2911.fc6-i686/include/net/bluetooth/hci_core.h > /usr/src/kernels/2.6.19-1.2911.fc6-i686/include/net/bluetooth/l2cap.h > /usr/src/kernels/2.6.19- 1.2911.fc6-i686 /include/net/bluetooth/rfcomm.h > /usr/src/kernels/2.6.19-1.2911.fc6-i686/include/net/bluetooth/sco.h > > > > And the header files are absent in /usr/include. So how do I get the > bluetooth folder with the header files in /usr/include? > Where is the hci_lib.h header file? > > ---------------------------------------------------------------------------------- > > On 01/03/07, bluez-devel-request@lists.sourceforge.net > wrote: > > > > Send Bluez-devel mailing list submissions to > > bluez-devel@lists.sourceforge.net > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://lists.sourceforge.net/lists/listinfo/bluez-devel > > or, via email, send a message with subject or body 'help' to > > bluez-devel-request@lists.sourceforge.net > > > > You can reach the person managing the list at > > bluez-devel-owner@lists.sourceforge.net > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of Bluez-devel digest..." > > > > > > Today's Topics: > > > > 1. Re: missing bluetooth header file (Vikas Sinha) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Thu, 1 Mar 2007 20:36:08 +0530 > > From: "Vikas Sinha" > > Subject: Re: [Bluez-devel] missing bluetooth header file > > To: "BlueZ development" > > Message-ID: > > < 1ab01fb50703010706j27966cf8j598eae2d38c9b28c@mail.gmail.com> > > Content-Type: text/plain; charset="iso-8859-1" > > > > ok plz check library path. did u have > > > > -rw-r--r-- 1 root root 52530 Aug 17 2004 libbluetooth.a > > lrwxrwxrwx 1 root root 22 Jun 21 2006 libbluetooth.so -> > > libbluetooth.so.1.0.10 > > lrwxrwxrwx 1 root root 22 May 4 2006 libbluetooth.so.1 -> > > libbluetooth.so.1.0.10 > > -rwxr-xr-x 1 root root 49780 Aug 17 2004 libbluetooth.so.1.0.10 > > > > these files in ur /usr/lib or in /usr/local/lib. if these files are > > places > > other place then u need to > > export LD_LIBRARY_PATH=// lib path for these file. These files need at > > the > > time of compilation of any code containing bluetooth.h file. include > > these > > and i think ur programm will work > > > > Also check ur header files are present at /usr/include or not. > > > > > > On 3/1/07, Meenakshi Seeballack < meena2010@gmail.com> wrote: > > > > > > the kernel is 2.6.19-1.2911.fc6-i686, and I assume bluez is installed > > on > > > the machine, since I tried "yum install bluez" and it says "nothing > > to do" > > > > > ------------------------------------------------------------------------------------------------------- > > > > > > On 01/03/07, bluez-devel-request@lists.sourceforge.net < > > bluez-devel-request@lists.sourceforge.net> > > > wrote: > > > -- Impossible itself contain I M Possible Vikas ------=_Part_35944_5789993.1172812837848 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Meenakshi,

u need to compile bluez-devel. Download sorce then untar it into /usr/local/src (you can put it to anywhere. I generally put it there). go into that folder and do
./configure
make
make install


it will compile and put header files to its location. i.e. /usr/include/bluetooth or /usr/local/include/bluetooth . if it create it in second then simply copy it to first path. Then try to compile ur code. plz check ur d-bus version also.


On 3/1/07, Meenakshi Seeballack <meena2010@gmail.com> wrote:
In /usr/lib I have these files:
/usr/lib/libbluetooth.so.2   rw- r - r
/usr/lib/libbluetooth.so.2.4.1   rw- r - r

And the header files are absent in /usr/include.

The only header files I can see for bluetooth are here
/usr/src/kernels/2.6.19-1.2911.fc6-i686/include/net/bluetooth/bluetooth.h
/usr/src/kernels/2.6.19- 1.2911.fc6-i686/include/net/bluetooth/hci.h
/usr/src/kernels/2.6.19-1.2911.fc6-i686/include/net/bluetooth/hci_core.h
/usr/src/kernels/2.6.19-1.2911.fc6-i686/include/net/bluetooth/l2cap.h
/usr/src/kernels/2.6.19- 1.2911.fc6-i686 /include/net/bluetooth/rfcomm.h
/usr/src/kernels/2.6.19-1.2911.fc6-i686/include/net/bluetooth/sco.h

And the header files are absent in /usr/include. So how do I get the bluetooth folder with the header files in /usr/include?
Where is the hci_lib.h header file?
----------------------------------------------------------------------------------

On 01/03/07, bluez-devel-request@lists.sourceforge.net < bluez-devel-request@lists.sourceforge.net> wrote:
Send Bluez-devel mailing list submissions to
        bluez-devel@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
         https://lists.sourceforge.net/lists/listinfo/bluez-devel
or, via email, send a message with subject or body 'help' to
         bluez-devel-request@lists.sourceforge.net

You can reach the person managing the list at
        bluez-devel-owner@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bluez-devel digest..."


Today's Topics:

   1. Re: missing bluetooth header file (Vikas Sinha)


----------------------------------------------------------------------

Message: 1
Date: Thu, 1 Mar 2007 20:36:08 +0530
From: "Vikas Sinha" <compuvikas@gmail.com >
Subject: Re: [Bluez-devel] missing bluetooth header file
To: "BlueZ development" <bluez-devel@lists.sourceforge.net>
Message-ID:
        < 1ab01fb50703010706j27966cf8j598eae2d38c9b28c@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

ok plz check library path. did u have

-rw-r--r--    1 root root    52530 Aug 17  2004 libbluetooth.a
lrwxrwxrwx    1 root root       22 Jun 21  2006 libbluetooth.so ->
libbluetooth.so.1.0.10
lrwxrwxrwx    1 root root       22 May  4  2006 libbluetooth.so.1 ->
libbluetooth.so.1.0.10
-rwxr-xr-x    1 root root    49780 Aug 17  2004 libbluetooth.so.1.0.10

these files in ur /usr/lib or in /usr/local/lib. if these files are places
other place then u need to
export LD_LIBRARY_PATH=// lib path for these file. These files need at the
time of compilation of any code containing bluetooth.h file. include these
and i think ur programm will work

Also check ur header files are present at /usr/include or not.


On 3/1/07, Meenakshi Seeballack < meena2010@gmail.com> wrote:
>
> the kernel is 2.6.19-1.2911.fc6-i686, and I assume bluez is installed on
> the machine, since  I tried "yum install bluez" and it says "nothing to do"
> -------------------------------------------------------------------------------------------------------
>
> On 01/03/07, bluez-devel-request@lists.sourceforge.net <bluez-devel-request@lists.sourceforge.net>
> wrote:



--
Impossible
itself contain
I M Possible

Vikas ------=_Part_35944_5789993.1172812837848-- --===============1721492708== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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=join.php&p=sourceforge&CID=DEVDEV --===============1721492708== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============1721492708==--