LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: wyl19831016

宿主ubuntu 8.10 LFS 时 glibc出错

[复制链接]
 楼主| 发表于 2009-1-16 18:32:19 | 显示全部楼层
兄弟,我也快了,现在到5.14的Ncurses-5.6了
回复 支持 反对

使用道具 举报

发表于 2009-1-16 19:19:21 | 显示全部楼层
看来你也是晚上在家作LFS,我现在正在lfs下编译glibc-2.8-20080929,这个过程漫长,等吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-16 22:18:42 | 显示全部楼层
还行,说要是出错比较麻烦,我编译glibc的时候出错,换了个更新的版本就好了
回复 支持 反对

使用道具 举报

发表于 2009-1-16 22:43:21 | 显示全部楼层
6.9. 编译Glibc-2.8-20080929 出错了
/sources/glibc-2.8-20080929/posix/../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:76: undefined reference to `__sync_bool_compare_and_swap_4'
/sources/glibc-build/libc_pic.os: In function `nscd_getpw_r':
/sources/glibc-2.8-20080929/nscd/nscd_getpw_r.c:232: undefined reference to `__sync_fetch_and_add_4'
/sources/glibc-build/libc_pic.os: In function `__nscd_drop_map_ref':
/sources/glibc-2.8-20080929/nscd/nscd-client.h:320: undefined reference to `__sync_fetch_and_add_4'
/sources/glibc-build/libc_pic.os: In function `nscd_getgr_r':
/sources/glibc-2.8-20080929/nscd/nscd_getgr_r.c:321: undefined reference to `__sync_fetch_and_add_4'
/sources/glibc-build/libc_pic.os: In function `__nscd_drop_map_ref':
/sources/glibc-2.8-20080929/nscd/nscd-client.h:320: undefined reference to `__sync_fetch_and_add_4'
/sources/glibc-build/libc_pic.os: In function `nscd_gethst_r':
/sources/glibc-2.8-20080929/nscd/nscd_gethst_r.c:400: undefined reference to `__sync_fetch_and_add_4'
/sources/glibc-build/libc_pic.os:/sources/glibc-2.8-20080929/nscd/nscd-client.h:320: more undefined references to `__sync_fetch_and_add_4' follow
/sources/glibc-build/libc_pic.os: In function `__nscd_get_map_ref':
/sources/glibc-2.8-20080929/nscd/nscd_helper.c:406: undefined reference to `__sync_val_compare_and_swap_4'
/sources/glibc-build/libc_pic.os: In function `*__GI___libc_freeres':
/sources/glibc-2.8-20080929/malloc/set-freeres.c:39: undefined reference to `__sync_bool_compare_and_swap_4'
collect2: ld returned 1 exit status
make[1]: *** [/sources/glibc-build/libc.so] Error 1
make[1]: Leaving directory `/sources/glibc-2.8-20080929'
make: *** [all] Error 2
回复 支持 反对

使用道具 举报

发表于 2009-1-16 22:44:20 | 显示全部楼层
不知道这个时候能不能更换glibc为新的版本
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-18 01:04:06 | 显示全部楼层
兄弟,我成功了,呵呵
回复 支持 反对

使用道具 举报

发表于 2009-1-18 08:27:38 | 显示全部楼层
恭喜,我在6.13. GMP-4.2.4编译报错,碰巧昨天又值班,所以就停下来了,把你在Ubuntu下lfs总结一下,共享给大家
回复 支持 反对

使用道具 举报

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

本版积分规则

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