开发者

g++, R_X86_64_32S : what is it?

I write a 3D engine in C++ with OpenGL. I usually work on this project on my archlinux 64 bits, but on theese holidays I do on a 32 bits system. I use subversion, and since the last svn up开发者_StackOverflow中文版 on my 64 bits system, I've got errors :

http://pastebin.be/23730

core, wrapper and interface are compilet using the -fPIC option, I do not understand so ...

Thanks :)


It appears to be a relocation error, some of your files aren't being compiled with -fPIC. Change your flags to include -fPIC and then do a make clean before building again.


Relocation errors like these are almost always generated when fubar'ing 32 and 64bit build options. These happen when using options like -m64 or -march=medium in your build, which forces things to 64bit, which is something you don't want at this time.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜