discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] 'asm' error while compiling on Beaglebone


From: Aylons Hazzud
Subject: Re: [Discuss-gnuradio] 'asm' error while compiling on Beaglebone
Date: Tue, 12 Feb 2013 19:14:55 -0200

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 Hazzud <address@hidden>:
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]