libOpenVX.so: file not recognized: File format not recognized

参考:linux交叉编译时报错:file not recognized: File format not recognized

/home/zhenglf/Documents/VIP/drivers/driver_810/6.3.1.9/build/sdk/drivers/libOpenVX.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
Makefile:44: recipe for target 'resnet50cambicon' failed
zhenglf@hwlnx01:~/Documents/byhl_vip/TrainerScripts/script/script/resnet50_1015/for_ovxlib/dyn_int8_4_hardware$ file /home/zhenglf/Documents/VIP/drivers/driver_810/6.3.1.9/build/sdk/drivers/libOpenVX.so
/home/zhenglf/Documents/VIP/drivers/driver_810/6.3.1.9/build/sdk/drivers/libOpenVX.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=a398ce52eaf91e377bbe4f93203efe7df0b54a9e, not stripped
zhenglf@hwlnx01:~/Documents/byhl_vip/TrainerScripts/script/script/resnet50_1015/for_ovxlib/dyn_int8_4_hardware$ 

 

手动删除所有.o, .so等编译生成的文件,不要用make clean,因为可能make clean删除不到一些中间文件

使用新的编译器,重新编译新版本

zhenglf@hwlnx01:/nfs-share/nfs/VIP/ck810/sdk/drivers$ file libOpenVX.so 
libOpenVX.so: ELF 32-bit LSB shared object, Motorola RCE, version 1 (SYSV), dynamically linked, not stripped
zhenglf@hwlnx01:/nfs-share/nfs/VIP/ck810/sdk/drivers$ 
 

 


 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值