discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] New build structure! (Warning #2)


From: Daniel Dekst
Subject: Re: [Discuss-gnuradio] New build structure! (Warning #2)
Date: Sat, 22 Oct 2011 03:20:50 +0800 (CST)


Thanks, no further error.
'make check' returns no rule to make check, but we can 'make install' without error.
A problem is that the PYTHONPATH is not set, so we get error 'cannot find gnuradio' when we are trying to run an example.
Even though I put
export PYTHONPATH=/usr/local/lib/python2.6/site-packages
in ~/.bashrc and ~/.profile
it does not work.
I have to type
export PYTHONPATH=/usr/local/lib/python2.6/site-packages
in each terminal that I log into the E100 through SSH.
Is there a way to set PYTHONPATH permanently on E100?



------------------------------

Message: 23
Date: Thu, 20 Oct 2011 22:46:48 -0700
From: Josh Blum <address@hidden>
To: address@hidden
Subject: Re: [Discuss-gnuradio] New build structure! (Warning #2)
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-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



reply via email to

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