During the build of DAHDI 3.2.0 the make process fails with the following output:
make[2]: Leaving directory '/usr/src/linux-headers-5.15.0-89-generic'
make[1]: Leaving directory '/home/srodgers/src/asterisk-complete/dahdi-linux-complete-3.2.0+3.2.0/linux'
(cd tools && autoreconf -i && [ -f config.status ] || ./configure --with-dahdi=../linux)
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'auxdir'.
libtoolize: copying file 'auxdir/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:66: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:66: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:66: the top level
configure.ac:69: warning: The macro `AC_GNU_SOURCE' is obsolete.
configure.ac:69: You should run autoupdate.
./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from...
configure.ac:69: the top level
configure.ac:82: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:82: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:82: the top level
configure.ac:177: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:177: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
acinclude.m4:30: AST_EXT_LIB_SETUP is expanded from...
configure.ac:177: the top level
configure.ac:178: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:178: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
acinclude.m4:30: AST_EXT_LIB_SETUP is expanded from...
configure.ac:178: the top level
configure.ac:179: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:179: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
acinclude.m4:30: AST_EXT_LIB_SETUP is expanded from...
configure.ac:179: the top level
configure.ac:180: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:180: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
acinclude.m4:30: AST_EXT_LIB_SETUP is expanded from...
configure.ac:180: the top level
configure.ac:18: error: possibly undefined macro: AC_SUBST
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:174: error: possibly undefined macro: AC_CHECK_LIB
configure.ac:219: error: possibly undefined macro: AC_DEFINE
configure.ac:223: error: possibly undefined macro: AC_MSG_NOTICE
autoreconf: error: /usr/bin/autoconf failed with exit status: 1
configure: error: cannot find required auxiliary files: config.guess config.sub compile missing install-sh
make: *** [Makefile:10: all] Error 1
srodgers@asterisk:~/src/asterisk-complete/dahdi-linux-complete-3.2.0+3.2.0$ uname -a
Linux asterisk 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
srodgers@asterisk:~/src/asterisk-complete/dahdi-linux-complete-3.2.0+3.2.0$
It looks like the DAHDI build process depends on some very old autoconf tools, but I’m not sure. Does anyone have any ideas on how to resolve this error on Ubuntu Server 22.04?