I'm having a similar problem...
compiling aolserver4
I've compiled tcl correctly but I get this error when I run make in the aolserver directory
make[1]: Entering directory `/home/dcarter/tmp/aolserver-4.0.9/nsthread'
/bin/rm -f libnsthread.so
gcc -pipe -shared -Wl,-soname,libnsthread.so -L../nsthread -L../nsd -o libnsthread.so error.o master.o memory.o mutex.o cslock.o rwlock.o reentrant.o sema.o thread.o tls.o signal.o compat.o time.o fork.o pthread.o -L/usr/lib -ltcl8.4 -ldl -lpthread -lieee -lm -lz -lgcc_s
pthread.o(.text+0x0): In function `_init':
/home/dcarter/tmp/aolserver-4.0.9/nsthread/pthread.c:70: multiple definition of `_init'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../crti.o(.init+0x0): first defined here
collect2: ld returned 1 exit status
make[1]: *** [libnsthread.so] Error 1
make[1]: Leaving directory `/home/dcarter/tmp/aolserver-4.0.9/nsthread'
make: *** [all] Error 1