When attempting to compile (by running 'make') glibc 2.4 the following error occurs.

Code:
CPP='gcc -E -x c-header'  /root/temp_install/glibc-2.4/build/elf/ld-linux.so.2 --library-path /root/temp_install/glibc-2.4/build:/root/temp_install/glibc-2.4/build/math:/root/temp_install/glibc-2.4/build/elf:/root/temp_install/glibc-2.4/build/dlfcn:/root/temp_install/glibc-2.4/build/nss:/root/temp_install/glibc-2.4/build/nis:/root/temp_install/glibc-2.4/build/rt:/root/temp_install/glibc-2.4/build/resolv:/root/temp_install/glibc-2.4/build/crypt:/root/temp_install/glibc-2.4/build/nptl /root/temp_install/glibc-2.4/build/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /root/temp_install/glibc-2.4/build/sunrpc/xbootparam_prot.T
cannot set up thread-local storage: set_thread_area failed when setting up thread-local storage

make[2]: *** [/root/temp_install/glibc-2.4/build/sunrpc/xbootparam_prot.stmp] Error 127
make[2]: Leaving directory `/root/temp_install/glibc-2.4/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/root/temp_install/glibc-2.4'
make: *** [all] Error 2
I'm using a --prefix=/usr.

My system is:

Linux x86_18 2.4.33.3 #1 Fri Sep 1 01:48:52 CDT 2006 i686 pentium4 i386 GNU/Linux
Currently with glibc 2.3.6.
Slackware 11.0