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 bug-gnulib

 

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

posted @ 2021-11-09 17:12  cogitoergosum  阅读(1320)  评论(0编辑  收藏  举报