Hi3516CV500_SDK_V2.0.1.0 编译osdrv目录

opd
~/project/Hi3516CV500_SDK_V2.0.1.0/osdrv/pub/rootfs_glibc ~/project/Hi3516CV500_SDK_V2.0.1.0/osdrv
arm-himix200-linux-strip: Warning: './lib/a7_softfp_neon-vfpv4' is a directory
arm-himix200-linux-strip:./lib/libgcc_s.so: File format not recognized
 

checking pkg-config is at least version 0.9.0... yes
checking for ZLIB... yes
checking for UUID... no
checking for library containing clock_gettime... none required
checking for clock_gettime... yes
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for lzo1x_1_15_compress in -llzo2... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
configure: WARNING: cannot find uuid library required for mkfs.ubifs
configure: mtd-utils can optionally be built without mkfs.ubifs
configure: error: missing one or more dependencies
Makefile:45: recipe for target '/home/hi3516dv300/project/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/sbin/mkfs.jffs2' failed
make[1]: *** [/home/hi3516dv300/project/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/sbin/mkfs.jffs2] Error 1
make[1]: Leaving directory '/home/hi3516dv300/project/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/pc/jffs2_tool'
Makefile:264: recipe for target 'hipctools' failed
make: *** [hipctools] Error 2

1,在系统中安装uuid-dev:

    sudo apt-get install uuid-dev

2,进入目录:

    cd ~/tools/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/board/mtd-utils

设置环境变量:

    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/u20/tools/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/board/mtd-utils/zlib-1.2.11/zlib_install/lib/pkgconfig

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/u20/tools/Hi3516CV500_SDK_V2.0.1.0/osdrv/tools/board/mtd-utils/libuuid-1.0.3/_install/lib/pkgconfig

注意,需要根据系统情况设置上面的绝对路径。

运行:    make

编译完成后,重新运行make all之前,运行下面的命令,清空环境变量:

    export PKG_CONFIG_PATH=

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值