要是发生「undefined reference to libiconv_open'」之类的错误信息,,没給到要 link 的 iconv 函式库参数。 解决方法:编辑Makefile 加上 -liconv 然后重新再次 make 即可。