移植bluze问题:configure: error: Bluetooth library is required
编译bluez-utils-3.36的时候出现如下错误:
./configure --prefix=$blue "CC=arm-none-linux-gnueabi-gcc -I$blue/include -L$blue/lib" --host=arm-linux --disable-audio
ooth-build/include -L/home/share/wangjh/work/transplant/bluetooth/bluetooth-build/lib static flag -static works... yes
checking if arm-none-linux-gnueabi-gcc -I/home/share/wangjh/work/transplant/bluetooth/bluetooth-build/include -L/home/share/wangjh/work/transplant/bluetooth/bluetooth-build/lib supports -c -o file.o... yes
checking whether the arm-none-linux-gnueabi-gcc -I/home/share/wangjh/work/transplant/bluetooth/bluetooth-build/include -L/home/share/wangjh/work/transplant/bluetooth/bluetooth-build/lib linker (/opt/arm-2007q1/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
checking for ppoll... yes
checking for arm-linux-pkg-config... no
checking for pkg-config... /opt/arm-arago-linux-gnueabi/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BLUEZ... no
configure: error: Bluetooth library is required
在configure之前我已经编译了bluez-libs-3.36,并且在$blue/lib下面安装了下面的lib文件:
libbluetooth.a
libbluetooth.la
libbluetooth.so
libbluetooth.so.2
libbluetooth.so.2.11.2
并且是交叉编译生成的,但是conifigure的时候仍然报configure: error: Bluetooth library is required
错误,哪位大神帮忙指点一下!