I am trying to upgrade to a newer version of glibc. I know its a pain but this is the only option. can anyone tell me whats going on? I am not using a mainstream distro so there is no package managers like rpm. Glibc has to be compiled from source.
Current specs: linux 2.4.18, glibc 2.3.1, gcc 3.2, binutils 2.13
I have downloaded the sources: glibc-2.3.2.tar.gz glibc-linuxthreads-2.3.2.tar.gz and used "configure --enable-add-ons=linuxthreads --prefix=/usr". Configure works with no error but "make" does:
thanks
Current specs: linux 2.4.18, glibc 2.3.1, gcc 3.2, binutils 2.13
I have downloaded the sources: glibc-2.3.2.tar.gz glibc-linuxthreads-2.3.2.tar.gz and used "configure --enable-add-ons=linuxthreads --prefix=/usr". Configure works with no error but "make" does:
Code:
gcc dl-runtime.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -static -mpreferred-stack-boundary=2 -fexceptions -fasynchronous-unwind-tables -I../include -I. -I/usr/local/src/buid/elf -I.. -I../libio -I/usr/local/src/buid -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 -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /usr/local/src/buid/elf/dl-runtime.o -MD -MP -MF /usr/local/src/buid/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/buid/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'
thanks