源码之家

  • 首页
  • 文章
  • 问答
  • 下载
您的位置: 首页  >  文章  >  Caffe编译出现错误:-recompile with -fPIC

Caffe编译出现错误:-recompile with -fPIC

分类: 文章 • 2025-02-10 22:40:28

caffe编译出现以下错误:(关于.a和.so文件位置的问题)

relocation R_X86_64_PC32 against symbol `[email protected]@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC

Caffe编译出现错误:-recompile with -fPIC

解决:

Caffe编译出现错误:-recompile with -fPIC

在caffe目录下进入cd /usr/local/lib

ll |grep gflag 查看libgflags.a和libgflags.so分别在哪个目录下

locate libgflags.so

最后在Makefile.config中修改python路径:

Caffe编译出现错误:-recompile with -fPIC

 

相关推荐

  • MPLAB X 编译出现(944)编译错误
  • [AOSP]编译Android6.0源码过程中出现AssertionError错误
  • 单链表逆转--PTA中出现重复定义的编译错误
  • Qt Creator编译时出现“QtCore\qstringview.h:178: error: C1001: 编译器中发生内部错误
  • Qt Creator编译时出现“QtCore\qstringview.h:178: error: C1001: 编译器中发生内部错误”
  • Darknet编译时出现错误 /usr/bin/ld: cannot find -lcuda
  • matlab编译libsvm工具箱出现错误
  • Linux编译C程序出现错误“ stray ‘\302'或者'\240' in program”的解决方案
  • windows编译tensorflow 1.10编译时出现错误 debug error! ...protoc.exe 需修改protoc的版本
  • 在Linux下编译时出现段错误应该怎么调试
  • 卷积神经网络(cnn)参数(权重)共享
  • -fpic 与-fPIC的区别
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 源码之家    备案号:   粤ICP备20058927号