G ++, R_X86_64_32S: what is it?

I am writing a 3D engine in C ++ with OpenGL. I usually work on this project on my 64-bit archins, but these days I do this on a 32-bit system. I use subversion, and since the last svn on my 64-bit system, I have got errors:

http://pastebin.be/23730

The kernel, shell, and interface are compilet using the -fPIC option, I don't understand, so ...

Thanks:)

+4
source share
2 answers

This seems to be a move error, some of your files are not compiled with -fPIC . Change your flags by including -fPIC and then create make clean again.

+2
source

Motion errors like these are almost always generated with fubar'ing 32 and 64-bit build options. This happens when you use parameters like -m64 or -march = medium in your assembly, which forces things up to 64 bits, which you don't want at this time.

0
source

Source: https://habr.com/ru/post/1302624/


All Articles