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