[Techtalk] errors compiling glibc-2.3.3

Darlene Wallach wallachd at earthlink.net
Thu Oct 7 12:02:19 EST 2004


I got the following errors compiling glibc-2.3.3

I looked in /usr/local/src/glibc-2.3.3/elf/dl-runtime.c and
/usr/local/src/glibc-2.3.3/sysdeps/i386/dl-machine.h

I have no idea what to do to correct the errors.

Can anyone suggest what I might have done wrong?

Thank you,

Darlene

gcc dl-runtime.c -c -std=gnu99 -O2 -Wall -Winline 
-Wstrict-prototypes -Wwrite-strings -g 
-mpreferred-stack-boundary=2  -fexceptions 
-fasynchronous-unwind-tables   -I../include -I. 
-I/usr/local/src/glibc-build/elf -I.. -I../libio 
-I/usr/local/src/glibc-build -I../sysdeps/i386/elf 
-I../linuxthreads/sysdeps/unix/sysv/linux/i386 
-I../linuxthreads/sysdeps/unix/sysv/linux 
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread 
-I../linuxthreads/sysdeps/unix/sysv 
-I../linuxthreads/sysdeps/unix 
-I../linuxthreads/sysdeps/i386/i686 
-I../linuxthreads/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../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 -I 
/lib/modules/2.4.18-3/build/include -D_LIBC_REENTRANT -include 
../include/libc-symbols.h       -o 
/usr/local/src/glibc-build/elf/dl-runtime.o -MD -MP -MF 
/usr/local/src/glibc-build/elf/dl-runtime.o.dt
dl-runtime.c:56: error: conflicting types for 'fixup'
../sysdeps/i386/dl-machine.h:158: error: previous declaration of 
'fixup' was here
dl-runtime.c:56: error: conflicting types for 'fixup'
../sysdeps/i386/dl-machine.h:158: error: previous declaration of 
'fixup' was here
dl-runtime.c:141: error: conflicting types for 'profile_fixup'
../sysdeps/i386/dl-machine.h:161: error: previous declaration of 
'profile_fixup' was here
dl-runtime.c:141: error: conflicting types for 'profile_fixup'
../sysdeps/i386/dl-machine.h:161: error: previous declaration of 
'profile_fixup' was here
../sysdeps/i386/dl-machine.h:158: warning: 'fixup' declared 
`static' but never defined
../sysdeps/i386/dl-machine.h:161: warning: 'profile_fixup' 
declared `static' but never defined
make[2]: *** [/usr/local/src/glibc-build/elf/dl-runtime.o] Error 1
make[2]: Leaving directory `/usr/local/src/glibc-2.3.3/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/usr/local/src/glibc-2.3.3'
make: *** [all] Error 2



More information about the Techtalk mailing list