I am trying to compile this library on mac os x Mavericks 10.9.3 64-bit: http://www.openfec.org/downloads.html
I definitely followed README and got this error:
Linking to the shared library C ... / .. / bin / Release / libopenfec.dylib
Undefined symbols for architecture x86_64: "_of_add_from_multiple_symbols", referenced from: _of_linear_binary_code_backward_substitution in of_ml_tool.co "_of_add_to_symbol", referenced from: _of_linear_binary_code_decode_with_new_symbol in of_it_decoding.co _of_linear_binary_code_simplify_linear_system in of_ml_decoding.co _of_linear_binary_code_col_forward_elimination_pivot_reordering in of_ml_tool.co _of_linear_binary_code_apply_gauss_pivoting in of_ml_tool_2.co _of_linear_binary_code_inject_symbol_in_triangular_system in of_ml_tool_2.co _of_linear_binary_code_solve_triangular_system in of_ml_tool_2.co _of_linear_binary_code_invert_dense_system in of_ml_tool_2.co ... "_of_calloc", referenced from...: ...
ld: character not found for x86_64 architecture
clang: error: linker command failed with exit code 1 (use -v to invoke the call)
make [2]: * [../bin/Release/libopenfec.dylib] Error 1
make [1]: * [src / CMakeFiles / openfec.dir / all] Error 2
make: *** [all] Error 2
I just performed README for the OpenFEC distribution (found at http://www.openfec.org/downloads.html ). When you try to make this error occurs. I have no idea what the problem is.
This is what I did after unlocking the distribution:
(1.): mkdir build
(2.): cd build
(3.): cmake .. -DDEBUG: STRING = OFF
(4.): make
Any ideas?
Edit: Trying to get cmake to use 64-bit still doesn't work.
(Tried to drive it into 32-bit only for strokes, also did not work)
source share