Just now I'm compiling Openwrt at AR-150 mini router when I execute make I got this error:
freadahead.c:91:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
#error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
^~~~~
The GL.iNet AR-150 should be supported by current/ vanilla OpenWrt just fine. Please understand that we can't support obsolete versions (Chaos Calmer) and even less external forks which may be based on those.
The GL.iNet repo is at https://github.com/gl-inet/openwrt, but offers little, if anything over the 18.06.1 release that it was based on. While I expect GL.iNet to update after the 19.07 release, that the GL-AR150 doesn't use SPI NAND, I can't see any reason not to use the current OpenWrt sources.
WARNING: Makefile 'package/feeds/gli_pub/luci-app-chinadns/Makefile' has a dependency on 'redsocks2', which does not exist
WARNING: Makefile 'package/feeds/gli_pub/luci-app-chinadns/Makefile' has a dependency on 'ShadowVPN', which does not exist
WARNING: Makefile 'package/feeds/gli_pub/shadowsocks-libev/Makefile' has a build dependency on 'libpcre', which does not exist
WARNING: Makefile 'package/feeds/gli_pub/shadowsocks-libev/Makefile' has a build dependency on 'libmbedtls', which does not exist
time: target/linux/prereq#0.37#0.05#0.41
make[1] world
make[2] tools/compile
make[3] -C tools/flock compile
make[3] -C tools/sed compile
make[3] -C tools/patch compile
make[3] -C tools/xz compile
make[3] -C tools/tar compile
make -r world: build failed. Please re-run make with -j1 V=s to see what's going on
make: *** [/opt/WiFi-Pineapple/openwrt-develop/include/toplevel.mk:218: world] Error 1