编译m4 / glib时出错

时间:2013-09-01 11:47:38

标签: c++ linux compilation m4

编译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/>

PerlAutoconfAutomake 1.14已成功编译。 因此,我的结论是问题在于m4。

0 个答案:

没有答案