Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
海合会错误:
relocation R_X86_64_32S against `ebx' can not be used when making a shared object; recompile with -fPIC
即使我确定设置了 -fPIC 标志。
如果您尝试编译包含内联汇编的文件,请确保您没有在寄存器前缺少%符号。
That error message should say "without -fPIC".
确保在链接器行上使用 -fPIC。有时模板由链接器编译。