Re: Problems building GNURadio

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 :confused:

-----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 [email protected]
Discuss-gnuradio Info Page

-----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-----