开发者

ld: linker error

开发者 https://www.devze.com 2022-12-09 05:46 出处:网络
ld: foo.o: relocation R_X86_64_PC32 against undefined symbol `bar\' can not be used when making a shared object; recompile with -fPIC

ld: foo.o: relocation R_X86_64_PC32 against undefined symbol `bar' can not be used when making a shared object; recompile with -fPIC

I recompile with -fPIC and it still produces this error.开发者_如何转开发


Versions of your compiler and linker? Perhaps your problem is related to this bug, that seems to be fixed now: http://sources.redhat.com/bugzilla/show_bug.cgi?id=584?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号