OpenWRT 编译 error GNU libiconv not in use but included iconv.h is from libiconv

如题,编译时碰到上述错误,google后一大堆,唯独没有OpenWRT的解决办法,找到这篇文章:

http://www.lellansin.com/openwrt-%e7%bc%96%e8%af%91-error-gnu-libiconv-not-in-use-but-included-iconv-h-is-from-libiconv.html

按照文章的方法,在glib目录下,手动执行:

./configure --enable-iconv=no --with-libiconv=gnu

貌似 --enable-iconv=no 没有被识别到(不加也可以)

然后再编译,就可以了!

 

总觉得此种解决方法不够完美,应该还有更好的方法,知道的童鞋,留个言 ^_^

你可能感兴趣的:(OpenWRT 编译 error GNU libiconv not in use but included iconv.h is from libiconv)