Hisi3559V200编译问题

环境,VM10+Ubuntu14.04

1、configure: WARNING:
*** Makeinfo is missing. Info documentation will not be built.
configure: WARNING: result yes guessed because of cross compilation
arm-himix100-linux-gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.
导致编译很慢而且报错。
解决办法:apt-get install texinfo,参考https://blog.csdn.net/xuezhimeng2010/article/details/49070169

2、arm-himix100-linux-gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.
arm-himix100-linux-gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.
这个报错很恶心,会卡很久,而且虚拟机无法操作,ctrl+C后慢慢等推出编译吧,虚拟机安装的ubuntu内存不足,hisi这个系列编译还需要这么大的内存吗??黑人问号。
解决办法:
https://www.cnblogs.com/yangjiquan/p/11368262.html
结果反馈:设置虚拟内存没解决,1G+3G虚拟内存都没解决,最后是吧ubuntu内存增加到2G,编译才没有报这个错误。

3、configure: error: missing one or more dependencies
解决办法:https://blog.csdn.net/cat8162/article/details/91414660
结果反馈:我只是安装完sudo apt-get install uuid-dev 即可,没有设置环境变量。

4、 cd . && /bin/sh /home/workspace/Hi3559/Hi3559V200_MobileCam_SDK_V1.0.1.5/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-2.0.2/missing automake-1.15 --foreign Makefile
/home/workspace/Hi3559/Hi3559V200_MobileCam_SDK_V1.0.1.5/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-2.0.2/missing: line 81: automake-1.15: command not found
WARNING: ‘automake-1.15’ is missing on your system.
You should only need it if you modified ‘Makefile.am’ or
‘configure.ac’ or m4 files included by ‘configure.ac’.
The ‘automake’ program is part of the GNU Automake package:
http://www.gnu.org/software/automake
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
http://www.gnu.org/software/autoconf
http://www.gnu.org/software/m4/
http://www.perl.org/
make[3]: *** [Makefile.in] Error 127
make[3]: Leaving directory `/home/workspace/Hi3559/Hi3559V200_MobileCam_SDK_V1.0.1.5/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-2.0.2’
很明显,缺少工具。
解决办法:apt-get install automake(无效)
结果反馈,太天真的,14.04自带的automake是1.14版本,要求1.15版本,还是报错,继续按照https://blog.csdn.net/yyyljw/article/details/105134942
装automake-1.15

至此,编译成功,一路坎坷,但是编译成功还是很开心!!

你可能感兴趣的:(Hisi3559V200编译问题)