QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2028|回复: 4

编译 chromium 13 失败了,底层库支持不兼容了

[复制链接]
发表于 2011-9-16 02:06:24 | 显示全部楼层 |阅读模式
glibc 太旧了,没得搞。。。


CXX(target) out/Release/obj.target/allocator/third_party/tcmalloc/chromium/src/tcmalloc.o
third_party/tcmalloc/chromium/src/tcmalloc.cc:379: error: conflicting declaration 'void* (* volatile __malloc_hook)(size_t, const void*)'
/usr/include/malloc.h:165: error: '__malloc_hook' has a previous declaration as 'void* (* __malloc_hook)(size_t, const void*)'
third_party/tcmalloc/chromium/src/tcmalloc.cc:387: error: conflicting declaration 'void* (* volatile __realloc_hook)(void*, size_t, const void*)'
/usr/include/malloc.h:167: error: '__realloc_hook' has a previous declaration as 'void* (* __realloc_hook)(void*, size_t, const void*)'
third_party/tcmalloc/chromium/src/tcmalloc.cc:393: error: conflicting declaration 'void (* volatile __free_hook)(void*, const void*)'
/usr/include/malloc.h:163: error: '__free_hook' has a previous declaration as 'void (* __free_hook)(void*, const void*)'
third_party/tcmalloc/chromium/src/tcmalloc.cc:1587: error: conflicting declaration 'void* (* volatile __memalign_hook)(size_t, size_t, const void*)'
/usr/include/malloc.h:169: error: '__memalign_hook' has a previous declaration as 'void* (* __memalign_hook)(size_t, size_t, const void*)'
make: *** [out/Release/obj.target/allocator/third_party/tcmalloc/chromium/src/tcmalloc.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.EWi874 (%build)
发表于 2011-9-16 14:56:41 | 显示全部楼层
ml的系统好多软件都老了,该总体升一升了
回复

使用道具 举报

发表于 2011-9-16 21:13:45 | 显示全部楼层
编译服务器的应该可以吧.
回复

使用道具 举报

发表于 2011-9-17 00:39:44 | 显示全部楼层
chrome GCC编译要8G内存的说...haulm辛苦了
回复

使用道具 举报

 楼主| 发表于 2011-9-17 12:33:03 | 显示全部楼层
原帖由 zy_sunshine 于 2011-9-17 00:39 发表
chrome GCC编译要8G内存的说...haulm辛苦了

编译时间比较长,我内存只有 2G,看来得加容了。从出错的源头查,是 glibc 不兼容吧,编译这个怕是影响到整个系统,看来 2.5的 chromium 的编译只能停在 12了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-22 15:47 , Processed in 0.039603 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表