Welcome 微信登录

首页 / 操作系统 / Linux / 关于Ubuntu 10.04下编译BlueZ错误

自己在Ubuntu 10.04下编译BlueZ总是出现各种错误,这次错误如下:----------------------------------------------------------------/opt/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /lib/libgcc_s.so.1 when searching for libgcc_s.so.1
/opt/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /lib/libgcc_s.so.1 when searching for libgcc_s.so.1
gdbus/mainloop.o: In function `add_watch":
mainloop.c:(.text+0x2b0): undefined reference to `g_malloc0_n"
gdbus/mainloop.o: In function `add_timeout":
mainloop.c:(.text+0x53c): undefined reference to `g_malloc0_n"
gdbus/mainloop.o: In function `g_dbus_set_disconnect_function":
mainloop.c:(.text+0xa18): undefined reference to `g_malloc0_n"
gdbus/watch.o: In function `filter_data_get":
watch.c:(.text+0x698): undefined reference to `g_malloc0_n"----------------------------------------------------------------解决方案:glib版本不够,开始下载的glib版本是2.16.5,升级为glib2.24.2,并且将交叉编译好的libglib*文件放到arm-linux-gcc下的lib文件夹下,再重新编译BlueZ,顺利编译成功!安装 Windows 7 之后再安装 Ubuntu 11.04 处理方法Linux下时间戳格式和标准时间格式的转换相关资讯      Ubuntu教程 
  • Ubuntu教程 - 使用Ubuntu拷贝CD和  (12/18/2013 14:38:16)
  • 让Ubuntu 12.10支持RAR和7Z文件解  (11/15/2012 18:51:50)
  • Windows 7硬盘安装Ubuntu 12.10图  (11/03/2012 19:22:47)
  • 完美安装Ubuntu 12.10最新AMD显卡  (11/27/2012 08:17:47)
  • Win 7硬盘安装Ubuntu 12.10  (11/05/2012 13:30:34)
  • 虚拟机上Ubuntu 11.10升级到12.04  (10/12/2012 20:00:38)
本文评论 查看全部评论 (0)
表情: 姓名: 字数