campanel
(usa Fedora)
Enviado em 04/04/2013 - 09:44h
Bah! mesmo erro
No fedora 18
make all-recursive
make[1]: Entering directory `/tmp/nagios-plugins-1.4.16'
Making all in gl
make[2]: Entering directory `/tmp/nagios-plugins-1.4.16/gl'
rm -f configmake.h-t && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
echo '#define PREFIX "/usr/local/opmon"'; \
echo '#define EXEC_PREFIX "/usr/local/opmon"'; \
echo '#define BINDIR "/usr/local/opmon/bin"'; \
echo '#define SBINDIR "/usr/local/opmon/sbin"'; \
echo '#define LIBEXECDIR "/usr/local/opmon/libexec"'; \
echo '#define DATAROOTDIR "/usr/local/opmon/share"'; \
echo '#define DATADIR "/usr/local/opmon/share"'; \
echo '#define SYSCONFDIR "/usr/local/opmon/etc"'; \
echo '#define SHAREDSTATEDIR "/usr/local/opmon/com"'; \
echo '#define LOCALSTATEDIR "/usr/local/opmon/var"'; \
echo '#define INCLUDEDIR "/usr/local/opmon/include"'; \
echo '#define OLDINCLUDEDIR "/usr/include"'; \
echo '#define DOCDIR "/usr/local/opmon/share/doc/nagios-plugins"'; \
echo '#define INFODIR "/usr/local/opmon/share/info"'; \
echo '#define HTMLDIR "/usr/local/opmon/share/doc/nagios-plugins"'; \
echo '#define DVIDIR "/usr/local/opmon/share/doc/nagios-plugins"'; \
echo '#define PDFDIR "/usr/local/opmon/share/doc/nagios-plugins"'; \
echo '#define PSDIR "/usr/local/opmon/share/doc/nagios-plugins"'; \
echo '#define LIBDIR "/usr/local/opmon/lib"'; \
echo '#define LISPDIR ""'; \
echo '#define LOCALEDIR "/usr/local/opmon/share/locale"'; \
echo '#define MANDIR "/usr/local/opmon/share/man"'; \
echo '#define MANEXT ""'; \
echo '#define PKGDATADIR "/usr/local/opmon/share/nagios-plugins"'; \
echo '#define PKGINCLUDEDIR "/usr/local/opmon/include/nagios-plugins"'; \
echo '#define PKGLIBDIR "/usr/local/opmon/lib/nagios-plugins"'; \
echo '#define PKGLIBEXECDIR "/usr/local/opmon/libexec/nagios-plugins"'; \
} | sed '/""/d' > configmake.h-t && \
if test -f configmake.h && cmp configmake.h-t configmake.h > /dev/null; then \
rm -f configmake.h-t; \
else \
rm -f configmake.h; mv configmake.h-t configmake.h; \
fi
make all-recursive
make[3]: Entering directory `/tmp/nagios-plugins-1.4.16/gl'
make[4]: Entering directory `/tmp/nagios-plugins-1.4.16/gl'
gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -g -O2 -MT localcharset.o -MD -MP -MF .deps/localcharset.Tpo -c -o localcharset.o localcharset.c
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 `/tmp/nagios-plugins-1.4.16/gl'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/nagios-plugins-1.4.16/gl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/nagios-plugins-1.4.16/gl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/nagios-plugins-1.4.16'
make: *** [all] Error 2