View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005261 | Multi Theft Auto : San Andreas | Linux | public | 2010-03-26 22:31 | 2011-01-05 23:19 |
Reporter | ciaran | Assigned To | impulze | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | CentOS | OS Version | 5 |
Product Version | |||||
Target Version | 1.1 | Fixed in Version | 1.1 | ||
Summary | 0005261: (64 bit) Compile time error relating to TinyXML | ||||
Description | /usr/bin/ld: /usr/local/gcp/installs/temp/mta/mta_linux-1.0.3/compile/multitheftauto-multitheftauto-595833b/vendor/tinyxml/libtinyxml.a(libtinyxml_a-tinyxml.o): relocation R_X86_64_32S against | ||||
Steps To Reproduce | make install | ||||
Tags | No tags attached. | ||||
related to | 0005047 | closed | New issues | Fail to compile the MTA serverfiles on a 64bit machine |
|
Solved the problem by adding the -fPIC to the c and cpp flags in the tinyxml Makefile |
|
This caused a new error when compiling on a 64bit machine fixed by changing MTA10_Server/mods/deathmatch/logic/lua/CLuaFunctionDefinitions.cpp:35 from:
to: |
|
The -fPIC was also needed for cflags and cppflags in MTA10_Server/sdk/Makefile |
|
Sorry, should also mention that I am compiling on 64bit, so -m32 was added in the main Makefile to both c and cpp flags |
|
Please edit your comments instead creating new one. |
|
could you try with latest trunk and using LDFLAGS="-m32" CFLAGS="-m32" CXXFLAGS="-m32"? |
|
should be fixed with trunk@r2262 |