1、首先安裝libiconvui
若是本身編譯安裝會出現 錯誤,srclib/stdio.h 找到報錯點:將文件內容手動修改成.net
#if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16) _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); #endif
具體參考:code
https://my.oschina.net/u/2245781/blog/749879blog
2、回到httpd源碼目錄get
vi build/config_vars.mk源碼
將it
EXTRA_LIBS = io
改成編譯
EXTRA_LIBS = -liconvclass