LFS-7.2-glibc编译 more undefined references to `__stack_chk_guard' follow
我学着LFS 7.2,并在Fedora平台下进行编译,发现如下错误:(这是第五章的glibc编译):
n `res_gethostbyaddr':
/root/lfs/sources/glibc-2.16.0/resolv/gethnamaddr.c:644: undefined reference to `__stack_chk_guard'
/root/lfs/sources/glibc-2.16.0/resolv/gethnamaddr.c:783: undefined reference to `__stack_chk_guard'
/root/lfs/sources/glibc-build/resolv/libresolv_pic.a(gethnamaddr.os): In function `__GI_res_gethostbyname2':
/root/lfs/sources/glibc-2.16.0/resolv/gethnamaddr.c:510: undefined reference to `__stack_chk_guard'
/root/lfs/sources/glibc-build/resolv/libresolv_pic.a(gethnamaddr.os):/root/lfs/sources/glibc-2.16.0/resolv/gethnamaddr.c:636: more undefined references to `__stack_chk_guard' follow
collect2: error: ld returned 1 exit status
make[2]: *** [/root/lfs/sources/glibc-build/resolv/libresolv.so] Error 1
make[2]: Leaving directory `/root/lfs/sources/glibc-2.16.0/resolv'
make[1]: *** [resolv/others] Error 2
make[1]: Leaving directory `/root/lfs/sources/glibc-2.16.0'
make: *** [all] Error 2
有没有遇到过这个错误的大侠?谢谢,牙疼上火中。。。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论