[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] New build structure! (Warning #2)
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] New build structure! (Warning #2) |
Date: |
Thu, 20 Oct 2011 22:46:48 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
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>
-josh
>
>
> 2011/10/20 <address@hidden>
>
>
>> Message: 10
>> Date: Wed, 19 Oct 2011 18:43:32 -0700
>> From: Tom Rondeau <address@hidden>
>> To: GNURadio Discussion List <address@hidden>
>> Subject: [Discuss-gnuradio] New build structure! (Warning #2)
>> Message-ID:
>> <address@hidden>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Another big change is happening today! Josh Blum has make GNU Radio build
>> using cmake, and we are hoping to switch over to it completely. The 'next'
>> branch has just pulled in his changes, and we now have parallel build
>> systems, cmake and autofoo. We are trying to make cmake the default build
>> system, so we need people to start using it and testing as much as possible.
>> For people who have issues using cmake, the autofoo stuff will still be
>> there. The parallel build system will be in place official from 3.5. As of
>> 3.6, we will have made a decision to move to cmake or stay with autotools;
>> the other will be removed. It is expected that we will move to cmake, so
>> this is a Warning to everyone that autotools is being deprecated as our
>> build method.
>>
>> Details about using cmake can be found here:
>> http://gnuradio.org/redmine/projects/gnuradio/wiki/CMakeWork
>>
>> To summarizes:
>>
>> $ cd gnuradio
>> $ git checkout next
>> $ git pull
>> $ mkdir build
>> $ cd build
>> $ cmake ../
>> $ make
>> $ make test
>> $ sudo make install
>>
>> Again, if that fails but you really need to use the current next branch, the
>> same autotools build process will work. Please let us know if you find any
>> issues.
>>
>> Thanks!
>> Tom
>>
>>
>>
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
- 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),
Josh Blum <=
- 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