自己编译的bluez 里面缺少 hciattach 命令
-
将XR829 补丁加入 bluez-5.50 里面进行编译,发现编译完成之后,发现没有 hciattach 命令的生成。
在
bluez-5.50/tools
路径下面,没有发现 hciattach 命令文件的生成。make install 的全部日志如下:
make --no-print-directory install-am /bin/mkdir -p '/usr/bin' /bin/bash ./libtool --mode=install /usr/bin/install -c client/bluetoothctl monitor/btmon tools/rctest tools/l2test tools/l2ping tools/bccmd tools/bluemoon tools/hex2hcd tools/mpris-proxy tools/btattach '/usr/bin' libtool: install: /usr/bin/install -c client/bluetoothctl /usr/bin/bluetoothctl libtool: install: /usr/bin/install -c monitor/btmon /usr/bin/btmon libtool: install: /usr/bin/install -c tools/rctest /usr/bin/rctest libtool: install: /usr/bin/install -c tools/l2test /usr/bin/l2test libtool: install: /usr/bin/install -c tools/l2ping /usr/bin/l2ping libtool: install: /usr/bin/install -c tools/bccmd /usr/bin/bccmd libtool: install: /usr/bin/install -c tools/bluemoon /usr/bin/bluemoon libtool: install: /usr/bin/install -c tools/hex2hcd /usr/bin/hex2hcd libtool: install: /usr/bin/install -c tools/mpris-proxy /usr/bin/mpris-proxy libtool: install: /usr/bin/install -c tools/btattach /usr/bin/btattach /bin/mkdir -p '/usr/libexec/bluetooth' /bin/bash ./libtool --mode=install /usr/bin/install -c src/bluetoothd obexd/src/obexd '/usr/libexec/bluetooth' libtool: install: /usr/bin/install -c src/bluetoothd /usr/libexec/bluetooth/bluetoothd libtool: install: /usr/bin/install -c obexd/src/obexd /usr/libexec/bluetooth/obexd /bin/mkdir -p '/usr/lib/cups/backend' /bin/bash ./libtool --mode=install /usr/bin/install -c profiles/cups/bluetooth '/usr/lib/cups/backend' libtool: install: /usr/bin/install -c profiles/cups/bluetooth /usr/lib/cups/backend/bluetooth /bin/mkdir -p '/etc/dbus-1/system.d' /usr/bin/install -c -m 644 src/bluetooth.conf '/etc/dbus-1/system.d' /bin/mkdir -p '/usr/share/dbus-1/services' /usr/bin/install -c -m 644 obexd/src/org.bluez.obex.service '/usr/share/dbus-1/services' /bin/mkdir -p '/usr/share/dbus-1/system-services' /usr/bin/install -c -m 644 src/org.bluez.service '/usr/share/dbus-1/system-services' /bin/mkdir -p '/usr/share/man/man1' /usr/bin/install -c -m 644 tools/rctest.1 tools/l2ping.1 tools/bccmd.1 tools/btattach.1 tools/hid2hci.1 '/usr/share/man/man1' /bin/mkdir -p '/usr/share/man/man8' /usr/bin/install -c -m 644 src/bluetoothd.8 '/usr/share/man/man8' /bin/mkdir -p '/lib/udev/rules.d' /usr/bin/install -c -m 644 tools/97-hid2hci.rules '/lib/udev/rules.d' /bin/mkdir -p '/lib/systemd/system' /usr/bin/install -c -m 644 src/bluetooth.service '/lib/systemd/system' /bin/mkdir -p '/usr/lib/systemd/user' /usr/bin/install -c -m 644 obexd/src/obex.service '/usr/lib/systemd/user' /bin/mkdir -p '/lib/udev' /bin/bash ./libtool --mode=install /usr/bin/install -c tools/hid2hci '/lib/udev' libtool: install: /usr/bin/install -c tools/hid2hci /lib/udev/hid2hci
-
此回复已被删除! -
原因已经找到,原来是Makefile 里面没有加入编译。
需要在./configure 配置 enable_deprecated 选项,这样生成Makefile的时候,才会加入hciattach 命令的相关编译。
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号