lfs 7.6编译glibc报错
mnt/lfs/sources/glibc-build/resolv/libresolv_pic.a(gethnamaddr.os): In function `getanswer':
/mnt/lfs/sources/glibc-2.20/resolv/gethnamaddr.c:185: undefined reference to `__stack_chk_guard'
/mnt/lfs/sources/glibc-2.20/resolv/gethnamaddr.c:488: undefined reference to `__stack_chk_guard'
/mnt/lfs/sources/glibc-build/resolv/libresolv_pic.a(gethnamaddr.os): In function `__GI_res_gethostbyname2':
/mnt/lfs/sources/glibc-2.20/resolv/gethnamaddr.c:515: undefined reference to `__stack_chk_guard'
/mnt/lfs/sources/glibc-2.20/resolv/gethnamaddr.c:641: undefined reference to `__stack_chk_guard'
/mnt/lfs/sources/glibc-build/resolv/libresolv_pic.a(gethnamaddr.os): In function `res_gethostbyaddr':
/mnt/lfs/sources/glibc-2.20/resolv/gethnamaddr.c:649: undefined reference to `__stack_chk_guard'
/mnt/lfs/sources/glibc-build/resolv/libresolv_pic.a(gethnamaddr.os):/mnt/lfs/sources/glibc-2.20/resolv/gethnamaddr.c:788: more undefined references to `__stack_chk_guard' follow
collect2: error: ld returned 1 exit status
make[2]: *** [/mnt/lfs/sources/glibc-build/resolv/libresolv.so] Error 1
make[2]: *** Waiting for unfinished jobs....
/bin/sh ../scripts/rellns-sh /mnt/lfs/sources/glibc-build/resolv/libanl.so /mnt/lfs/sources/glibc-build/resolv/libanl.so.1.new
mv -f /mnt/lfs/sources/glibc-build/resolv/libanl.so.1.new /mnt/lfs/sources/glibc-build/resolv/libanl.so.1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.20/resolv'
make[1]: *** [resolv/others] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.20'
make: *** [all] Error 2
gcc 版本4.9.1 glibc 版本2.20
已经按照这个改了 但是发现gcc 4.9.1的configure 根本没有那一行
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
按照官网给的方案 重新编译通过了 0.0