How to rebuild bluez

懵懂的女人 提交于 2020-01-01 18:16:11

问题


How can I rebuild bluez? Is it possible? Lets just say I want to change something in avctp.c for example. I download the latest bluez release from their website and make the change I need to make. Now, how do I get the changes to be effective; i.e. what do I need to do to rebuild bluetoothd?

Note: I am using Ubuntu 12.04


回答1:


The quickest way to do this is just to remake the whole bluez package with the following commands:

./configure
make
make install

After that, you can run the configured bluetoothd executable form the /src directory by using ./bluetoothd, or replacing the bluetoothd in /usr/sbin with the bluetoothd executable in /src so that every time the bluetoothd command is passed, the new configured executable is called.

Hope this helps.



来源:https://stackoverflow.com/questions/22358286/how-to-rebuild-bluez

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!