linux交叉编译aix_请教arm-linux-gcc交叉编译的一个 错误

用arm-linux-gcc编译蓝牙程序时出现了如下错误,已经将libbluetooth这个库放到/usr/local/arm/3.4.1/arm-linux/lib中,

In file included from /usr/include/sys/socket.h:36,

from /usr/include/bluetooth/rfcomm.h:32,

from obex.c:6:

/usr/include/bits/socket.h:92:1: warning: "PF_BLUETOOTH" redefined

In file included from obex.c:5:

/usr/include/bluetooth/bluetooth.h:41:1: warning: this is the location of the previous definition

In file included from /usr/include/sys/socket.h:36,

from /usr/include/bluetooth/rfcomm.h:32,

from obex.c:6:

/usr/include/bits/socket.h:126:1: warning: "AF_BLUETOOTH" redefined

In file included from obex.c:5:

/usr/include/bluetooth/bluetooth.h:40:1: warning: this is the location of the previous definition

/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/lib/libbluetooth.so: undefined reference to `__mem

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值