I've tried to build glibc 2.3.3 on RedHat Linux Advanced Serer 2.1
(kernel 2.4.9-e.24), but I ran into an error saying compiler support for
__threads is required, so I used
configure --enable-add-ons=linuxthreads --prefix=/usr/local/glibc
(note: prefix is not the same directory where the distribution was
un-packed. That was done in /usr/local/glibc-2.3.3)
That allowed configure to complete without any further errors.
However, when I ran "make", I got the following:
ld-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 delcaration of
'fixup' was here
dl-runtime.c:141: error: conflicting types for 'profile_fixup'
../systemps/i386/dl-machine.h:161: error: previous delcaration of
'profile_fixup' was here
dl-runtime.c:141: error: conflicting types for 'profile_fixup'
../sysdeps/i386/dl-machine.h:161: error: previous delcaration of
'profile_fixup' was here
../sysdeps/i386/dl-machine.h:158: warning: 'fixup' declared 'static'
but never defined
../sysdeps/i386/sl-machine.h:161: warning: 'profile_fixup' declared'
static' but never defined
make[2]: *** [/usr/local/glibc/elf/dl-runtime.o] Error 1
make[2]: Leaving directory '/usr/local/glibc-2.3.3/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory '/usr/local/glibc-2.3.3'
make: *** [all] Error 2
I'm using gcc 3.4.3, with binutils 2.15.
Does anyone have a fix or a work-around for this?