首页 > lfs 7.6编译glibc报错

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 根本没有那一行


按照官网给的方案 重新编译通过了 0.0

【热门文章】
【热门文章】