帮助中心
hi3516cv500编译遇到的问题
如果按照容易百纳的文档有疑问可以直接看这个链接:
https://blog.csdn.net/pyh1322712308/article/details/146041847
ubuntu下海思交叉编译环境的常见问题及解决办法_cannot find zlib library required for mkfs program-CSDN博客
问题1.提示Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib.
解决办法:来源:https://www.ebaina.com/articles/140000004458
修改:osdrv/tools/pc/hi_gzip/Makefile:
pushd gzip-1.8;patch -p1 < ../hi_gzip.patch;./configure;make -j12;popd
改为:
pushd gzip-1.8;patch -p1 < ../hi_gzip.patch;sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c;echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h;./configure;make -j12;popd