- 积分
- 5
贡献31
飞刀2 FD
注册时间2021-7-8
在线时间0 小时
扫一扫,手机访问本帖
|
Label_image 采用cmake.. 编译后正常,但执行make操作后,链接失败,,提示静态链接库libtensorflow-lite.a需要重新以-fPIC编译下,提示内容如下:
w-lite.a(eigen_support.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `stderr@@GLIBC_2.17' which may bind externally can not be used when ** a shared object; recompile with -fPIC
/usr/lib/gcc-cross/aarch64-linux-gnu/9/../../../../aarch64-linux-gnu/bin/ld: ../3rd**/tflite/lib/libtensorflow-lite.a(eigen_support.o)(.text.unlikely+0): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `stderr@@GLIBC_2.17'
如下图所示:
如何解决呢?请求大佬赐教!!谢谢!!
|
|