问题
/home/wigewige/share/develop/kandao/hisi/yak-0928/KD-Hisi3519v101-SRC/mpp_big-little/sample/hifb/../common/sample_comm.h:45:21: fatal error: hi_mipi.h: No such file or directory
#include "hi_mipi.h"
^
compilation terminated.
解决
先编译OSDRV
问题
make all
解决
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv$ sudo apt-get install u-boot-tools
问题
遇到编译mkyaffs2 x64 impatition i386
gcc -o mkyaffs2image100 mkyaffs2image.o yaffs_ecc.o yaffs_packedtags2.o yaffs_tagsvalidity.o oob_config_v100.o -static
/usr/bin/ld: i386:x86-64 architecture of input file `mkyaffs2image.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `yaffs_ecc.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `yaffs_packedtags2.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `yaffs_tagsvalidity.o' is incompatible with i386 output
collect2: error: ld returned 1 exit status
make[2]: *** [mkyaffs2image100] Error 1
make[2]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/mkyaffs2image/mkyaffs2image'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/mkyaffs2image'
make: *** [hipctools] Error 2
解决
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/mkyaffs2image/mkyaffs2image$ make clean
问题
CC compr_zlib.o
compr_zlib.c:39:18: fatal error: zlib.h: No such file or directory
#include
^
compilation terminated.
make[2]: *** [/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-1.5.0/compr_zlib.o] Error 1
make[2]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-1.5.0'
make[1]: *** [/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/sbin/mkfs.jffs2] Error 2
make[1]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool'
make: *** [hipctools] Error 2
解决
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-1.5.0$ sudo apt-get install zlib1g-dev
问题
CC compr_zlib.o
CC compr_lzo.o
compr_lzo.c:31:23: fatal error: lzo/lzo1x.h: No such file or directory
#include
^
compilation terminated.
make: *** [/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-1.5.0/compr_lzo.o] Error 1
解决
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-1.5.0$ sudo apt-get install liblzo2-dev
问题
configure: error: ncurses or ncursesw selected, but library not found (--without-ncurses to disable)
make[1]: *** [/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/cramfs_tool/tmp/sbin/mkfs.cramfs] Error 1
make[1]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/cramfs_tool'
make: *** [hipctools] Error 2
解决
sudo apt-get install libncurses5-dev libncursesw5-dev
问题
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
make[2]: Entering directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool/lzma-4.32.7'
make[2]: *** No targets specified and no makefile found. Stop.
make[2]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool/lzma-4.32.7'
~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool
cp: cannot stat ‘/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool/lzma-4.32.7/src/lzma/lzma’: No such file or directory
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool'
make: *** [hipctools] Error 2
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv$
解决
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool/lzma-4.32.7$ sudo apt-get install g++