Problems building GNURadio

Hi:
I am having problems building gnuradio on armV7 that I cannot figure
out. I am using pybombs.
Here is a snapshot of the errors during the build:

Built target pygen_gr_vocoder_examples_6232c
[ 23%] Built target fcd_swig_swig_doc
[ 24%] Built target pygen_gr_fcd_python_fcd_2e9af
[ 24%] Built target wavelet_swig_swig_doc
[ 24%] Built target pygen_gr_wavelet_python_wavelet_75fe3
[ 24%] Built target pygen_gr_wxgui_grc_ca707
[ 24%] Built target pygen_gr_wxgui_python_wxgui_173e9
[ 24%] Built target pygen_gr_wxgui_python_wxgui_c3702
[ 25%] Built target pygen_gr_wxgui_python_wxgui_3f66f
[ 25%] Built target wxgui_swig_swig_doc
Linking CXX executable test_all
Linking CXX executable volk-config-info
…/lib/libvolk.so.0.0.0: undefined reference to
volk_16i_max_star_horizontal_16i_neonasm' ../lib/libvolk.so.0.0.0: undefined reference tovolk_32fc_x2_multiply_32fc_neonasm’
…/lib/libvolk.so.0.0.0: undefined reference to
volk_32fc_32f_dot_prod_32fc_a_neonasm' ../lib/libvolk.so.0.0.0: undefined reference tovolk_32f_x2_dot_prod_32f_neonasm’
…/lib/libvolk.so.0.0.0: undefined reference to
volk_32f_x2_dot_prod_32f_neonasm_opts' ../lib/libvolk.so.0.0.0: undefined reference tovolk_32fc_32f_dot_prod_32fc_a_neonpipeline’
collect2: error: ld returned 1 exit status
make[2]: *** [volk/apps/volk-config-info] Error 1
make[1]: *** [volk/apps/CMakeFiles/volk-config-info.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
libvolk.so.0.0.0: undefined reference to
volk_32fc_x2_multiply_32fc_neonasm' libvolk.so.0.0.0: undefined reference tovolk_16i_max_star_horizontal_16i_neonasm’
libvolk.so.0.0.0: undefined reference to
volk_32fc_32f_dot_prod_32fc_a_neonasm' libvolk.so.0.0.0: undefined reference tovolk_32f_x2_dot_prod_32f_neonasm_opts’
libvolk.so.0.0.0: undefined reference to
volk_32fc_32f_dot_prod_32fc_a_neonpipeline' libvolk.so.0.0.0: undefined reference tovolk_32f_x2_dot_prod_32f_neonasm’
collect2: error: ld returned 1 exit status
make[2]: *** [volk/lib/test_all] Error 1
make[1]: *** [volk/lib/CMakeFiles/test_all.dir/all] Error 2
make: *** [all] Error 2
ERROR:root:PyBOMBS Make step failed for package (gnuradio) please see
bash output above for a reason (hint: look for the word Error)
aruntu@aruntu:~/pybombs$

Can anyone point me in the right direction?

Thanks,
Freddie

On Mon, Aug 11, 2014 at 7:51 PM, Ed [email protected] wrote:

[ 24%] Built target pygen_gr_wxgui_python_wxgui_173e9
…/lib/libvolk.so.0.0.0: undefined reference to
`volk_32fc_32f_dot_prod_32fc_a_neonpipeline’
collect2: error: ld returned 1 exit status


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page

I’m not sure of the problem, except that I would expect this to happen
if you did the following steps:

  1. built GNU Radio from source roughly 3 weeks ago or later
  2. updated to a new revision
  3. run make without running cmake

Do you see any files in the gnuradio
$buildir/volk/lib/CMakeFiles/volk.dir/__/kernels/volk/asm/neon/ ?
You can try using pybombs clean gnuradio, and then try building again.

Nathan

On Mon, Aug 11, 2014 at 9:39 PM, West, Nathan
[email protected]
wrote:

[ 24%] Built target pygen_gr_wavelet_python_wavelet_75fe3
volk_32fc_x2_multiply_32fc_neonasm' make[1]: *** [volk/apps/CMakeFiles/volk-config-info.dir/all] Error 2 volk_32fc_32f_dot_prod_32fc_a_neonpipeline’
Can anyone point me in the right direction?

Do you see any files in the gnuradio
$buildir/volk/lib/CMakeFiles/volk.dir/__/kernels/volk/asm/neon/ ?
You can try using pybombs clean gnuradio, and then try building again.

Nathan

Native compiles don’t pick up the proper C and ASM flags. Here’s what I
had
to set to build natively on a Tegra:

cmake [other options] -DCMAKE_C_FLAGS=“-march=armv7-a -mthumb-interwork
-mfloat-abi=hard -mfpu=neon -mtune=cortex-a9”
-DCMAKE_ASM-ATT_FLAGS=“-march=armv7-a -mthumb-interwork -mfloat-abi=hard
-mfpu=neon”

I might have gone overboard with them, like it’s probably not necessary
to
tell the native C compiler what its arch is, but I mostly carried this
over
from our OE cross compiler work and it built and ran fine this way.

Tom