I’m trying to install GNURadio 3.7.2.1 from source on Deabian Wheezy
7.2. After typing:
mkdir build
cmake …/
make -j 2
there aren’t problems, but launching
make test
there’re five test errors:
The following tests FAILED:
1 - qa_volk_test_all (Failed)
92 - qa_freq_xlating_fir_filter (Failed)
93 - qa_fir_filter (Failed)
169 - qa_uhd (Failed)
177 - qa_codec2_vocoder (Failed)
so i typed
ctest --output-on-failure
to see the errors, and the ouput is:
Start 1: qa_volk_test_all
1/180 Test #1: qa_volk_test_all …**Failed
1.62 sec
Running 74 test cases…
[…]
volk_32fc_s32f_magnitude_16i: fail on arch u_orc
Best aligned arch: a_sse3
Best unaligned arch: generic
/home/eldiablo/Programmi/gnuradio-3.7.2.1/volk/lib/testqa.cc(39): error
in “volk_32fc_s32f_magnitude_16i_test”: check
run_volk_tests(volk_32fc_s32f_magnitude_16i_get_func_desc(), (void
()())volk_32fc_s32f_magnitude_16i_manual,
std::string(“volk_32fc_s32f_magnitude_16i”), 1, 32768, 20462, 1, 0,
“NULL”) == 0 failed [true != 0]
[…]
*** 1 failure detected in test suite “Master Test Suite”
[…]
92/180 Test #92: qa_freq_xlating_fir_filter …***Failed
0.74 sec
Using Volk machine: ssse3_32_orc
…FFFF
FAIL: test_fir_filter_scc_001 (main.test_freq_xlating_filter)
Traceback (most recent call last):
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gr-filter/python/filter/qa_freq_xlating_fir_filter.py”,
line 283, in test_fir_filter_scc_001
self.assertComplexTuplesAlmostEqual(expected_data, result_data, 4)
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gnuradio-runtime/python/gnuradio/gr_unittest.py”,
line 74, in assertComplexTuplesAlmostEqual
self.assertComplexAlmostEqual (a[i], b[i], places, msg)
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gnuradio-runtime/python/gnuradio/gr_unittest.py”,
line 47, in assertComplexAlmostEqual
(msg or ‘%s != %s within %s places’ % (first
, second
, places
))
AssertionError: 0j != (nan+nanj) within 4 places
======================================================================
FAIL: test_fir_filter_scc_002 (main.test_freq_xlating_filter)
Traceback (most recent call last):
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gr-filter/python/filter/qa_freq_xlating_fir_filter.py”,
line 299, in test_fir_filter_scc_002
self.assertComplexTuplesAlmostEqual(expected_data, result_data, 4)
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gnuradio-runtime/python/gnuradio/gr_unittest.py”,
line 74, in assertComplexTuplesAlmostEqual
self.assertComplexAlmostEqual (a[i], b[i], places, msg)
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gnuradio-runtime/python/gnuradio/gr_unittest.py”,
line 47, in assertComplexAlmostEqual
(msg or ‘%s != %s within %s places’ % (first
, second
, places
))
AssertionError: 0j != (nan+nanj) within 4 places
======================================================================
FAIL: test_fir_filter_scf_001 (main.test_freq_xlating_filter)
Traceback (most recent call last):
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gr-filter/python/filter/qa_freq_xlating_fir_filter.py”,
line 251, in test_fir_filter_scf_001
self.assertComplexTuplesAlmostEqual(expected_data, result_data, 4)
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gnuradio-runtime/python/gnuradio/gr_unittest.py”,
line 74, in assertComplexTuplesAlmostEqual
self.assertComplexAlmostEqual (a[i], b[i], places, msg)
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gnuradio-runtime/python/gnuradio/gr_unittest.py”,
line 47, in assertComplexAlmostEqual
(msg or ‘%s != %s within %s places’ % (first
, second
, places
))
AssertionError: 0j != (nan+nanj) within 4 places
======================================================================
FAIL: test_fir_filter_scf_002 (main.test_freq_xlating_filter)
Traceback (most recent call last):
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gr-filter/python/filter/qa_freq_xlating_fir_filter.py”,
line 267, in test_fir_filter_scf_002
self.assertComplexTuplesAlmostEqual(expected_data, result_data, 4)
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gnuradio-runtime/python/gnuradio/gr_unittest.py”,
line 74, in assertComplexTuplesAlmostEqual
self.assertComplexAlmostEqual (a[i], b[i], places, msg)
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gnuradio-runtime/python/gnuradio/gr_unittest.py”,
line 47, in assertComplexAlmostEqual
(msg or ‘%s != %s within %s places’ % (first
, second
, places
))
AssertionError: 0j != (nan+nanj) within 4 places
Ran 12 tests in 0.095s
FAILED (failures=4)
Start 93: qa_fir_filter
93/180 Test #93: qa_fir_filter …***Failed
0.67 sec
Using Volk machine: ssse3_32_orc
…FF
FAIL: test_fir_filter_scc_001 (main.test_filter)
Traceback (most recent call last):
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gr-filter/python/filter/qa_fir_filter.py”,
line 154, in test_fir_filter_scc_001
self.assertComplexTuplesAlmostEqual(expected_data, result_data, 5)
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gnuradio-runtime/python/gnuradio/gr_unittest.py”,
line 74, in assertComplexTuplesAlmostEqual
self.assertComplexAlmostEqual (a[i], b[i], places, msg)
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gnuradio-runtime/python/gnuradio/gr_unittest.py”,
line 47, in assertComplexAlmostEqual
(msg or ‘%s != %s within %s places’ % (first
, second
, places
))
AssertionError: (0.5+1j) != (nan+nanj) within 5 places
======================================================================
FAIL: test_fir_filter_scc_002 (main.test_filter)
Traceback (most recent call last):
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gr-filter/python/filter/qa_fir_filter.py”,
line 169, in test_fir_filter_scc_002
self.assertComplexTuplesAlmostEqual(expected_data, result_data, 5)
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gnuradio-runtime/python/gnuradio/gr_unittest.py”,
line 74, in assertComplexTuplesAlmostEqual
self.assertComplexAlmostEqual (a[i], b[i], places, msg)
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gnuradio-runtime/python/gnuradio/gr_unittest.py”,
line 47, in assertComplexAlmostEqual
(msg or ‘%s != %s within %s places’ % (first
, second
, places
))
AssertionError: (0.5+1j) != (nan+nanj) within 5 places
Ran 11 tests in 0.080s
FAILED (failures=2)
[…]
Start 169: qa_uhd
169/180 Test #169: qa_uhd …***Failed
0.23 sec
terminate called after throwing an instance of ‘std::bad_alloc’
what(): std::bad_alloc
/home/eldiablo/Programmi/gnuradio-3.7.2.1/build/gr-uhd/python/uhd/qa_uhd_test.sh:
line 7: 14298 Aborted
/usr/bin/python2
-B /home/eldiablo/Programmi/gnuradio-3.7.2.1/gr-uhd/python/uhd/qa_uhd.py
[…]
Start 177: qa_codec2_vocoder
177/180 Test #177: qa_codec2_vocoder …***Failed
1.45 sec
F
FAIL: test001_module_load (main.test_codec2_vocoder)
Traceback (most recent call last):
File
“/home/eldiablo/Programmi/gnuradio-3.7.2.1/gr-vocoder/python/vocoder/qa_codec2_vocoder.py”,
line 54, in test001_module_load
self.assertEqual(expected_data, actual_result)
AssertionError: Tuples differ: (0, 0, 0, 3, 2, 0, 1, 5, 6, 7,… != (0L,
0L, 0L, 3L, 2L, 0L, 1L, 5…
First differing element 112:
24
25
Diff is 3978 characters long. Set self.maxDiff to None to see it.
Ran 1 test in 0.715s
FAILED (failures=1)
If I try to type:
gnuradio-companion
Appear this strange error:
Warning: Block key “blocks_ctrlport_monitor_performance” not found when
loading category tree.
Warning: Block key “blocks_ctrlport_monitor_performance” not found when
loading category tree.
terminate called after throwing an instance of ‘std::bad_alloc’
what(): std::bad_alloc
Aborted
Can anyone help me!! Thanks at all!!