From: "Meenakshi Seeballack" <meena2010@gmail.com>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] Missing Bluetooth header file
Date: Thu, 1 Mar 2007 14:30:52 +0000 [thread overview]
Message-ID: <ddea76ce0703010630y5a29fc97rf24578716ed5b00b@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1653 bytes --]
Hello,
I am new to the linux world and I have installed Eclipse, with CDT.
I am running the simplescan code off this website
http://people.csail.mit.edu/albert/bluez-intro/c401.html
and I am getting these errors:
simplescan.c:6:33: error: bluetooth/bluetooth.h: No such file or directory
simplescan.c :7:27: error: bluetooth/hci.h: No such file or directory
simplescan.c:8:31: error: bluetooth/hci_lib.h: No such file or directory
simplescan.c : In function 'main':
simplescan.c:12: error: 'inquiry_info' undeclared (first use in this
function)
simplescan.c:12: error: (Each undeclared identifier is reported only once
simplescan.c:12: error: for each function it appears in.)
simplescan.c:12: error: 'ii' undeclared (first use in this function)
simplescan.c:28: error: 'IREQ_CACHE_FLUSH' undeclared (first use in this
function)
simplescan.c:29: error: expected expression before ')' token
simplescan.c:36: warning: incompatible implicit declaration of built-in
function 'memset'
simplescan.c:39: warning: incompatible implicit declaration of built-in
function 'strcpy'
simplescan.c:46:2: warning: no newline at end of file
I can see these header files:
/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
Where is the hci_lib.h header file? Can anyone please assist me?
Meena
[-- Attachment #1.2: Type: text/html, Size: 2133 bytes --]
[-- Attachment #2: Type: text/plain, Size: 345 bytes --]
-------------------------------------------------------------------------
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
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
reply other threads:[~2007-03-01 14:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ddea76ce0703010630y5a29fc97rf24578716ed5b00b@mail.gmail.com \
--to=meena2010@gmail.com \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox