[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] New build structure! (Warning #2)
From: |
Philip Balister |
Subject: |
Re: [Discuss-gnuradio] New build structure! (Warning #2) |
Date: |
Fri, 21 Oct 2011 10:12:05 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Thunderbird/3.1.15 |
On 10/21/2011 01:46 AM, Josh Blum wrote:
>
>
> On 10/20/2011 10:22 PM, Daniel Dekst wrote:
>>
>> Tried on USRP E100 kernel module 3.0.0
>> Error when make.
>>
>> [ 13%] Building C object
>> gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/filter/dotprod_fff_armv7_a.c.o
>> /program/gnuradio/gnuradio-core/src/lib/filter/dotprod_fff_armv7_a.c: In
>> function 'dotprod_fff_armv7_a':
>> /program/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
>>
>>
>
> You may want to experiment with compiler flags. Try this:
>
> cmake -DCMAKE_CXX_FLAGS:STRING="-mcpu=cortex-a8 -mfpu=neon
> -mfloat-abi=softfp -g" -DCMAKE_C_FLAGS:STRING="-mcpu=cortex-a8
> -mfpu=neon -mfloat-abi=softfp -g" <gr_source_dir>
Yep, for gnuradio you need to set the CFLAGS so it knows there is a NEON
unit available, otherwise the inline asm fails.
Philip
- Re: [Discuss-gnuradio] New build structure! (Warning #2), (continued)
Re: [Discuss-gnuradio] New build structure! (Warning #2), Arturo Rinaldi, 2011/10/20
Re: [Discuss-gnuradio] New build structure! (Warning #2), Ben Hilburn, 2011/10/20
Re: [Discuss-gnuradio] New build structure! (Warning #2), Daniel Dekst, 2011/10/21
Re: [Discuss-gnuradio] New build structure! (Warning #2), Daniel Dekst, 2011/10/21
Re: [Discuss-gnuradio] New build structure! (Warning #2), Jordan Otomo, 2011/10/23