移植bluze问题:configure: error: Bluetooth library is required

jy00078972 2013-09-23 04:40:16
编译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
错误,哪位大神帮忙指点一下!
...全文
748 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
gao-wei-89 2014-09-18
  • 打赏
  • 举报
回复
楼主解决了吗,我也遇到此问题了,求帮助
jy00078972 2013-09-23
  • 打赏
  • 举报
回复
引用 1 楼 mp777323 的回复:
http://www.arm9home.net/simple/index.php?t17764.html
谢谢你的答复,这个帖子我也看到过了,没解决我的问题,谢谢!
pix77 2013-09-23
  • 打赏
  • 举报
回复
http://www.arm9home.net/simple/index.php?t17764.html

1,318

社区成员

发帖
与我相关
我的任务
社区描述
主要是开发驱动技术
社区管理员
  • 驱动程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧