Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    自己编译的bluez 里面缺少 hciattach 命令

    其它全志芯片讨论区
    2
    3
    1850
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      captain LV 5 last edited by

      将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
      
      1 Reply Last reply Reply Quote Share 0
      • YuzukiTsuru
        柚木 鉉 LV 9 last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote Share 0
        • C
          captain LV 5 last edited by

          原因已经找到,原来是Makefile 里面没有加入编译。
          需要在./configure 配置 enable_deprecated 选项,这样生成Makefile的时候,才会加入hciattach 命令的相关编译。

          1 Reply Last reply Reply Quote Share 1
          • 1 / 1
          • First post
            Last post

          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策