Skip to contentSkip to conversation

bluez-utils2: Bluetooth header files not found

Bluez-users Pierre N 3 participants 6 messages Apr 23, 2004 Bluetooth drivers

lore
Share & tools
lore

Pierre N

author
#0 lore raw

Hi,

Trying to compile bluez-utils2 out from CVS. I get this error message on ./configure:

checking for unistd.h... yes
checking bluetooth/bluetooth.h usability... no checking bluetooth/bluetooth.h presence... no checking for bluetooth/bluetooth.h... no
configure: error: Bluetooth header files not found

I tried ./configure --without-bluetooth
./configure --with-bluetooth=/usr/src/kernel-headers-2.4.22 I always get the same error message.

Using 2.4.22 on powerpc. What else do you guys need?

--
Pierre

#1 lore raw
Quoted 4 lines · Pierre N

checking bluetooth/bluetooth.h usability... no checking bluetooth/bluetooth.h presence... no checking for bluetooth/bluetooth.h... no
configure: error: Bluetooth header files not found

Have you compiled and installed bluez-libs?

Geoff.

-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

author
#2 lore raw

Done. Got libs (and after that libs2) from CVS.
./bootstrap
./configure
Pointed --with-bluetooth to the proper path and now here is what I get:

checking bluetooth/bluetooth.h usability... yes
checking bluetooth/bluetooth.h presence... no
configure: WARNING: bluetooth/bluetooth.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: bluetooth/bluetooth.h: proceeding with the compiler's result
checking for bluetooth/bluetooth.h... yes
checking for bt_inquiry in -lbluetooth... no
configure: error: Bluetooth library not found

Moving forward slowly...

--
Pierre

Quoted 10 lines · Geoff Shang
Quoted 4 lines · Pierre N

checking bluetooth/bluetooth.h usability... no checking bluetooth/bluetooth.h presence... no checking for bluetooth/bluetooth.h... no
configure: error: Bluetooth header files not found

Have you compiled and installed bluez-libs?

Geoff.

author
#3 lore raw

Well, I'm even more stupid than my wildest dreams. Forgot to run make, now that I did it everything is fine. And my USB dongle is used for the first time since switching to Linux!!! Great work. Thanks for all your help guys and you should advertise hid2hci everywhere!!

--
Pierre

Quoted 33 lines · Pierre N

Done. Got libs (and after that libs2) from CVS.
./bootstrap
./configure
Pointed --with-bluetooth to the proper path and now here is what I get:

checking bluetooth/bluetooth.h usability... yes
checking bluetooth/bluetooth.h presence... no
configure: WARNING: bluetooth/bluetooth.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: bluetooth/bluetooth.h: proceeding with the compiler's result
checking for bluetooth/bluetooth.h... yes
checking for bt_inquiry in -lbluetooth... no
configure: error: Bluetooth library not found

Moving forward slowly...

--
Pierre

Quoted 10 lines · Geoff Shang
Quoted 4 lines · Pierre N

checking bluetooth/bluetooth.h usability... no checking bluetooth/bluetooth.h presence... no checking for bluetooth/bluetooth.h... no
configure: error: Bluetooth header files not found

Have you compiled and installed bluez-libs?

Geoff.

maintainer
#4 lore raw

Hi Pierre,

Quoted 4 lines

Well, I'm even more stupid than my wildest dreams. Forgot to run make, now that I did it everything is fine. And my USB dongle is used for the first time since switching to Linux!!! Great work. Thanks for all your help guys and you should advertise hid2hci everywhere!!

since this tool don't depends on any other library I plan to include it into the next release of bluez-utils.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#5 lore raw
In reply to Pierre N

Hi Pierre,

Quoted 9 lines

Trying to compile bluez-utils2 out from CVS. I get this error message on ./configure:

checking for unistd.h... yes
checking bluetooth/bluetooth.h usability... no checking bluetooth/bluetooth.h presence... no checking for bluetooth/bluetooth.h... no
configure: error: Bluetooth header files not found

Quoted 5 lines

I tried ./configure --without-bluetooth
./configure --with-bluetooth=/usr/src/kernel-headers-2.4.22 I always get the same error message.

Using 2.4.22 on powerpc. What else do you guys need?

you must not specify the path of the kernel includes, because userspace programs should never include kernel header files. It is the prefix of your previous installed libs2 from CVS.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users