[Clfs-support] Chapter 5.8. Glibc-2.7 - build error

Łukasz Choiński faza000 at gmail.com
Sat Jan 5 17:37:01 PST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, i'm trying to compile an lfs system for my Pentium 90 machine
(i586), the host system is an Athlon 1300 (i686) with a LFS-6.3 os,
when compiling glibc-2.7 i get this error:


uild/elf/interp.os -MD -MP -MF
/mnt/clfs/sources/glibc-build/elf/interp.os.dt -MT
/mnt/clfs/sources/glibc-build/elf/interp.os
make[2]: Leaving directory `/home/clfs/sources/glibc-2.7/elf'
cd /mnt/clfs/sources/glibc-build &&
/mnt/clfs/cross-tools/bin/../lib/gcc/i586-pc-linux-gnu/4.2.2/../../../../i586-pc-linux-gnu/bin/ar
cruv lib
c.a `cat csu/stamp.o iconv/stamp.o iconvdata/stamp.o locale/stamp.o
localedata/stamp.o assert/stamp.o ctype/stamp.o intl/stamp.o catgets/stamp
.o math/stamp.o setjmp/stamp.o signal/stamp.o stdlib/stamp.o
stdio-common/stamp.o libio/stamp.o dlfcn/stamp.o malloc/stamp.o
string/stamp.o wc
smbs/stamp.o timezone/stamp.o time/stamp.o dirent/stamp.o grp/stamp.o
pwd/stamp.o posix/stamp.o io/stamp.o termios/stamp.o resource/stamp.o mi
sc/stamp.o socket/stamp.o sysvipc/stamp.o gmon/stamp.o gnulib/stamp.o
wctype/stamp.o manual/stamp.o shadow/stamp.o po/stamp.o argp/stamp.o cry
pt/stamp.o nptl/stamp.o resolv/stamp.o nss/stamp.o rt/stamp.o
conform/stamp.o debug/stamp.o nptl_db/stamp.o inet/stamp.o
hesiod/stamp.o sunrpc
/stamp.o nis/stamp.o nscd/stamp.o streams/stamp.o login/stamp.o
elf/stamp.o stamp.o`
r - csu/version.o
r - locale/C-ctype.o
: /mnt/clfs/sources/glibc-build/libc.a
i586-pc-linux-gnu-gcc   -nostdlib -nostartfiles -r -o
/mnt/clfs/sources/glibc-build/libc_pic.os \
         -Wl,-d -Wl,--whole-archive /mnt/clfs/sources/glibc-build/libc_pic.a
/mnt/clfs/sources/glibc-build/libc_pic.a(memcpy_chk.os): In function
`__memcpy_chk':
/home/clfs/sources/glibc-2.7/debug/memcpy_chk.c:32: multiple definition
of `__memcpy_chk'
/mnt/clfs/sources/glibc-build/libc_pic.a(memcpy.os):(.text+0x0): first
defined here
/mnt/clfs/sources/glibc-build/libc_pic.a(mempcpy_chk.os): In function
`__mempcpy_chk':
/home/clfs/sources/glibc-2.7/debug/mempcpy_chk.c:33: multiple definition
of `__mempcpy_chk'
/mnt/clfs/sources/glibc-build/libc_pic.a(mempcpy.os):(.text+0x0): first
defined here
/mnt/clfs/sources/glibc-build/libc_pic.a(memset_chk.os): In function
`__memset_chk':
/home/clfs/sources/glibc-2.7/debug/memset_chk.c:28: multiple definition
of `__memset_chk'
/mnt/clfs/sources/glibc-build/libc_pic.a(memset.os):(.text+0x0): first
defined here
collect2: ld returned 1 exit status
make[1]: *** [/mnt/clfs/sources/glibc-build/libc_pic.os] Error 1
make[1]: Leaving directory `/home/clfs/sources/glibc-2.7'
make: *** [all] Error 2
clfs:/mnt/clfs/sources/glibc-build$


Best regards
Luke
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHgDC98XHLzAxx2W0RAlm7AKCBUrKSM2UFLbbpPr7PzC5wT56ncwCeKj8T
sJyWDBK4M0aNuj3QUddeEr0=
=8tp6
-----END PGP SIGNATURE-----



More information about the Clfs-support mailing list