openwrt freadahead.c 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 buggnulib

make menuconfig 

What if you make menuconfig and go to Global build settings, then deselect Cryptographically signed package lists?

真正的解决方法:

http://m.blog.chinaunix.net/uid-20680966-id-5833778.html , 

cd coreutils-8.23

sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h

去修改coreutils

参考链接:https://forum.openwrt.org/t/solved-build-from-master-on-archlinux-gives-error-for-freadahead-c/18693

echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h

原文地址:https://www.cnblogs.com/hzijone/p/15529946.html