关于Ubuntu 10.04下编译BlueZ错误
来源:互联网 发布:c语言string什么意思 编辑:程序博客网 时间:2024/05/16 15:11
自己在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,顺利编译成功!
- 关于Ubuntu 10.04下编译BlueZ错误
- 10.04下编译BlueZ,glib2.18.1出现`g_malloc0_n'错误
- ubuntu10.04下编译通过bluez-4.88
- 编译BlueZ
- 编译bluez-5.25 遇到的错误及解决方法
- Ubuntu下编译insight错误解决
- ubuntu下编译qt的常见错误
- CTorrent在Ubuntu下编译错误解决
- ubuntu下编译qt的常见错误
- Ubuntu 下 QT4 编译错误解决方法
- ubuntu下,gcc编译tinybind错误
- Ubuntu amd64下Xen编译错误解决方案
- Ubuntu 10.04下编译
- 编译bluez-5.25 通过 Linux环境下运行
- 关于ubuntu下的c++编译
- 关于uBuntu下编译Android源码出错
- mini2440上编译bluez
- BlueZ的交叉编译
- C++ - 常量成员函数的含义
- c++ - 编译器会在类中放东西 & 使用抽象数据
- 软件架构师应该知道的97件事 笔记(二)
- Ext.window把mask加到父窗口上
- Flex改变图片或控件的层次关系
- 关于Ubuntu 10.04下编译BlueZ错误
- 终于可以不用radmin了
- 人们对IPv6的两大误解
- DAPM之二:audio paths与dapm kcontrol
- PC/UVa 111003/10278 Fire Station
- 用vim比较文件(Using vim to compare files)
- Android学习讲义各大学全收录系列下载列表
- 从 Android 程序中提取文本资源
- 《设计原本》读书笔记:设计模型