Skip to content

Instantly share code, notes, and snippets.

Created September 17, 2016 12:31
Show Gist options
  • Save anonymous/787892013a0e66b423eb7cb7ed7e558e to your computer and use it in GitHub Desktop.
Save anonymous/787892013a0e66b423eb7cb7ed7e558e to your computer and use it in GitHub Desktop.
[ 71%] Built target Core
[ 78%] Linking CXX shared library out/lib/libJNF_NEAT.so
/usr/bin/ld: Core/CMakeFiles/Core.dir/Sources/gene.cpp.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: Core/CMakeFiles/Core.dir/Sources/genome.cpp.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: Core/CMakeFiles/Core.dir/Sources/logger.cpp.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: Core/CMakeFiles/Core.dir/Sources/neural_network.cpp.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: Core/CMakeFiles/Core.dir/Sources/neural_network_trainer.cpp.o: relocation R_X86_64_32 against undefined symbol `__pthread_key_create' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: Core/CMakeFiles/Core.dir/Sources/neuron.cpp.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: Core/CMakeFiles/Core.dir/Sources/organism.cpp.o: relocation R_X86_64_32 against undefined symbol `__pthread_key_create' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: Core/CMakeFiles/Core.dir/Sources/species.cpp.o: relocation R_X86_64_32 against undefined symbol `__pthread_key_create' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: Core/CMakeFiles/Core.dir/Sources/trained_neural_network.cpp.o: relocation R_X86_64_32 against symbol `__gxx_personality_v0@@CXXABI_1.3' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: Core/CMakeFiles/Core.dir/Sources/training_parameters.cpp.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/JNF_NEAT.dir/build.make:89: out/lib/libJNF_NEAT.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/JNF_NEAT.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment