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时报错readcfg.o: error adding symbols: Bad value #115

Open
jinxiao opened this issue Jan 25, 2019 · 1 comment
Open

make时报错readcfg.o: error adding symbols: Bad value #115

jinxiao opened this issue Jan 25, 2019 · 1 comment

Comments

@jinxiao
Copy link

jinxiao commented Jan 25, 2019

/usr/bin/ld: readcfg.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
readcfg.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:30: recipe for target 'all' failed
make: *** [all] Error 1

@wjzeng
Copy link
Member

wjzeng commented Jun 15, 2020

建议使用 centos 7。
请问你使用的是什么操作系统,和gcc 版本?

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