[6.0] glibc compile memcmp compile problem

Joel Mayes bluebird_zenith at fastmail.com.au
Tue Dec 14 15:35:12 PST 2004


G'day All;

Trying to compile LFS 6.0 on a Debian Sarge box, and am getting the
following error when compiling glibc in chapter 5

make[2]: Entering directory `/mnt/lfs/tools/build/glibc-2.3.4-20040701/string'

gcc -B/tools/bin/ ../sysdeps/i386/i686/memcmp.S -c -I../include
-I. -I/mnt/lfs/tools/build/glibc-build/string -I.. -I../libio -I../nptl
-I/mnt/lfs/tools/build/glibc-build -I../sysdeps/i386/elf
-I../nptl/sysdeps/unix/sysv/linux/i386/i686
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix
-I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686
-I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu
-I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
-nostdinc -isystem
/mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/3.4.1/include -isystem
/tools/glibc-kernheaders -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include
../include/libc-symbols.h -DASSEMBLER -DGAS_SYNTAX -Wa,--noexecstack -o
/mnt/lfs/tools/build/glibc-build/string/memcmp.o -MD -MP -MF
/mnt/lfs/tools/build/glibc-build/string/memcmp.o.dt -MT
/mnt/lfs/tools/build/glibc-build/string/memcmp.o
../sysdeps/i386/i686/memcmp.S: Assembler messages:
../sysdeps/i386/i686/memcmp.S:390: Error: can't resolve `.rodata'
{.rodata section} - `memcmp' {.text section}
make[2]: *** [/mnt/lfs/tools/build/glibc-build/string/memcmp.o] Error 1
make[2]: Leaving directory `/mnt/lfs/tools/build/glibc-2.3.4-20040701/string'
make[1]: *** [string/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/tools/build/glibc-2.3.4-20040701'
make: *** [all] Error 2

I've compiling using the autoconf & automake from the LFS 6.0 book as
the debian autoconf/automake is out of date (again)

Can anyone offer some sage advise?

-- 
|  Joel Mayes     |   /~\   ASCII Ribbon campaign
|  Accordionist   |   \_/  stop HTML mail and news
|  Musician       |   / \ 
|  Music Teacher  |



More information about the lfs-support mailing list