Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make all error libgflags.a #6317

Closed
lvdon opened this issue Mar 27, 2018 · 1 comment
Closed

make all error libgflags.a #6317

lvdon opened this issue Mar 27, 2018 · 1 comment

Comments

@lvdon
Copy link

lvdon commented Mar 27, 2018

AR -o .build_release/lib/libcaffe.a
LD -o .build_release/lib/libcaffe.so.1.0.0
/usr/bin/ld: /usr/local/lib/libgflags.a(gflags.cc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libgflags.a: 无法添加符号: 错误的值
collect2: error: ld returned 1 exit status
Makefile:572: recipe for target '.build_release/lib/libcaffe.so.1.0.0' failed
make: *** [.build_release/lib/libcaffe.so.1.0.0] Error 1

thanks a lot

@Noiredd
Copy link
Member

Noiredd commented Mar 27, 2018

Duplicate of #6200

@Noiredd Noiredd marked this as a duplicate of #6200 Mar 27, 2018
@Noiredd Noiredd closed this as completed Mar 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants