1

我有一些问题要编译glib。好像m4不是最新的。我收到此错误:

In file included from clean-temp.h:22:0,
             from clean-temp.c:23:
./stdio.h:477:1: error: 'gets' undeclared here (not in a function)

因此,当我编译 glib 时出现此错误:

WARNING: 'automake-1.13' is probably too old.
     You should only need it if you modified 'Makefile.am' or
     'configure.ac' or m4 files included by 'configure.ac'.
     The 'automake' program is part of the GNU Automake package:
     <http://www.gnu.org/software/automake>
     It also requires GNU Autoconf, GNU m4 and Perl in order to run:
     <http://www.gnu.org/software/autoconf>
     <http://www.gnu.org/software/m4/>
     <http://www.perl.org/>

PerlAutoconf并且Automake 1.14编译成功。因此,我得出结论,问题出在 m4 上。

4

0 回答 0