Here is the log: --- ... gcc -D_GNU_SOURCE -O2 -fno-strength-reduce -pipe -o nslookup main.o getinfo.o debug.o send.o skip.o list.o subr.o commands.o \ ../../lib/libbind.a -lfl ../../lib/libbind.a(herror.o): In function `herror': herror.o(.text+0x41): undefined reference to `__h_errno' ../../lib/libbind.a(res_data.o): In function `__res_mkquery': res_data.o(.text+0x209): undefined reference to `__h_errno_set' ../../lib/libbind.a(res_data.o): In function `__res_query': res_data.o(.text+0x2c4): undefined reference to `__h_errno_set' ../../lib/libbind.a(res_data.o): In function `__res_querydomain': res_data.o(.text+0x374): undefined reference to `__h_errno_set' ../../lib/libbind.a(res_data.o): In function `__res_search': res_data.o(.text+0x428): undefined reference to `__h_errno_set' ../../lib/libbind.a(res_data.o): In function `__res_mkupdate': res_data.o(.text+0x604): undefined reference to `__h_errno_set' ../../lib/libbind.a(res_data.o)(.text+0x6ac): more undefined references to `__h_errno_set' follow collect2: ld returned 1 exit status make[2]: *** [nslookup] Error 1 make[2]: Leaving directory `/usr/mjt/rpm/build/bind-8.2.2_P5/src/bin/nslookup' make[1]: *** [nslookup] Error 2 make[1]: Leaving directory `/usr/mjt/rpm/build/bind-8.2.2_P5/src/bin' make: *** [all] Error 2 make: Leaving directory `/usr/mjt/rpm/build/bind-8.2.2_P5/src' Bad exit status from /var/tmp/rpm-tmp.46722 (%build) --- Note that sometimes bind compiled with glibc-2.1.3 craches on 2.1.90. For now, I can't figure where and when (things are very unstable). Maybe I can show more info after some further investigations... :(
This was a compiler bug; it's fixed now.