I get the following error message /I applied the glibc21.patch from the src.rpm/: /usr/src/redhat/SOURCES/src/bin/nslookup/list.c:528: the use of `mktemp' is dangerous, better use `mkstemp' ../../lib/libbind.a(herror.o): In function `herror': /usr/src/redhat/SOURCES/src/lib/resolv/herror.c:102: undefined reference to `__h_errno' ../../lib/libbind.a(res_data.o): In function `__res_mkquery': /usr/src/redhat/SOURCES/src/lib/resolv/res_data.c:154: undefined reference to `__h_errno_set' ../../lib/libbind.a(res_data.o): In function `__res_mkupdate': /usr/src/redhat/SOURCES/src/lib/resolv/res_data.c:165: undefined reference to `__h_errno_set' ../../lib/libbind.a(res_data.o): In function `__res_query': /usr/src/redhat/SOURCES/src/lib/resolv/res_data.c:179: undefined reference to `__h_errno_set' ../../lib/libbind.a(res_data.o): In function `__res_update': /usr/src/redhat/SOURCES/src/lib/resolv/res_data.c:230: undefined reference to `__h_errno_set' ../../lib/libbind.a(res_data.o): In function `__res_search': /usr/src/redhat/SOURCES/src/lib/resolv/res_data.c:244: undefined reference to `__h_errno_set' ../../lib/libbind.a (res_data.o):/usr/src/redhat/SOURCES/src/lib/resolv/res_data.c:259: more undefined references to `__h_errno_set' follow collect2: ld returned 1 exit status make[2]: *** [nslookup] Error 1 make[2]: Leaving directory `/usr/src/redhat/SOURCES/src/bin/nslookup' make[1]: *** [nslookup] Error 2 make[1]: Leaving directory `/usr/src/redhat/SOURCES/src/bin' make: *** [all] Error 2 make: Leaving directory `/usr/src/redhat/SOURCES/src'
I can't reproduce this. Make sure you've applied the other patches (in particular the -rh patch), as well.