While trying to compile GnuRadio on the Beaglebone (not
cross-compiling), I get this error:
/home/root/build/gnuradio/gnuradio-core/src/lib/filter/dotprod_fff_armv7_a.c:
In function ‘dotprod_fff_armv7_a’:
/home/root/build/gnuradio/gnuradio-core/src/lib/filter/dotprod_fff_armv7_a.c:67:5:
error: impossible register constraint in ‘asm’
make[2]: ***
[gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/filter/dotprod_fff_armv7_a.c.o]
Error 1
make[1]: *** [gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/all]
Error 2
make: *** [all] Error 2
This look like an assembly syntatic error, but I cannot figure how to
fix it. For building the makefile, I am using the following cmake
command:
cmake -DENABLE_GRC=False -DENABLE_GR_QTGUI=OFF -DENABLE_GR_WXGUI=OFF
CFLAGS="-march=armv7-a
-mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize
-ffast-math -O3" CXXFLAGS="-march=armv7-a -m$
And, them, I simply do make.
I am not very experienced with CMAKE or ARM compiling, any help will
do. Thank you.