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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM