Got the source file from Page 1 on this thread:
http://luci.subsignal.org/~trondah/latest-src.tar.xz
Found a very simple solution for my gdate problem.
Since this patch contains only few lines:
https://dev.openwrt.org/browser/trunk/t … ?rev=49342
I manually edited /build_dir/host/pkg-conf-0.29.1/glib/glib/gdate.c file using "geany"
patch shows in column a previous line number, and in column b new line number
So I just copied and pasted as shown in patch, renamed original as "gdate.c-old" and saved file as "gdate.c"
Compilation now not complaining anymore about gdate !
--------------------------------------------------------------------------------------------------------------------------------------------------
Now it runs for about 10 minutes and stop with this FATAL ERROR:
configuration written to .config
#
*** Default configuration is based on 'sandbox_defconfig'
make[4]: Leaving directory '/home/user/trunk/build_dir/host/u-boot-2014.10'
make -C /home/user/trunk/build_dir/host/u-boot-2014.10 tools-only HOSTCFLAGS="-I/home/user/trunk/staging_dir/host/include -I/home/user/trunk/staging_dir/host/usr/include -O2 -I/home/user/trunk/staging_dir/host/include -I/home/user/trunk/staging_dir/host/usr/include " HOSTLDFLAGS="-L/home/user/trunk/staging_dir/host/lib -L/home/user/trunk/staging_dir/host/usr/lib "
make[4]: Entering directory '/home/user/trunk/build_dir/host/u-boot-2014.10'
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
UPD include/config.h
GEN include/autoconf.mk
In file included from include/linux/compiler.h:54:0,
from /home/user/trunk/build_dir/host/u-boot-2014.10/arch/sandbox/include/asm/bitops.h:20,
from include/linux/bitops.h:110,
from /home/user/trunk/build_dir/host/u-boot-2014.10/include/common.h:20:
include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc6.h: No such file or directory
#include gcc_header(__GNUC__)
^
compilation terminated.
Looks like it is missing a compiler-gcc6.h file ?
I thought, I have everything installed what needed.
Where it supposed to come from ?
Thanks