# Raspberry PI 2 build failure

**URL:** <https://www.ruby-forum.com/t/raspberry-pi-2-build-failure/242503>\
**Category:** GNU Radio\
**Created:** [June 28, 2015, 7:03pm UTC](https://www.ruby-forum.com/t/raspberry-pi-2-build-failure/242503 "2015-06-28T19:03:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [June 28, 2015, 7:03pm UTC](https://www.ruby-forum.com/t/raspberry-pi-2-build-failure/242503/1 "2015-06-28T19:03:09Z")

</div>

Hello,

I have been attempting to build gnu radio on a Raspberry PI 2 running  
Debian Wheezy. I believe I have properly built and installed the latest  
releases of the gnu radio dependencies. However the gnu radio build  
fails with the following:

ron@squireoaksfarm-radio ~/src/gnuradio/build $ make -j4  
[0%] Built target doxygen\_target  
[0%] Built target pygen\_python\_volk\_modtool\_e4ffc  
[1%] Built target pygen\_python\_volk\_modtool\_2f770  
[1%] Built target pmt\_generated  
[1%] Built target gr\_fec\_rstest  
[4%] Built target blocks\_generated\_includes  
[4%] Built target filter\_generated\_includes  
[5%] Built target pygen\_gr\_filter\_examples\_d9ea4  
[5%] Built target digital\_generated\_includes  
[5%] Built target analog\_generated\_includes  
[7%] Built target volk\_obj  
[7%] Built target atsc\_viterbi\_gen  
[7%] Built target atsci\_viterbi\_gen  
[7%] Built target gr\_trellis\_xml  
[7%] Built target generate\_codebook  
[8%] Built target trellis\_generated\_includes  
[8%] Built target volk  
[9%] Built target gnuradio-pmt  
[9%] Linking CXX executable test\_all  
[10%] Linking CXX executable volk\_profile  
[10%] Linking CXX executable volk-config-info  
[16%] Built target gnuradio-runtime  
libvolk.so.1.0: undefined reference to  
`volk_16i_max_star_horizontal_16i_neonasm' libvolk.so.1.0: undefined reference to`volk\_32fc\_x2\_multiply\_32fc\_neonasm’  
libvolk.so.1.0: undefined reference to  
`volk_32fc_32f_dot_prod_32fc_a_neonasm' libvolk.so.1.0: undefined reference to`volk\_32f\_x2\_dot\_prod\_32f\_neonasm’  
libvolk.so.1.0: undefined reference to  
`volk_32f_x2_dot_prod_32f_neonasm_opts' libvolk.so.1.0: undefined reference to`volk\_32fc\_32f\_dot\_prod\_32fc\_a\_neonpipeline’  
collect2: ld returned 1 exit status  
volk/lib/CMakeFiles/test\_all.dir/build.make:121: recipe for target  
‘volk/lib/test\_all’ failed  
make[2]: \*\*\* [volk/lib/test\_all] Error 1  
CMakeFiles/Makefile2:178: recipe for target  
‘volk/lib/CMakeFiles/test\_all.dir/all’ failed  
make[1]: \*\*\* [volk/lib/CMakeFiles/test\_all.dir/all] Error 2  
make[1]: \*\*\* Waiting for unfinished jobs…  
…/lib/libvolk.so.1.0: undefined reference to  
`volk_32fc_x2_multiply_32fc_neonasm' ../lib/libvolk.so.1.0: undefined reference to`volk\_16i\_max\_star\_horizontal\_16i\_neonasm’  
…/lib/libvolk.so.1.0: undefined reference to  
`volk_32fc_32f_dot_prod_32fc_a_neonasm' ../lib/libvolk.so.1.0: undefined reference to`volk\_32f\_x2\_dot\_prod\_32f\_neonasm\_opts’  
…/lib/libvolk.so.1.0: undefined reference to  
`volk_32fc_32f_dot_prod_32fc_a_neonpipeline' ../lib/libvolk.so.1.0: undefined reference to`volk\_32f\_x2\_dot\_prod\_32f\_neonasm’  
collect2: ld returned 1 exit status  
volk/apps/CMakeFiles/volk-config-info.dir/build.make:99: recipe for  
target ‘volk/apps/volk-config-info’ failed  
make[2]: \*\*\* [volk/apps/volk-config-info] Error 1  
CMakeFiles/Makefile2:309: recipe for target  
‘volk/apps/CMakeFiles/volk-config-info.dir/all’ failed  
make[1]: \*\*\* [volk/apps/CMakeFiles/volk-config-info.dir/all] Error 2  
[17%] Built target test-gnuradio-runtime  
…/lib/libvolk.so.1.0: undefined reference to  
`volk_32fc_x2_multiply_32fc_neonasm' ../lib/libvolk.so.1.0: undefined reference to`volk\_16i\_max\_star\_horizontal\_16i\_neonasm’  
…/lib/libvolk.so.1.0: undefined reference to  
`volk_32fc_32f_dot_prod_32fc_a_neonasm' ../lib/libvolk.so.1.0: undefined reference to`volk\_32f\_x2\_dot\_prod\_32f\_neonasm\_opts’  
…/lib/libvolk.so.1.0: undefined reference to  
`volk_32fc_32f_dot_prod_32fc_a_neonpipeline' ../lib/libvolk.so.1.0: undefined reference to`volk\_32f\_x2\_dot\_prod\_32f\_neonasm’  
collect2: ld returned 1 exit status  
volk/apps/CMakeFiles/volk\_profile.dir/build.make:125: recipe for target  
‘volk/apps/volk\_profile’ failed  
make[2]: \*\*\* [volk/apps/volk\_profile] Error 1  
CMakeFiles/Makefile2:346: recipe for target  
‘volk/apps/CMakeFiles/volk\_profile.dir/all’ failed  
make[1]: \*\*\* [volk/apps/CMakeFiles/volk\_profile.dir/all] Error 2  
Makefile:160: recipe for target ‘all’ failed  
make: \*\*\* [all] Error 2  
ron@squireoaksfarm-radio ~/src/gnuradio/build $

It appears there is an issue with neon support.  
Thanks,

– 73 Ron / W4MMP

---

<div class="post-metadata">

**Author:** ![ron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@ron](https://www.ruby-forum.com/u/ron)\
**Post date:** [June 30, 2015, 10:03pm UTC](https://www.ruby-forum.com/t/raspberry-pi-2-build-failure/242503/2 "2015-06-30T22:03:46Z")

</div>

Hi Murat,  
Thanks very much for the information. I did attempt using Jessie a  
while ago via the raspbian repositories but that did not work out so  
well. I will give what you have suggested a try.

73  
Ron / W4MMP

---

<div class="post-metadata">

**Author:** ![ron](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@ron](https://www.ruby-forum.com/u/ron)\
**Post date:** [July 4, 2015, 10:37am UTC](https://www.ruby-forum.com/t/raspberry-pi-2-build-failure/242503/3 "2015-07-04T10:37:44Z")

</div>

Hi Ron,

have a look at  
[https://gnuradio.org/redmine/projects/gnuradio/wiki/Embedded](https://gnuradio.org/redmine/projects/gnuradio/wiki/Embedded)

You have to native compile:

cmake -DCMAKE\_C\_FLAGS=“-march=armv7 -mthumb-interwork -mfloat-abi=hard  
-mfpu=neon -mtune=cortex-a7” -DCMAKE\_ASM\_FLAGS=“-march=armv7  
-mthumb-interwork -mfloat-abi=hard -mfpu=neon”

After them start make.

Andy

Am 28.06.2015 um 19:02 schrieb Ron:
