# Re: Problems building GNURadio

**URL:** <https://www.ruby-forum.com/t/re-problems-building-gnuradio/232132>\
**Category:** GNU Radio\
**Created:** [September 19, 2014, 5:32pm UTC](https://www.ruby-forum.com/t/re-problems-building-gnuradio/232132 "2014-09-19T17:32:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [September 19, 2014, 5:32pm UTC](https://www.ruby-forum.com/t/re-problems-building-gnuradio/232132/1 "2014-09-19T17:32:07Z")

</div>

I’m refreshing this one since I have a very similar problem. I’m trying  
to  
build gr on BeagleBone Black, which is also an ARMv7. I’m using the  
build-gnuradio script.

> Linking CXX executable test\_all  
> libvolk.so.0.0.0: undefined reference to `volk\_32f\_x2\_dot\_prod\_32f\_neonasm’  
> collect2: 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  
> make failed  
> Exiting Gnu Radio build/install

I’ve edited the cmake command in the script:

cmake -DENABLE\_BAD\_BOOST=ON -DCMAKE\_BUILD\_TYPE=RelWithDebInfo  
$CMAKE\_FLAG1  
$CMAKE\_FLAG2 $CMF1 $CMF2 -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" …/ \>\>$LOGDEV 2\>&1

Unfortunately, it had no effect. I’m out of ideas over here 😕

---

<div class="post-metadata">

**Author:** ![Michal\_J](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/77aa72/32.png) [@Michal\_J](https://www.ruby-forum.com/u/Michal_J)\
**Post date:** [September 19, 2014, 5:46pm UTC](https://www.ruby-forum.com/t/re-problems-building-gnuradio/232132/2 "2014-09-19T17:46:18Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

I know this is not very helpful, but: The BeagleBone Black is surely  
not a platform I’d want to compile on… It’d be great if “we” [1]  
could come up with a well-documented way to do cross-compilation for  
these types of targets. IIRC this was one of the results that Philip  
Balister concluded from GRCON’14’s embedded working group meeting;  
maybe he wants to comment on that.

Greetings,  
Marcus

[1] quotation marks due to the fact that out of lack of embedded  
platform I’m not part of “we”.

On 19.09.2014 17:29, Michal J. wrote:

> > volk/lib/CMakeFiles/volk.dir/volk\_machine\_generic\_orc.c.o [4%]  
> > `volk\_32fc\_32f\_dot\_prod\_32fc\_a\_neonasm’ libvolk.so.0.0.0:  
> > I’ve edited the cmake command in the script:
> 
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Discuss-gnuradio  
> mailing list [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1

iQEcBAEBAgAGBQJUHE9jAAoJEAFxB7BbsDrLbhIH/ROl2N/+XOylKt/d9lfcAcrT  
9UQqP9N3V1hIQfDO5zFI/mr3j2+SpR7qAiMXrBaq4scjo094/3+yAJpxA8ZEYalG  
ON6TOdrxzd6QlIhI+Fv0aO5FY84eaxQqNi2el4eZPRB5xF4guh0DREVa/M+jc9/P  
fCQ5zr0nUnASU39lN7FMQKnjM4wA7O1LiynrK/qMUvNIcHonDgS7eZLxaQewJoUP  
+TnbvxvGpr0/9hAWMl7mp0MoYOX8Q75RcPXtWjRYIS2Pep5PtYynYzC+5yRkd0kp  
fmY3eDh691L/KjqLPhzSabg9pFPCvpm3AbA6Drtw4X860QchrFhotcsX6OlWIzE=  
=39jM  
-----END PGP SIGNATURE-----
