make报错:

./stdio.h:1010:1: 错误: ‘gets’未声明(不在函数内)make[2]: *** [progname.o] 错误 1make[2]:正在离开目录 `/home/lmos/libiconv-1.14/srclib'make[1]: *** [all] 错误 2make[1]:正在离开目录 `/home/lmos/libiconv-1.14/srclib'make: *** [all] 错误 2

解决:

cd srclib  目录sed -i -e '/gets is a security/d' ./stdio.in.h