Tag: libiconv

  • libiconv-1.14 ./stdio.h:1010:1: error: ‘gets’ undeclared here 解决办法

    如题:配置编译参数通过,在进行 make 的时候报如下错误: In file included from progname.c:26:0: ./stdio.h:1010:1: error: ‘gets’ undeclared here (not in a function) _GL_WARN_ON_USE (gets, “gets is a security hole – use fgets instead”); ^ make[2]: *** [progname.o] Error 1 make[2]: Leaving directory `/usr/local/src/zabbix-2.4.7/libiconv-1.14/srclib’ make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/zabbix-2.4.7/libiconv-1.14/srclib’ make: *** [all] Error 2 复制代码 解决方法: 使用…