The first time I compile OpenWrt, I see the following error message:
Gconvert.c:66:2: Error: #error GNU libiconv not on use but included Iconv.h was from Libiconv
I'm looking for solutions on the Internet, and the result is consistently saying, again./configure:
./configure--enable-iconv=no--with-libiconv=gnumake
The key to the problem is: OpenWrt trunk path not see a Configure AH!
Later, after careful scrutiny, found that the glib was not passed.
$ find-name "gconvert.c"./build_dir/host/pkg-config-0.28/glib/glib/gconvert.c
Then I'll go straight to the./build_dir/host/pkg-config-0.28/glib/path and find the Configure file under the path.
Then I say compile glib directly under this path
$ cd build_dir/host/pkg-config-0.28/glib/./configure--enable-iconv=no--with-libiconv=gnumake
In this way, glib successfully passed the compilation.
Go back to OpenWrt's trunk path and continue make.
Compiling openwrt times gconvert.c Error resolution method