haulm 发表于 2011-9-16 02:06:24

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

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: *** Error 1
error: Bad exit status from /var/tmp/rpm-tmp.EWi874 (%build)

panpanpdj 发表于 2011-9-16 14:56:41

ml的系统好多软件都老了,该总体升一升了

sejishikong 发表于 2011-9-16 21:13:45

编译服务器的应该可以吧.

zy_sunshine 发表于 2011-9-17 00:39:44

chrome GCC编译要8G内存的说...haulm辛苦了

haulm 发表于 2011-9-17 12:33:03

原帖由 zy_sunshine 于 2011-9-17 00:39 发表 http://forum.linuxfans.org/images/common/back.gif
chrome GCC编译要8G内存的说...haulm辛苦了
编译时间比较长,我内存只有 2G,看来得加容了。从出错的源头查,是 glibc 不兼容吧,编译这个怕是影响到整个系统,看来 2.5的 chromium 的编译只能停在 12了。
页: [1]
查看完整版本: 编译 chromium 13 失败了,底层库支持不兼容了