Hi all.

Today I tried a fresh install of new master from the actual git repository.

Everything compile well but make test gave the following errors:


1:qa_volk_test_all
146:qa_ofdm_txrx
161:qa_qtgui
===================================
1:
/home/schroer/gnuradiocomponents/gnuradio/build-3.7/volk/lib/test_all: symbol lookup error: /home/schroer/gnuradiocomponents/gnuradio/build-3.7/volk/lib/test_all: undefined symbol: volk_16ic_s32f_deinterleave_real_32f_get_func_desc
<end of output>
Test time =   0.02 sec
===================================================
Here I have no ideas.

=====================
2:
Traceback (most recent call last):
File "/home/schroer/gnuradiocomponents/gnuradio/gr-digital/python/qa_ofdm_txrx.py", line 24, in <module>
    import scipy
ImportError: No module named scipy
<end of output>
Test time =   0.11 sec
=============================

Ok, scipy is not installed . So I think, this is not a real problem.

===============================

3:
Traceback (most recent call last):
File "/home/schroer/gnuradiocomponents/gnuradio/gr-qtgui/python/qa_qtgui.py", line 24, in <module>
    import qtgui_swig as qtgui
File "/home/schroer/gnuradiocomponents/gnuradio/build-3.7/gr-qtgui/swig/qtgui_swig.py", line 26, in <module>
    _qtgui_swig = swig_import_helper()
File "/home/schroer/gnuradiocomponents/gnuradio/build-3.7/gr-qtgui/swig/qtgui_swig.py", line 22, in swig_import_helper
    _mod = imp.load_module('_qtgui_swig', fp, pathname, description)
ImportError: /home/schroer/gnuradiocomponents/gnuradio/build-3.7/gr-qtgui/lib/libgnuradio-qtgui-3.7.0git.so.0.0.0: undefined symbol: _ZNK7QwtPlot9drawItemsEP8QPainterRK6QRectFPK11QwtScaleMap
<end of output>
Test time =   0.17 sec

=======================================

This is a problem of gentoo, because it requires qtw5 and qwt6 to be install.

The FindQwt.cmake finds the qwt-lib belonging to qwt5 but the qwt-lib belonging to qwt6 is required.

The following patch solves the problem and should work on other systems, too.

==============================================
diff --git a/cmake/Modules/FindQwt.cmake b/cmake/Modules/FindQwt.cmake
index eba3e64..0a8eab8 100644
--- a/cmake/Modules/FindQwt.cmake
+++ b/cmake/Modules/FindQwt.cmake
@@ -18,7 +18,7 @@ find_path (QWT_INCLUDE_DIRS
 )

 find_library (QWT_LIBRARIES
-       NAMES qwt qwt-qt4
+       NAMES qwt6 qwt qwt-qt4
        HINTS
        ${CMAKE_INSTALL_PREFIX}/lib
        ${CMAKE_INSTALL_PREFIX}/lib64
=============================================

-- Volker

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to