Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-09-2016, 07:53 PM   #1
LQ Newbie
Registered: Oct 2015
Posts: 8

Rep: Reputation: Disabled
BlueZ-4.101 utility hcidump `binary not found` because of Buildroot issue

I'm setting up the BlueZ protocol stack on a custom system using linux 3.3. I'm using buildroot to setup the filesystem, and specifically am using BlueZ-4.101.

I'm attempting to use the hcidump utility to get some logs, but the binary has not been installed.

I've checked that:
  • Device driver is installed in kernel
  • BlueZ Utils is enabled in buildroot .config file
  • Other utilities work, such as hcitool or hciconfig
Going into the Makefile in output/build/bluez_utils-4.101 it would appear that the object file hcidump.o is being compiled into a binary called btmon.

Further investigation would reveal that in Makefile, btmon is assigned to am__EXEEXT_10, and that is then assigned to the variable noinst_PROGRAMS (assuming that means "no install" programs).

So this is where I'm at. I'm pretty sure that this is an automatically generated Makefile by buildroot. I'm not sure how these files are generated, thus I'm unsure as to why btmon is being assigned to the noinst_PROGRAMS variable.

In summary, I believe that my version of BlueZ uses a binary btmon instead of hcidump. btmon is compiled (binary seen at output/build/bluez_utils-4.101/monitor/btmon), but not being installed onto my target system because of instructions in Makefile.

My best guess would something weird about compatibility between my kernel version and bluez. Any suggestions would be greatly appreciated!

Last edited by austinr1028; 03-09-2016 at 08:52 PM.


bluetooth, bluez, buildroot, hci

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to solve "Package bluez was not found" error? JoeStrout Linux - Newbie 2 03-17-2013 06:02 PM
Linux utility to combine two or more binary files into a single binary file mageshvan Programming 7 05-05-2011 09:06 AM
Wizard 101 / Gecko Issue Ace Blackwell Linux - Software 1 09-13-2010 09:40 AM
Issue with BlueZ pin (I think) adriaan.klue Linux - General 2 01-15-2009 09:25 AM
LXer: Fedora Weekly News Issue 101 LXer Syndicated Linux News 0 08-21-2007 03:20 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration