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.
on 2013-02-12 19:50
on 2013-02-12 22:16
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... 2013/2/12 Aylons Hazzud <aylons@gmail.com>:
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.