When I try to emerge Busybox 1.17.1 using crosscompilation for MIPS, I receive a compilation error. I attach a patch. Reproducible: Always Steps to Reproduce: emerge-mipsel-unknown-linux-uclibc system Actual Results: coreutils/date.c: In function 'date_main': coreutils/date.c:210: error: 'struct stat' has no member named 'st_mtim' Expected Results: Right compilation. This patch (busybox-1.17.1-date.patch) fixes the problem. --- a/coreutils/date.c 2010-09-04 16:37:18.269169000 +0200 +++ b/coreutils/date.c 2010-09-04 16:54:50.443406027 +0200 @@ -207,7 +207,7 @@ xstat(filename, &statbuf); ts.tv_sec = statbuf.st_mtime; #if ENABLE_FEATURE_DATE_NANO - ts.tv_nsec = statbuf.st_mtim.tv_nsec; + ts.tv_nsec = statbuf.st_mtimensec; #endif } else { #if ENABLE_FEATURE_DATE_NANO
http://git.busybox.net/busybox/commit/?id=f2da16f451812f40bed51fd60a304df3d7dfc1bd
ive added the fix from upstream ... build should be ok now