Skip to content

Instantly share code, notes, and snippets.

@iggyvolz
Created September 22, 2018 04:59
Show Gist options
  • Save iggyvolz/c745a01e0fa2d200e41ef6ed5966d966 to your computer and use it in GitHub Desktop.
Save iggyvolz/c745a01e0fa2d200e41ef6ed5966d966 to your computer and use it in GitHub Desktop.
/usr/bin/cmake -H/home/ryan/CRYENGINE -B/home/ryan/CRYENGINE/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/ryan/CRYENGINE/build/CMakeFiles /home/ryan/CRYENGINE/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/ryan/CRYENGINE/build'
make -f Code/Libs/lz4/CMakeFiles/lz4.dir/build.make Code/Libs/lz4/CMakeFiles/lz4.dir/depend
make[2]: Entering directory '/home/ryan/CRYENGINE/build'
cd /home/ryan/CRYENGINE/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/ryan/CRYENGINE /home/ryan/CRYENGINE/Code/Libs/lz4 /home/ryan/CRYENGINE/build /home/ryan/CRYENGINE/build/Code/Libs/lz4 /home/ryan/CRYENGINE/build/Code/Libs/lz4/CMakeFiles/lz4.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/ryan/CRYENGINE/build'
make -f Code/Libs/lz4/CMakeFiles/lz4.dir/build.make Code/Libs/lz4/CMakeFiles/lz4.dir/build
make[2]: Entering directory '/home/ryan/CRYENGINE/build'
make[2]: Nothing to be done for 'Code/Libs/lz4/CMakeFiles/lz4.dir/build'.
make[2]: Leaving directory '/home/ryan/CRYENGINE/build'
[ 0%] Built target lz4
make -f Code/Libs/zlib/CMakeFiles/zlib.dir/build.make Code/Libs/zlib/CMakeFiles/zlib.dir/depend
make[2]: Entering directory '/home/ryan/CRYENGINE/build'
cd /home/ryan/CRYENGINE/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/ryan/CRYENGINE /home/ryan/CRYENGINE/Code/Libs/zlib /home/ryan/CRYENGINE/build /home/ryan/CRYENGINE/build/Code/Libs/zlib /home/ryan/CRYENGINE/build/Code/Libs/zlib/CMakeFiles/zlib.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/ryan/CRYENGINE/build'
make -f Code/Libs/zlib/CMakeFiles/zlib.dir/build.make Code/Libs/zlib/CMakeFiles/zlib.dir/build
make[2]: Entering directory '/home/ryan/CRYENGINE/build'
make[2]: Nothing to be done for 'Code/Libs/zlib/CMakeFiles/zlib.dir/build'.
make[2]: Leaving directory '/home/ryan/CRYENGINE/build'
[ 2%] Built target zlib
make -f Code/Libs/expat/CMakeFiles/expat.dir/build.make Code/Libs/expat/CMakeFiles/expat.dir/depend
make[2]: Entering directory '/home/ryan/CRYENGINE/build'
cd /home/ryan/CRYENGINE/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/ryan/CRYENGINE /home/ryan/CRYENGINE/Code/Libs/expat /home/ryan/CRYENGINE/build /home/ryan/CRYENGINE/build/Code/Libs/expat /home/ryan/CRYENGINE/build/Code/Libs/expat/CMakeFiles/expat.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/ryan/CRYENGINE/build'
make -f Code/Libs/expat/CMakeFiles/expat.dir/build.make Code/Libs/expat/CMakeFiles/expat.dir/build
make[2]: Entering directory '/home/ryan/CRYENGINE/build'
make[2]: Nothing to be done for 'Code/Libs/expat/CMakeFiles/expat.dir/build'.
make[2]: Leaving directory '/home/ryan/CRYENGINE/build'
[ 3%] Built target expat
make -f Code/Libs/tomcrypt/CMakeFiles/tomcrypt.dir/build.make Code/Libs/tomcrypt/CMakeFiles/tomcrypt.dir/depend
make[2]: Entering directory '/home/ryan/CRYENGINE/build'
cd /home/ryan/CRYENGINE/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/ryan/CRYENGINE /home/ryan/CRYENGINE/Code/Libs/tomcrypt /home/ryan/CRYENGINE/build /home/ryan/CRYENGINE/build/Code/Libs/tomcrypt /home/ryan/CRYENGINE/build/Code/Libs/tomcrypt/CMakeFiles/tomcrypt.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/ryan/CRYENGINE/build'
make -f Code/Libs/tomcrypt/CMakeFiles/tomcrypt.dir/build.make Code/Libs/tomcrypt/CMakeFiles/tomcrypt.dir/build
make[2]: Entering directory '/home/ryan/CRYENGINE/build'
make[2]: Nothing to be done for 'Code/Libs/tomcrypt/CMakeFiles/tomcrypt.dir/build'.
make[2]: Leaving directory '/home/ryan/CRYENGINE/build'
[ 39%] Built target tomcrypt
make -f Code/Libs/md5/CMakeFiles/md5.dir/build.make Code/Libs/md5/CMakeFiles/md5.dir/depend
make[2]: Entering directory '/home/ryan/CRYENGINE/build'
cd /home/ryan/CRYENGINE/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/ryan/CRYENGINE /home/ryan/CRYENGINE/Code/Libs/md5 /home/ryan/CRYENGINE/build /home/ryan/CRYENGINE/build/Code/Libs/md5 /home/ryan/CRYENGINE/build/Code/Libs/md5/CMakeFiles/md5.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/ryan/CRYENGINE/build'
make -f Code/Libs/md5/CMakeFiles/md5.dir/build.make Code/Libs/md5/CMakeFiles/md5.dir/build
make[2]: Entering directory '/home/ryan/CRYENGINE/build'
make[2]: Nothing to be done for 'Code/Libs/md5/CMakeFiles/md5.dir/build'.
make[2]: Leaving directory '/home/ryan/CRYENGINE/build'
[ 39%] Built target md5
make -f Code/CryEngine/CrySystem/CMakeFiles/CrySystem.dir/build.make Code/CryEngine/CrySystem/CMakeFiles/CrySystem.dir/depend
make[2]: Entering directory '/home/ryan/CRYENGINE/build'
cd /home/ryan/CRYENGINE/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/ryan/CRYENGINE /home/ryan/CRYENGINE/Code/CryEngine/CrySystem /home/ryan/CRYENGINE/build /home/ryan/CRYENGINE/build/Code/CryEngine/CrySystem /home/ryan/CRYENGINE/build/Code/CryEngine/CrySystem/CMakeFiles/CrySystem.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/ryan/CRYENGINE/build'
make -f Code/CryEngine/CrySystem/CMakeFiles/CrySystem.dir/build.make Code/CryEngine/CrySystem/CMakeFiles/CrySystem.dir/build
make[2]: Entering directory '/home/ryan/CRYENGINE/build'
[ 39%] Linking CXX shared library ../../../../bin/libCrySystem.so
cd /home/ryan/CRYENGINE/build/Code/CryEngine/CrySystem && /usr/bin/cmake -E cmake_link_script CMakeFiles/CrySystem.dir/link.txt --verbose=1
/usr/bin/clang++ -fPIC -w -Wno-narrowing -DLINUX=1 -O3 -DNDEBUG -w -Wno-narrowing -DLINUX=1 -fPIC -fPIC -shared -Wl,-soname,libCrySystem.so -o ../../../../bin/libCrySystem.so CMakeFiles/CrySystem.dir/StdAfx.cpp.o CMakeFiles/CrySystem.dir/CryDLMalloc.c.o CMakeFiles/CrySystem.dir/CrySystem_uber_2.cpp.o CMakeFiles/CrySystem.dir/CrySystem_uber_6.cpp.o CMakeFiles/CrySystem.dir/CrySystem_uber_0.cpp.o CMakeFiles/CrySystem.dir/CrySystem_uber_1.cpp.o CMakeFiles/CrySystem.dir/CrySystem_uber_7.cpp.o CMakeFiles/CrySystem.dir/CrySystem_uber_3.cpp.o CMakeFiles/CrySystem.dir/CrySystem_uber_4.cpp.o CMakeFiles/CrySystem.dir/CrySystem_uber_5.cpp.o CMakeFiles/CrySystem.dir/CrySystem_uber_8.cpp.o CMakeFiles/CrySystem.dir/CrySystem_uber_9.cpp.o ../../Libs/zlib/libzlib.a ../../Libs/expat/libexpat.a ../../Libs/lz4/liblz4.a ../../Libs/md5/libmd5.a ../../Libs/tomcrypt/libtomcrypt.a
/usr/bin/ld: ../../Libs/zlib/libzlib.a(compress.c.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/zlib/libzlib.a(crc32.c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/zlib/libzlib.a(deflate.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/zlib/libzlib.a(inflate.c.o): relocation R_X86_64_32S against symbol `zcalloc' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/zlib/libzlib.a(inftrees.c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/zlib/libzlib.a(trees.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/zlib/libzlib.a(uncompr.c.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/zlib/libzlib.a(zutil.c.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/zlib/libzlib.a(inffast.c.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/expat/libexpat.a(xmlparse.c.o): relocation R_X86_64_32S against symbol `malloc@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/expat/libexpat.a(xmlrole.c.o): relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/expat/libexpat.a(xmltok.c.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/lz4/liblz4.a(lz4.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/md5/libmd5.a(md5.c.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(twofish.c.o): relocation R_X86_64_32 against `.rodata.cst32' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(sha1.c.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(sha256.c.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(ltm_desc.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(crypt_find_cipher.c.o): relocation R_X86_64_32 against symbol `cipher_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(crypt_find_hash.c.o): relocation R_X86_64_32 against symbol `hash_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(crypt_find_prng.c.o): relocation R_X86_64_32 against symbol `prng_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(crypt_hash_is_valid.c.o): relocation R_X86_64_32S against symbol `hash_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(crypt_prng_is_valid.c.o): relocation R_X86_64_32S against symbol `prng_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(crypt_register_cipher.c.o): relocation R_X86_64_32 against symbol `cipher_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(crypt_register_hash.c.o): relocation R_X86_64_32 against symbol `hash_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(crypt_register_prng.c.o): relocation R_X86_64_32 against symbol `prng_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(ctr_done.c.o): relocation R_X86_64_32S against symbol `cipher_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(ctr_encrypt.c.o): relocation R_X86_64_32S against symbol `cipher_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(ctr_setiv.c.o): relocation R_X86_64_32S against symbol `cipher_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(ctr_start.c.o): relocation R_X86_64_32S against symbol `cipher_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(pkcs_1_oaep_decode.c.o): relocation R_X86_64_32S against symbol `hash_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(pkcs_1_oaep_encode.c.o): relocation R_X86_64_32S against symbol `hash_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(pkcs_1_v1_5_encode.c.o): relocation R_X86_64_32S against symbol `prng_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(rsa_verify_hash.c.o): relocation R_X86_64_32S against symbol `hash_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(rng_make_prng.c.o): relocation R_X86_64_32S against symbol `prng_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(yarrow.c.o): relocation R_X86_64_32 against symbol `rijndael_desc' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(bn_mp_cnt_lsb.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(bn_mp_exptmod_fast.c.o): relocation R_X86_64_32 against symbol `mp_dr_reduce' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(bn_mp_prime_is_prime.c.o): relocation R_X86_64_32S against symbol `ltm_prime_tab' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(bn_s_mp_exptmod.c.o): relocation R_X86_64_32 against symbol `mp_reduce_2k_l' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(aes.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(hash_memory.c.o): relocation R_X86_64_32S against symbol `hash_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(rand_prime.c.o): relocation R_X86_64_32S against symbol `prng_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(crypt_cipher_is_valid.c.o): relocation R_X86_64_32S against symbol `cipher_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(der_decode_sequence_ex.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(der_length_sequence.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(der_decode_utctime.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(pkcs_1_mgf1.c.o): relocation R_X86_64_32S against symbol `hash_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(pkcs_1_pss_decode.c.o): relocation R_X86_64_32S against symbol `hash_descriptor' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(rng_get_bytes.c.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(bn_mp_div_d.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(bn_mp_prime_is_divisible.c.o): relocation R_X86_64_32S against symbol `ltm_prime_tab' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(der_decode_choice.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(der_length_ia5_string.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: ../../Libs/tomcrypt/libtomcrypt.a(der_length_printable_string.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Code/CryEngine/CrySystem/CMakeFiles/CrySystem.dir/build.make:385: recipe for target '../bin/libCrySystem.so' failed
make[2]: *** [../bin/libCrySystem.so] Error 1
make[2]: Leaving directory '/home/ryan/CRYENGINE/build'
CMakeFiles/Makefile2:222: recipe for target 'Code/CryEngine/CrySystem/CMakeFiles/CrySystem.dir/all' failed
make[1]: *** [Code/CryEngine/CrySystem/CMakeFiles/CrySystem.dir/all] Error 2
make[1]: Leaving directory '/home/ryan/CRYENGINE/build'
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment