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$ 
 

 


 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章