This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
Error when re-compiling libc
- From: Luca <luca dot piol at fastwebnet dot it>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 02 Dec 2006 08:17:19 +0100
- Subject: Error when re-compiling libc
Hi all.
I upgraded libc-sources to latest cvs version.
I have a previous libc version installed on the system.
Now when compiling new libc I get the following error:
gcc -B/tools/bin/ ../sysdeps/ieee754/dbl-64/s_signbit.c -c -std=gnu99
-O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g
-Wstrict-prototypes -mpreferred-stack-boundary=4 -Wno-uninitialized
-D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -I../include
-I/mnt/sources/libc-build/math -I/mnt/sources/libc-build
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686
-I../sysdeps/unix/sysv/linux/i386/i686
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
-I../sysdeps/pthread -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/i686 -I../sysdeps/unix/sysv/i386
-I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv
-I../sysdeps/unix/i386/i686 -I../sysdeps/unix/i386
-I../nptl/sysdeps/unix -I../libidn/sysdeps/unix -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/i386/i686/fpu
-I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686
-I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu
-I../nptl/sysdeps/i386 -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 -I../nptl -I../libidn
-I.. -I../libio -I. -nostdinc -isystem
/mnt/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.3.0/include -isystem
/tools/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h -o
/mnt/lfs/sources/libc-build/math/s_signbit.o -MD -MP -MF
/mnt/lfs/sources/libc-build/math/s_signbit.o.dt -MT
/mnt/lfs/sources/libc-build/math/s_signbit.o
../sysdeps/ieee754/dbl-64/s_signbit.c:27: error: redefinition of '__signbit'
../sysdeps/i386/fpu/bits/mathinline.h:135: error: previous definition of
'__signbit' was here
make[2]: *** [/mnt/sources/libc-build/math/s_signbit.o] Error 1
make[1]: *** [math/subdir_lib] Error 2
libc configured in this way:
mkdir libc-build; cd libc-build
../libc/configure --prefix=/tools --enable-profile
--enable-add-ons=nptl,libidn --enable-kernel=2.6.0
--with-binutils=/tools/bin --without-gd --without-selinux
--with-headers=/tools/include
Thanks in advance,
Luca