红联Linux门户
Linux帮助

安装nagios-plus报 error: ‘gets’ undeclared here (not in a function)的错

发布时间:2013-03-30 14:48:33来源:红联作者:lizza_2008
大家好,我在安装nagios-plus 编译时报如下错,是什么原因啊?
In file included from localcharset.c:28:0:
./stdio.h:456:1: error: ‘gets’ undeclared here (not in a function)
make[4]: *** [localcharset.o] Error 1
make[4]: Leaving directory `/nagios-plugins-1.4.16/gl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/nagios-plugins-1.4.16/gl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/nagios-plugins-1.4.16/gl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/nagios-plugins-1.4.16'
make: *** [all] Error 2

OS version:
openSUSE 12.3 (x86_64)
VERSION = 12.3
CODENAME = Dartmouth
Linux linux 3.7.10-1.1-desktop #1 SMP PREEMPT Thu Feb 28 15:06:29 UTC 2013 (82d3f21) x86_64 x86_64 x86_64 GNU/Linux


gcc version :
gcc (SUSE Linux) 4.7.2 20130108 [gcc-4_7-branch revision 195012]
Copyright (C) 2012 Free Software Foundation, Inc.
文章评论

共有 0 条评论