Errors during gnuradio

I just installed (probably successfully) uhd and gnuradio from source
code.

But somehow I got following errors: I just want to know that whether
they
are significant or not.
I downloaded gnuradio from git repository and uhd also from there.
Also got microblaze tool from gnuradio/tools

Let me know if these errors can be afforded or else what should be done
:slight_smile:

During make of gnuradio following errors came ::
####################################################################

In file included from
/home/cogwsn/gnuradio/gr-uhd/include/gr_uhd_usrp_source.h:25,
from gr_uhd_usrp_source.cc:22:
/home/cogwsn/gnuradio/gr-uhd/include/gr_uhd_api.h:25:26: error:
uhd/config.hpp: No such file or directory
In file included from gr_uhd_usrp_source.cc:22:
/home/cogwsn/gnuradio/gr-uhd/include/gr_uhd_usrp_source.h:27:35: error:
uhd/usrp/multi_usrp.hpp: No such file or directory
In file included from gr_uhd_usrp_source.cc:22:
/home/cogwsn/gnuradio/gr-uhd/include/gr_uhd_usrp_source.h:31: error:
‘UHD_EXPORT’ does not name a type
/home/cogwsn/gnuradio/gr-uhd/include/gr_uhd_usrp_source.h:37: error:
expected initializer before ‘:’ token
make[5]: *** [gr_uhd_usrp_source.lo] Error 1
make[5]: Leaving directory /home/cogwsn/gnuradio/gr-uhd/lib' make[4]: *** [all] Error 2 make[4]: Leaving directory /home/cogwsn/gnuradio/gr-uhd/lib’
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory /home/cogwsn/gnuradio/gr-uhd' make[2]: *** [all] Error 2 make[2]: Leaving directory /home/cogwsn/gnuradio/gr-uhd’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cogwsn/gnuradio’
make: *** [all] Error 2
########################################################

During make check of gnuradio following errors came :::

########################################################

Error: gr_block_executor: propagation_policy ‘ONE-TO-ONE’ requires
ninputs
== noutputs
No 3DNow! support; not tested
No 3DNow! support; not tested
No 3DNow! support; not tested
No 3DNow!Ext support; not tested
No 3DNow!Ext support; not tested
No 3DNow!Ext support; not tested
No 3DNow! support; not tested
No 3DNow! support; not tested
No 3DNow! support; not tested
No 3DNow!Ext support; not tested
No 3DNow!Ext support; not tested
No 3DNow!Ext support; not tested
No 3DNow! support; not tested
No 3DNow! support; not tested
No 3DNow! support; not tested

#######################################################################

During make install following errors came

#######################################################################
In file included from
/home/cogwsn/gnuradio/gr-uhd/include/gr_uhd_usrp_source.h:25,
from gr_uhd_usrp_source.cc:22:
/home/cogwsn/gnuradio/gr-uhd/include/gr_uhd_api.h:25:26: error:
uhd/config.hpp: No such file or directory
In file included from gr_uhd_usrp_source.cc:22:
/home/cogwsn/gnuradio/gr-uhd/include/gr_uhd_usrp_source.h:27:35: error:
uhd/usrp/multi_usrp.hpp: No such file or directory
In file included from gr_uhd_usrp_source.cc:22:
/home/cogwsn/gnuradio/gr-uhd/include/gr_uhd_usrp_source.h:31: error:
‘UHD_EXPORT’ does not name a type
/home/cogwsn/gnuradio/gr-uhd/include/gr_uhd_usrp_source.h:37: error:
expected initializer before ‘:’ token
make[5]: *** [gr_uhd_usrp_source.lo] Error 1
make[4]: *** [check] Error 2
make[3]: *** [check-recursive] Error 1
make[2]: *** [check] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2
######################################################################


Sumit Kr.
Research Assistant
Communication Research center
IIIT Hyderabad
India

View this message in context:
http://old.nabble.com/errors-during--gnuradio-tp31974397p31974397.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Hey Elvis, I was badly needing such step by step procedure after the
script
by Marcus stopped working in my institute due to improper flushing of
cache.A whole lot of thanks !!
One more thing would like to mention.During configure of gnuradio we
need to
set the path varible to microblaze/bin other wise the usrp firmware is
not
build.

Elvis D. wrote:

$ git clone git://ettus.sourcerepo.com/ettus/uhd.git

Step 02.00: Checkout the latest GNU Radio sources from the git repository.
$ sudo make install


Sumit Kr.
Research Assistant
Communication Research center
IIIT Hyderabad
India

View this message in context:
http://old.nabble.com/errors-during--gnuradio-tp31974397p31981698.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Hi,
Perhaps you haven’t installed UHD properly. Here are the
instructions for building it correctly on Ubuntu-11.04.

Step 01.00: Download the UHD sources from the Ettus research git
repository.

$ mkdir ettus
$ cd ettus
$ git clone git://ettus.sourcerepo.com/ettus/uhd.git

Step 01.01: Build the UHD driver.

$ cd uhd/host
$ mkdir build
$ cd build
$ ccmake …/

This will bring up the text-based GUI configuration utility.
Press g twice to accept defaults and generate the makefile

$ make -j 6
$ make test
$ sudo make install

Step 01.02: Modify your .bashrc file to ensure that libuhd.so is in your
LD_LIBRARY_PATH:

export LD_LIBRARY_PATH=“/usr/local/lib:$LD_LIBRARY_PATH”

Step 02.00: Checkout the latest GNU Radio sources from the git
repository.

$ git clone gnuradio.git - GNU Radio

Step 02.01: Configure and build GNU Radio.

$ cd gnuradio
$ ./bootstrap
$ ./configure
$ make -j 6
$ make check
$ sudo make install

To clean the GNU Radio build, type the following command:

$ make distclean

Step 02.02: Modify your .bashrc file and .gnomerc file to update the
PYTHONPATH as follows:

export
PYTHONPATH=“/usr/local/lib/python2.6/dist-packages:/usr/local/lib/python2.6/site-packages:$PYTHONPATH”

Elvis D.

Hey Elvis… I think I also need to paste the images to
usr/share/uhd/images
because once we connect the usrp the uhd loads the image files to the
fpga(because this fpga in usrp is not a rom based device … i guess).

Elvis D. wrote:

$ git clone git://ettus.sourcerepo.com/ettus/uhd.git

Step 02.00: Checkout the latest GNU Radio sources from the git repository.
$ sudo make install


Sumit Kr.
Research Assistant
Communication Research center
IIIT Hyderabad
India

View this message in context:
http://old.nabble.com/errors-during--gnuradio-tp31974397p31987653.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Hey Elvis, I was badly needing such step by step procedure after the script
by Marcus stopped working in my institute due to improper flushing of
cache.A whole lot of thanks !!
One more thing would like to mention.During configure of gnuradio we need to
set the path varible to microblaze/bin other wise the usrp firmware is not
build.

Unless you’re planning to make modifications to the firmware, you don’t
need any of the microblaze
or ZPU stuff. The pre-built images that my build-gnuradio script
fetches are more than adequate for
the task.


Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium