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 test
> Running tests...
> Test project /home/user/gr-gfdm/build
> Start 1: test_gfdm
> 1/16 Test #1: test_gfdm ........................ Passed
> 0.05 sec> Start 2: qa_modulator_cc
> 2/16 Test #2: qa_modulator_cc ..................***Failed
> 0.33 sec> Start 3: qa_sync_cc
> 3/16 Test #3: qa_sync_cc .......................***Failed
> 0.21 sec> Start 4: qa_cyclic_prefixer_cc
> 4/16 Test #4: qa_cyclic_prefixer_cc ............***Failed
> 0.19 sec> Start 5: qa_simple_modulator_cc
> 5/16 Test #5: qa_simple_modulator_cc ...........***Failed
> 0.18 sec> Start 6: qa_transmitter_chain_cc
> 6/16 Test #6: qa_transmitter_chain_cc ..........***Failed
> 0.18 sec> Start 7: qa_simple_receiver_cc
> 7/16 Test #7: qa_simple_receiver_cc ............***Failed
> 0.18 sec> Start 8: qa_advanced_receiver_sb_cc
> 8/16 Test #8: qa_advanced_receiver_sb_cc .......***Failed
> 0.32 sec> Start 9: qa_resource_mapper_cc
> 9/16 Test #9: qa_resource_mapper_cc ............***Failed
> 0.21 sec> Start 10: qa_frame_energy_detector_cc
> 10/16 Test #10: qa_frame_energy_detector_cc ......***Failed
> 0.18 sec> Start 11: qa_simple_preamble_sync_cc
> 11/16 Test #11: qa_simple_preamble_sync_cc .......***Failed
> 0.19 sec> Start 12: qa_resource_demapper_cc
> 12/16 Test #12: qa_resource_demapper_cc ..........***Failed
> 0.18 sec> Start 13: qa_remove_prefix_cc
> 13/16 Test #13: qa_remove_prefix_cc ..............***Failed
> 0.21 sec> Start 14: qa_extract_burst_cc
> 14/16 Test #14: qa_extract_burst_cc ..............***Failed
> 0.20 sec> Start 15: qa_py_channel_estimator_cc
> 15/16 Test #15: qa_py_channel_estimator_cc ....... Passed
> 0.72 sec> Start 16: qa_channel_estimator_cc
> 16/16 Test #16: qa_channel_estimator_cc ..........***Failed
> 0.18 sec>
> 13% tests passed, 14 tests failed out of 16
>
> Total Test time (real) = 3.74 sec
>
> The 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 CTest
> Makefile: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_cc
> UpdateCTestConfiguration from :/home/user/gr-
> gfdm/build/DartConfiguration.tcl> UpdateCTestConfiguration from
> :/home/user/gr-
> gfdm/build/DartConfiguration.tcl> Test project /home/user/gr-gfdm/build
> Constructing a list of tests
> Done constructing a list of tests
> Checking test dependency graph...
> Checking test dependency graph end
> test 5
> Start 5: qa_simple_modulator_cc
>
> 5: Test command: /bin/sh "/home/user/gr-
> gfdm/build/python/qa_simple_modulator_cc_test.sh"> 5: Test timeout
> computed to be: 9.99988e+06
> 5: 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 gfdm
> 5: 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_helper> 5: _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_32u> 1/1 Test #5:
> qa_simple_modulator_cc ...........***Failed 0.18 sec
>
> 0% tests passed, 1 tests failed out of 1
>
> Total Test time (real) = 0.19 sec
>
> The 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.
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio