glibc-2.7 step 1 compilation error

Dima tatooine at ukr.net
Tue Jan 15 10:38:39 PST 2008


Hi All

LFS book       : SVN-2008-0104
uname -a       : Linux saturn 2.6.23.8-34.fc7 #1 SMP Thu Nov 22 20:32:37 EST 2007 i586 i586 i386 GNU/Linux
CPU            : Intel Pentium MMX 200

On step 5.6 have next error while compiling glibc-2.7:

a - io/lstat64.oS
a - io/fstatat.oS
a - io/fstatat64.oS
a - io/mknod.oS
a - io/mknodat.oS
a - debug/warning-nop.oS
a - debug/stack_chk_fail_local.oS
: /mnt/lfs/sources/glibc-build/libc_nonshared.a
gcc -B/tools/bin/   -nostdlib -nostartfiles -r -o /mnt/lfs/sources/glibc-build/libc_pic.os \
         -Wl,-d -Wl,--whole-archive /mnt/lfs/sources/glibc-build/libc_pic.a
/mnt/lfs/sources/glibc-build/libc_pic.a(memcpy_chk.os): In function `__memcpy_chk':
/var/src/glibc-2.7/debug/memcpy_chk.c:32: multiple definition of `__memcpy_chk'
/mnt/lfs/sources/glibc-build/libc_pic.a(memcpy.os):(.text+0x0): first defined here
/mnt/lfs/sources/glibc-build/libc_pic.a(mempcpy_chk.os): In function `__mempcpy_chk':
/var/src/glibc-2.7/debug/mempcpy_chk.c:33: multiple definition of `__mempcpy_chk'
/mnt/lfs/sources/glibc-build/libc_pic.a(mempcpy.os):(.text+0x0): first defined here
/mnt/lfs/sources/glibc-build/libc_pic.a(memset_chk.os): In function `__memset_chk':
/var/src/glibc-2.7/debug/memset_chk.c:28: multiple definition of `__memset_chk'
/mnt/lfs/sources/glibc-build/libc_pic.a(memset.os):(.text+0x0): first defined here
collect2: ld returned 1 exit status
make[1]: *** [/mnt/lfs/sources/glibc-build/libc_pic.os] Error 1
make[1]: Leaving directory `/var/src/glibc-2.7'
make: *** [all] Error 2

What's wrong ? How to resolve this problem ?

-- 
Good Luck & By ...
mailto:tatooine at ukr.net




More information about the lfs-support mailing list