RigsOfRods / ror-linux-buildscripts

Shell scripts to build Rigs of Rods git on apt based GNU/Linux systems
http://forum.rigsofrods.org/thread-21.html
16 stars 8 forks source link

Error in core.sh in Ubuntu MATE 17.10 64bit #21

Closed crazyBaboon closed 6 years ago

crazyBaboon commented 6 years ago

When I do sh dependencies.sh I get:

All dependencies were installed successfully
You can now proceed with core.sh

When I do sh core.sh I get the following error:

[100%] Linking CXX executable ../../bin/RoR
/usr/bin/ld: warning: libboost_system.so.1.58.0, needed by /usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libCaelum.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libPagedGeometry.a(BatchPage.cpp.o): relocation R_X86_64_32 against hidden symbol `_ZTVN7Forests9BatchPageE' cannot be used when making a shared object
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libPagedGeometry.a(BatchedGeometry.cpp.o): relocation R_X86_64_32 against hidden symbol `_ZTVN7Forests15BatchedGeometryE' cannot be used when making a shared object
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libPagedGeometry.a(GrassLoader.cpp.o): relocation R_X86_64_32 against hidden symbol `_ZTVN7Forests11GrassLoaderE' cannot be used when making a shared object
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libPagedGeometry.a(ImpostorPage.cpp.o): relocation R_X86_64_32 against hidden symbol `_ZTVN7Forests12ImpostorPageE' cannot be used when making a shared object
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libPagedGeometry.a(PagedGeometry.cpp.o): relocation R_X86_64_32 against symbol `_ZN4Ogre7Vector34ZEROE' cannot be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libPagedGeometry.a(PropertyMaps.cpp.o): relocation R_X86_64_32 against symbol `_ZN4Ogre20ResourceGroupManager27DEFAULT_RESOURCE_GROUP_NAMEB5cxx11E' cannot be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libPagedGeometry.a(StaticBillboardSet.cpp.o): relocation R_X86_64_32 against `.rodata' cannot be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/libPagedGeometry.a(TreeLoader2D.cpp.o): relocation R_X86_64_32 against hidden symbol `_ZTVN7Forests12TreeLoader2DE' cannot be used when making a shared object
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
source/main/CMakeFiles/RoR.dir/build.make:4926: recipe for target 'bin/RoR' failed
make[2]: *** [bin/RoR] Error 1
CMakeFiles/Makefile2:201: recipe for target 'source/main/CMakeFiles/RoR.dir/all' failed
make[1]: *** [source/main/CMakeFiles/RoR.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2