You can try ./configure --prefix=/usr --libexecdir=/usr/bin
--disable-profile --enable-add-ons=linuxthreads --without-cvs
--without-gd --without-__thread or declare _errno, _h_errno, and _res.
This requirement is in ChangeLog, line 2569.
2002-08-02 Ulrich Drepper <drepper@redhat.com>
* pthread.c: Declare _errno, _h_errno, and _res unless we use TLS
internally."