Tests of gr-analog failed

Hi,

I’m just compiling gnuradio 3.7 latest git.
Some tests in gr-analog failed with undefined symbol:

Traceback (most recent call last):
File
“/home/schroer/gnuradiocomponents/gnuradio/gr-analog/python/analog/qa_agc.py”,
line 23, in
from gnuradio import gr, gr_unittest, analog, blocks
File
“/home/schroer/gnuradiocomponents/gnuradio/gr-analog/python/analog/init.py”,
line 33, in
from analog_swig import *
File
“/home/schroer/gnuradiocomponents/gnuradio/build-3.7.2/gr-analog/python/analog/…/…/swig/analog_swig.py”,
line 28, in
_analog_swig = swig_import_helper()
File
“/home/schroer/gnuradiocomponents/gnuradio/build-3.7.2/gr-analog/python/analog/…/…/swig/analog_swig.py”,
line 24, in swig_import_helper
_mod = imp.load_module(’_analog_swig’, fp, pathname, description)
ImportError:
/home/schroer/gnuradiocomponents/gnuradio/build-3.7.2/gr-analog/lib/libgnuradio-analog-3.7.2git.so.0.0.0:
undefined symbol: volk_32f_invsqrt_32f_a

But volk_32f_invsqrt_32f_a seems to be build in volk.

Any ideas ??

– Volker

On Sun, Oct 27, 2013 at 2:18 AM, Volker S. [email protected] wrote:

File
_mod = imp.load_module(’_analog_swig’, fp, pathname, description)
– Volker
The invsqrt function is a new one. My guess is that you haven’t
rebuilt and installed libvolk with the new kernel. You might also want
to rerun cmake to make sure all of the VOLK gernating machinery gets
rerun.

Tom


Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

I did a fresh rebuild. But it does not work.

/home/schroer/gnuradiocomponents/gnuradio/build-3.7.2/gr-analog/python/analog/qa_agc_test.sh
Traceback (most recent call last):
File
“/home/schroer/gnuradiocomponents/gnuradio/gr-analog/python/analog/qa_agc.py”,
line 23, in
from gnuradio import gr, gr_unittest, analog, blocks
File
“/home/schroer/gnuradiocomponents/gnuradio/gr-analog/python/analog/init.py”,
line 33, in
from analog_swig import *
File
“/home/schroer/gnuradiocomponents/gnuradio/build-3.7.2/gr-analog/python/analog/…/…/swig/analog_swig.py”,
line 28, in
_analog_swig = swig_import_helper()
File
“/home/schroer/gnuradiocomponents/gnuradio/build-3.7.2/gr-analog/python/analog/…/…/swig/analog_swig.py”,
line 24, in swig_import_helper
_mod = imp.load_module(’_analog_swig’, fp, pathname, description)
ImportError:
/home/schroer/gnuradiocomponents/gnuradio/build-3.7.2/gr-analog/lib/libgnuradio-analog-3.7.2git.so.0.0.0:
undefined symbol: volk_32f_invsqrt_32f_a

This is due to wrong setting of the LD_LIBRARY_PATH in the
qa_agc_test.sh file.
It is set :

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH

which points to an existing ( older ) gnuradio installation. But I don’t
want the existing gnuradio but the new one that lives in the build
directory.

Setting

export
LD_LIBRARY_PATH=/home/schroer/gnuradiocomponents/gnuradio/build-3.7.2/volk/lib:$LD_LIBRARY_PATH

in qa_agc_test.sh

makes the test work.

So the only thing todo is to find the place where this variable will be
constructed for use in the test files.

– Volker

Am 28.10.2013 17:26, schrieb Johnathan C.:

I just downloaded the latest master from github in a new directory, used
a new build directory, run cmake and the problem remains.

– Volker

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs