10.04下编译BlueZ,glib2.18.1出现`g_malloc0_n'错误
来源:互联网 发布:淘宝图片保护怎么开通 编辑:程序博客网 时间:2024/06/06 00:53
CC audio/telephony.o
CCLD src/bluetoothd
audio/avdtp.o: In function `avdtp_parse_cmd':
avdtp.c:(.text+0x349c): undefined reference to `g_malloc0_n'
attrib/client.o: In function `prim_get_properties':
client.c:(.text+0x37c): undefined reference to `g_malloc0_n'
src/manager.o: In function `manager_update_adapters':
manager.c:(.text+0xd8): undefined reference to `g_malloc0_n'
src/manager.o: In function `get_properties':
manager.c:(.text+0x99c): undefined reference to `g_malloc0_n'
src/adapter.o: In function `adapter_emit_device_found':
adapter.c:(.text+0x19c8): undefined reference to `g_malloc0_n'
src/adapter.o:adapter.c:(.text+0x22d4): more undefined references to `g_malloc0_n' follow
collect2: ld returned 1 exit status
make[1]: *** [src/bluetoothd] Error 1
CCLD src/bluetoothd
audio/avdtp.o: In function `avdtp_parse_cmd':
avdtp.c:(.text+0x349c): undefined reference to `g_malloc0_n'
attrib/client.o: In function `prim_get_properties':
client.c:(.text+0x37c): undefined reference to `g_malloc0_n'
src/manager.o: In function `manager_update_adapters':
manager.c:(.text+0xd8): undefined reference to `g_malloc0_n'
src/manager.o: In function `get_properties':
manager.c:(.text+0x99c): undefined reference to `g_malloc0_n'
src/adapter.o: In function `adapter_emit_device_found':
adapter.c:(.text+0x19c8): undefined reference to `g_malloc0_n'
src/adapter.o:adapter.c:(.text+0x22d4): more undefined references to `g_malloc0_n' follow
collect2: ld returned 1 exit status
make[1]: *** [src/bluetoothd] Error 1
make: *** [all] Error 2
原因为glib2的版本过低,升级glib2版本
修改glib2的版本号为2.24.0可以编译过
- 10.04下编译BlueZ,glib2.18.1出现`g_malloc0_n'错误
- 关于Ubuntu 10.04下编译BlueZ错误
- 基于glib2.12.13编译出现的问题总结
- openwrt 编译glib2.28.6
- glib2.32.4交叉编译
- ubuntu10.04下编译通过bluez-4.88
- 编译BlueZ
- Lion+XCode4下出现的编译错误
- 编译bluez-5.25 遇到的错误及解决方法
- 编译bluez-5.25 通过 Linux环境下运行
- mini2440上编译bluez
- BlueZ的交叉编译
- 交叉编译bluez-4.95
- linux bluez编译
- openwrt 编译bluez-4.101
- BlueZ交叉编译
- 命令行下编译eboot,startup.s文件出现错误
- TORNADO下编译出现undefined reference to `itoa'错误
- ORACLE 监听服务启动后又停止了
- python编译pyc和pyo
- 我的女儿昨天会走路了
- 诺基亚为Lumia发布增强现实测试应用City Lens
- linux下SVN的一些基本操作(ubuntu)
- 10.04下编译BlueZ,glib2.18.1出现`g_malloc0_n'错误
- 线程
- 缓存应用程序数据(二)
- 快速排序
- android界面优化工具Hierarchy Viewer和Layoutopt
- 图解ide硬盘接口图 sata硬盘接口图 SCSI硬盘接口
- linux下安装jdk和JBOSS
- AF_INET和PF_INET的细微不同
- DateTime.Now.ToString(),往往存在有一些隐患