下载地址
Blue Z:BlueZ
dbus:下载
libffi:下载
zlib:下载
glib:下载
expat:下载
ncurses:下载
编译
expat
//执行
$./configure --prefix=/home/aaa/bt/bluetooth/install --host=arm-linux
//报错:
make[2]: Entering directory '/home/aaa/bt/bluetooth/expat-2.2.6/doc'
ERROR: Configure with --with-docbook for "make dist".
//解决:
$./configure --prefix=/home/aaa/bt/bluetooth/install --host=arm-linux --with-docbook
//报错
checking for docbook-to-man... no
configure: error: Required program 'docbook2x-man' not found.
//解决
$sudo apt-get install docbook//执行之后还是报错,故执行下面这条
$sudo apt-get install docbook2x
$./configure --prefix=/home/aaa/bt/bluetooth/install --host=arm-linux --with-docbook
$make
$make install
dbus
//执行
$export PKG_CONFIG_LIBDIR=/home/aaa/bt/bluetooth/install/lib/pkgconfig
$echo ac_cv_have_abstract_sockets=yes>arm-linux.cache
$./