Wie man den autoconf-Fehler behebt: possibly undefined macro: AM_INIT_AUTOMAKE
Problem
Beim Ausführen von autoconf sehen Sie eine Fehlermeldung wie
autoconf_error_log.txt
configure.ac:15: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:29: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:36: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:38: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:55: error: possibly undefined macro: AC_CHECK_PTHREAD_SETNAME_NPLösung
Vor dem Ausführen von autoconf müssen Sie aclocal ausführen, um die aclocal.m4-Datei zu generieren.
run_aclocal.sh
aclocalDanach können Sie autoconf erneut ausführen und der Fehler sollte verschwunden sein.
Check out similar posts by category:
Build Systems
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow