Compiling bind9 may throw this error
/bin/sh [...]/bind-9.8.4/libtool --mode=link --tag=CC gcc -shared -o driver.so
driver.lo
libtool: link: gcc -o driver.so .libs/driver.o
/usr/lib/gcc/i486-suse-linux/3.4.6/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
during compilation in folder dlzexternal.
Most probably reason for this is bug in bin/tests/system/dlzexternal/Makefile.in. Replace this line
${LIBTOOL_MODE_LINK} @SO_LD@ -o $@ driver.@O@
by
${LIBTOOL_MODE_LINK} @SO_LD@ -o $@ driver.@O@ dlopen.@O@