Josh Miller joshua at
Thu Sep 2 00:02:12 UTC 2010

On 09/01/2010 03:26 PM, Scott Haneda wrote:
> You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
> + aclocal -I m4 --force
> warning: underquoted definition of NOM_PATH_FILE
>   run info '(automake)Extending aclocal'
>   or see
> contrib/dlz/ warning: underquoted definition of DLZ_ADD_DRIVER
> + autoconf -f
> error: possibly undefined macro: AC_C_FLEXIBLE_ARRAY_MEMBER
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> error: Bad exit status from /var/tmp/rpm-tmp.45014 (%build)
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.45014 (%build)

It looks like this version of Bind is expecting a newer version of 
autoconf and expects new macros defined, like 
AC_C_FLEXIBLE_ARRAY_MEMBER, which was introduced in autoconf 2.61.

I was able to get past this error by commenting out this macro in the file within the archive.

1. pushd /usr/src/redhat/SOURCES/
2. tar xzvf bind-9.7.1-P2.tar.gz
3. vi bind-9.7.1-P2/
4. Comment out line 285 with a #
5. remove old archive:  rm -rf bind-9.7.1-P2.tar.gz
6. archive the new version:  tar czvf bind-9.7.1-P2.tar.gz bind-9.7.1-P2
7. re-run rpmbuild command

After this, I successfully created the RPMs.

Josh Miller, RHCE/VCP
Seattle, WA
Linux Solutions Provider

More information about the bind-users mailing list