'asm' error while compiling on Beaglebone

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.

Inspired by a thread in this discussion list [1], I have tried the
following command for cmake:

cmake -DENABLE_GRC=False -DENABLE_GR_QTGUI=OFF -ENABLE_GR_WXGUI=OFF
CFLAGS="-mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp
-ftree-vectorize -ffast-math -O3 -g" CXXFLAGS="-mcpu=cortex-a8
-mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ffast-math -O3 -g"

No luck, yet :c/

[1]
http://lists.gnu.org/archive/html/discuss-gnuradio/2011-10/msg00302.html

2013/2/12 Aylons H. [email protected]:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs