big-tooth / hisi_sdk Goto Github PK
View Code? Open in Web Editor NEWThis project forked from bodhitree800/hisi_sdk
This project forked from bodhitree800/hisi_sdk
hisi SDK在ubuntu20.04上面编译可能出现的问题以及解决方法: 1. hi_gzip编译错误 fseeko.c: In function 'rpl_fseeko':` `fseeko.c:110:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."` 解决方法: cp hi_gzip_Makefile /mnt/ext/aec/hi3559/Hi3559V200_MobileCam_SDK_V1.0.1.5/osdrv/tools/pc/hi_gzip/Makefile # for hi3516 cp hi_gzip_Makefile /mnt/ext/hi3516/Hi3516CV500R001C02SPC020/01.software/board/Hi3516CV500_SDK_V2.0.2.0/osdrv/tools/pc/hi_gzip/Makefile 2. eudev编译错误 解决方法: cp eudev-3.2.7_Makefile /mnt/ext/aec/hi3559/Hi3559V200_MobileCam_SDK_V1.0.1.5/osdrv/tools/board/eudev-3.2.7/Makefile # for hi3516 cp eudev-3.2.7_Makefile /mnt/ext/hi3516/Hi3516CV500R001C02SPC020/01.software/board/Hi3516CV500_SDK_V2.0.2.0/osdrv/tools/board/eudev-3.2.7/Makefile # for hi3559v200 SDK2.0.1.0 cp eudev-3.2.9_Makefile /mnt/ext/hisi/smp_hi3559v200/Hi3559V200_SDK_V2.0.1.0/open_source/eudev/Makefile 3.squashfs编译错误 mksquashfs.c: In function ‘create_inode’: mksquashfs.c:987:24: error: called object ‘major’ is not a function or function pointer 987 | unsigned int major = major(buf->st_rdev); 解决方法: cp squashfs4.3_Makefile /mnt/ext/aec/hi3559/Hi3559V200_MobileCam_SDK_V1.0.1.5_5.3G/osdrv/tools/pc/squashfs4.3/Makefile cp squashfs4.4.tar.gz /mnt/ext/aec/hi3559/Hi3559V200_MobileCam_SDK_V1.0.1.5_5.3G/osdrv/tools/pc/squashfs4.3/. # for hi3516 cp squashfs4.3_Makefile /mnt/ext/hi3516/Hi3516CV500R001C02SPC020/01.software/board/Hi3516CV500_SDK_V2.0.2.0/osdrv/tools/pc/squashfs4.3/Makefile cp squashfs4.4.tar.gz /mnt/ext/hi3516/Hi3516CV500R001C02SPC020/01.software/board/Hi3516CV500_SDK_V2.0.2.0/osdrv/tools/pc/squashfs4.3/. 4.-Werror=format-truncation= 错误 /mnt/ext/aec/hi3559/Hi3559V200_MobileCam_SDK_V1.0.1.5_5.3G/reference/tools/upgrade_generate/src/hi_upgrade_generate_main.c:375:68: error: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 54 and 117 [-Werror=format-truncation=] 解决方法: cp hi_upgrade_generate_main.c /mnt/ext/aec/hi3559/Hi3559V200_MobileCam_SDK_V1.0.1.5_5.3G/reference/tools/upgrade_generate/src/hi_upgrade_generate_main.c cp init2bin_Makefile /mnt/ext/aec/hi3559/Hi3559V200_MobileCam_SDK_V1.0.1.5_5.3G/reference/dashcam/modules/param/ini2bin/Makefile 5. sdk的主要编译命令,参见: /mnt/ext/aec/hi3559/doc/01.software/board/HiMobileCam SDK安装使用说明.pdf make all SDK 包全编译,包括 osdrv,drv,middleware,reference make menuconfig SDK 配置选择 make clean SDK 包编译清空,包括 osdrv,drv,middleware,reference make prepare SDK 包编译准备,比如内存分配传递给各子系统 make osdrv osdrv 目录整体编译 make osdrv_clean osdrv 目录清空目标文件 make osdrv_distclean osdrv 目录清空所有目标文件及镜像发布目录 make drv drv 整体编译,第一次编译请先 make osdrv make drv_clean drv 清空目标文件 make drv_distclean drv 清空所有目标文件及驱动模块发布目录 make ndk ndk 整体编译,第一次编译请先 make osdrv make ndk_clean ndk 清空目标文件 make ndk_distclean 同 make ndk_clean make middleware middleware 目录整体编译, 第一次编译时请先 make osdrv。 make middleware_clean middleware 目录整体编译清空 make middleware_distclean 同 make middleware_clean make reference reference 目录整体编译, 第一次编译时请先 make osdrv、make drv、make middleware。 make reference_clean reference 目录整体编译清空 make reference_distclean reference 目录清空所有目标文件及镜像发布目录
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.