OpenWRT 编译 error GNU libiconv not in use but included iconv.h is from...
编译的时候碰到一个常见的错误,但是却在一个陌生的地方爆出来:
gconvert.c:55:2: error: #error GNU libiconv not in use but included iconv.h is from libiconv
google 了一下资料还挺多,总之就是没搜到 OpenWRT 相关的,于是各种想法都有。后来才发现确实是自己不注意被绕进去了。其实依旧是用很常规的手段解决,
cd /home/lellansin/OpenWRT/svn/trunk/build_dir/host/pkg-config-0.28/glib ./configure --enable-iconv=no --with-libiconv=gnu make cd /home/lellansin/OpenWRT/svn/trunk/ make # 继续编译 OpenWRT