Hi Elkin - Reviewing the files "CMakeLists.txt" and "lib/CMakeLists.txt", it seems as though Volk is requested but not required, and then not used:
{{{
% find . -name CMakeLists.txt -exec grep -i volk {} +
./CMakeLists.txt:find_package(Volk "1.3")
}}}
Also, FFTW3f is used internally in the C++ code, but is not checked for or linked against. Those are pretty easy additions to those CMakeLists.txt files ... look at (for example, respectively of Volk and FFTW3f) gr-ieee802-15-4 and gr-iqbal. As already pointed out, you'll need to remove the "1.3" from the Volk check, since Volk API 1.3 isn't necessarily backward compatible with the 1.4 API; for the needs of gr-gfdm, either 1.3 or 1.4 seem to work. You also need the Python commpy package for testing. Hope this is useful. - MLD
On Wed, Apr 4, 2018, at 5:24 PM, Elkin Ducuara wrote:
Hi everybody, I am trying to install "gr-gfdm" downloaded from GitHub, I follow step by step installation process but when I execute the line command "make test" got the next errors."user@USER:~/gr-gfdm/build$ make testRunning tests...Test project /home/user/gr-gfdm/buildStart 1: test_gfdm1/16 Test #1: test_gfdm ........................ Passed 0.05 secStart 2: qa_modulator_cc2/16 Test #2: qa_modulator_cc ..................***Failed 0.33 secStart 3: qa_sync_cc3/16 Test #3: qa_sync_cc .......................***Failed 0.21 secStart 4: qa_cyclic_prefixer_cc4/16 Test #4: qa_cyclic_prefixer_cc ............***Failed 0.19 secStart 5: qa_simple_modulator_cc5/16 Test #5: qa_simple_modulator_cc ...........***Failed 0.18 secStart 6: qa_transmitter_chain_cc6/16 Test #6: qa_transmitter_chain_cc ..........***Failed 0.18 secStart 7: qa_simple_receiver_cc7/16 Test #7: qa_simple_receiver_cc ............***Failed 0.18 secStart 8: qa_advanced_receiver_sb_cc8/16 Test #8: qa_advanced_receiver_sb_cc .......***Failed 0.32 secStart 9: qa_resource_mapper_cc9/16 Test #9: qa_resource_mapper_cc ............***Failed 0.21 secStart 10: qa_frame_energy_detector_cc10/16 Test #10: qa_frame_energy_detector_cc ......***Failed 0.18 secStart 11: qa_simple_preamble_sync_cc11/16 Test #11: qa_simple_preamble_sync_cc .......***Failed 0.19 secStart 12: qa_resource_demapper_cc12/16 Test #12: qa_resource_demapper_cc ..........***Failed 0.18 secStart 13: qa_remove_prefix_cc13/16 Test #13: qa_remove_prefix_cc ..............***Failed 0.21 secStart 14: qa_extract_burst_cc14/16 Test #14: qa_extract_burst_cc ..............***Failed 0.20 secStart 15: qa_py_channel_estimator_cc15/16 Test #15: qa_py_channel_estimator_cc ....... Passed 0.72 secStart 16: qa_channel_estimator_cc16/16 Test #16: qa_channel_estimator_cc ..........***Failed 0.18 sec13% tests passed, 14 tests failed out of 16Total Test time (real) = 3.74 secThe following tests FAILED:2 - qa_modulator_cc (Failed)3 - qa_sync_cc (Failed)4 - qa_cyclic_prefixer_cc (Failed)5 - qa_simple_modulator_cc (Failed)6 - qa_transmitter_chain_cc (Failed)7 - qa_simple_receiver_cc (Failed)8 - qa_advanced_receiver_sb_cc (Failed)9 - qa_resource_mapper_cc (Failed)10 - qa_frame_energy_detector_cc (Failed)11 - qa_simple_preamble_sync_cc (Failed)12 - qa_resource_demapper_cc (Failed)13 - qa_remove_prefix_cc (Failed)14 - qa_extract_burst_cc (Failed)16 - qa_channel_estimator_cc (Failed)Errors while running CTestMakefile:127: fallo en las instrucciones para el objetivo 'test'make: *** [test] Error 8"For show the cause of error of an specific item (for example "5 - qa_simple_modulator_cc") I trying with the command line "ctest -V -R qa_simple_modulator_cc" and the result is the next:"user@USER:~/gr-gfdm/build$ ctest -V -R qa_simple_modulator_ccUpdateCTestConfiguration from :/home/user/gr-gfdm/build/DartConfiguration.tclUpdateCTestConfiguration from :/home/user/gr-gfdm/build/DartConfiguration.tclTest project /home/user/gr-gfdm/buildConstructing a list of testsDone constructing a list of testsChecking test dependency graph...Checking test dependency graph endtest 5Start 5: qa_simple_modulator_cc5: Test command: /bin/sh "/home/user/gr-gfdm/build/python/qa_simple_modulator_cc_test.sh"5: Test timeout computed to be: 9.99988e+065: Traceback (most recent call last):5: File "/home/user/gr-gfdm/python/qa_simple_modulator_cc.py", line 24, in <module>5: import gfdm_swig as gfdm5: File "/home/user/gr-gfdm/build/swig/gfdm_swig.py", line 28, in <module>5: _gfdm_swig = swig_import_helper()5: File "/home/user/gr-gfdm/build/swig/gfdm_swig.py", line 24, in swig_import_helper5: _mod = imp.load_module('_gfdm_swig', fp, pathname, description)5: ImportError: /home/user/gr-gfdm/build/lib/libgnuradio-gfdm.so: undefined symbol: volk_32f_index_max_32u1/1 Test #5: qa_simple_modulator_cc ...........***Failed 0.18 sec0% tests passed, 1 tests failed out of 1Total Test time (real) = 0.19 secThe following tests FAILED:5 - qa_simple_modulator_cc (Failed)Errors while running CTest"Then, How do I for solve the errors during gr-gfdm installation?PD: I have installed previously the requeriments for gr-gfdm (GNU Radio OOT and PyGFDM items).Thank you all.
No comments:
Post a Comment