Re g : Building gr-uhd and usrp2-firmware

I am using ubuntu Lucid 10.04 LTS.

Did the following thing

Step-1 Installed all the dependencies for ubuntu Lucid 10.04 from the
script
given here
http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall

step-2 git clone gnuradio.git - GNU Radio
then

step-3 git clone GitHub - EttusResearch/UHD-Mirror: This is a special mirror of UHD, intended for use by The Mathworks and its customers.
after that

step-4 cd gnuradio
step-5 ./bootstrap
step-6 ./configure

I got following messages


The following components were skipped either because you asked not
to build them or they didn’t pass configuration checks:

usrp2-firmware

These components will not be built.


The following GNU Radio components have been successfully configured:

config
gruel
volk
gnuradio-core
usrp
usrp2
gr-usrp
gr-usrp2
gr-msdd6000
gr-audio
gr-atsc
gr-cvsd-vocoder
gr-gpio
gr-gsm-fr-vocoder
gr-noaa
gr-pager
gr-radar-mono
gr-radio-astronomy
gr-trellis
gr-video-sdl
gr-wxgui
gr-qtgui
gr-sounder
gr-utils
gnuradio-examples
grc
docs

You my now run the make command to build these components.


The following components were skipped either because you asked not
to build them or they didn’t pass configuration checks:

gcell
gr-gcell
gr-comedi
gr-uhd

These components will not be built.

Configured GNU Radio release v3.4.0-2-g081497e7 for build.


I searched a lot and found answer to many of questions

From the following link(in the summary) i found that no need to build
gr-comedi
http://lists.gnu.org/archive/html/discuss-gnuradio/2006-06/msg00225.html

Also in the following link I read that gcell and gr-gcell are needed
only
for IBM cell processor.
http://www.ruby-forum.com/topic/201112

So I want to ask what should I do to build

gr-uhd and usrp2-firmware

I also did

./configure --enable-gr-uhd

but it shows following message

checking for UHD… no
gr-uhd requires libuhd 3.x.x
configure: error: Component gr-uhd has errors; stopping.

I also did

./configure --enable-usrp2-firmware

and got following message

checking whether byte ordering is bigendian… no
checking for mb-gcc… no
usrp2 firmware requires mb-gcc. Not found
configure: error: Component usrp2-firmware has errors; stopping.
configure: error: ./configure.gnu failed for usrp2/firmware

I saw several posts with the same problem but honestly I couldn’t
understand
what to do next.

Regards


Sumit Kr.
Research Assistant
Communication Research center
IIIT Hyderabad
India

View this message in context:
http://old.nabble.com/Reg-%3A-Building-gr-uhd-and-usrp2-firmware-tp31915462p31915462.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Did you install UHD before you built gnuradio?

You can follow the build guide here:
http://www.ettus.com/uhd_docs/manual/html/build.html

Morgan

On Thu, Jun 23, 2011 at 3:50 PM, sumitstop

On 06/23/2011 06:50 PM, sumitstop wrote:

to build them or they didn’t pass configuration checks:
gruel
gr-gpio
gr-utils
gcell
I searched a lot and found answer to many of questions

configure: error: Component gr-uhd has errors; stopping.
configure: error: Component usrp2-firmware has errors; stopping.

Sumit Kr.
Research Assistant
Communication Research center
IIIT Hyderabad
India
I’ll once again do some personal horn-tooting, if y’all can stand it:

http://www.sbrac.org/files/build-gnuradio

It takes care of downloading/building UHD+Gnu Radio, including
downloading the latest firmware, installing pre-requisites, and
uninstalling
any installed-from-binary-packages “stuff” that might interfere with
a “built from source” build of Gnu Radio.

It works for Ubuntu and Fedora recent releases.

It’s a shell script. It takes quite a while to run, and generally
operates as silently as is practical.


Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium

Hi Morgan…actually I din’t installed UHD before gnuradio.Now when I
installed UHD ,my problem seems to be solved now :slight_smile: gr-uhd is built now.
Thanks

Morgan R.-2 wrote:

then
The following components were skipped either because you asked not
config
gr-cvsd-vocoder
gr-sounder

So I want to ask what should I do to build
gr-uhd requires libuhd 3.x.x
usrp2 firmware requires mb-gcc. Not found

Sent from the GnuRadio mailing list archive at Nabble.com.
[email protected]
Discuss-gnuradio Info Page


Sumit Kr.
Research Assistant
Communication Research center
IIIT Hyderabad
India

View this message in context:
http://old.nabble.com/Reg-%3A-Building-gr-uhd-and-usrp2-firmware-tp31915462p31917580.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Hi Marcus I got the answer for the question in this thread.Actually I
was
using an outdated version of UHD which doesn’t had USRP2 firmwares.Hence
during configure it was showing the above error.
I just downloaded the latest images and firmwares.
I need to ask that whether it is needed to uninstall the older UHD
before
installing the new one.
If yes then
will “make uninstall” will work in the directory from which i did “make
install” ?
or some other way …

sumitstop wrote:

step-3 git clone GitHub - EttusResearch/UHD-Mirror: This is a special mirror of UHD, intended for use by The Mathworks and its customers.

volk
gr-gsm-fr-vocoder
gnuradio-examples
gr-gcell

configure: error: Component gr-uhd has errors; stopping.
configure: error: Component usrp2-firmware has errors; stopping.


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page


Sumit Kr.
Research Assistant
Communication Research center
IIIT Hyderabad
India

View this message in context:
http://old.nabble.com/Reg-%3A-Building-gr-uhd-and-usrp2-firmware-tp31915462p31958690.html
Sent from the GnuRadio mailing list archive at Nabble.com.

On 06/29/2011 06:01 PM, sumitstop wrote:

Hi Marcus I got the answer for the question in this thread.Actually I was
using an outdated version of UHD which doesn’t had USRP2 firmwares.Hence
during configure it was showing the above error.
I just downloaded the latest images and firmwares.
I need to ask that whether it is needed to uninstall the older UHD before
installing the new one.
If yes then
will “make uninstall” will work in the directory from which i did “make
install” ?
or some other way …
As long as you’re always installing from source, it should be OK.


Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium

Hi Marcus… I have used your script.Its superb! I just wanted to build
step
by step :slight_smile:
Btw I just got all things build properly.Actually I put mb-gcc in the
home
folder and set the path variables accordingly.And it worked :slight_smile:

Marcus D. Leech wrote:

I got following messages
The following GNU Radio components have been successfully configured:
gr-audio
gr-wxgui
The following components were skipped either because you asked not

Gcell build problem - GNU Radio - Ruby-Forum

checking whether byte ordering is bigendian… no


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page


Sumit Kr.
Research Assistant
Communication Research center
IIIT Hyderabad
India

View this message in context:
http://old.nabble.com/Reg-%3A-Building-gr-uhd-and-usrp2-firmware-tp31915462p31917569.html
Sent from the GnuRadio mailing list archive at Nabble.com.

I had a similar problem earlier this week. I tried the script but for
some reason it failed. It could be ubuntu 10.10 or a firewall or
webcache issue though git works OK. I can not make any changes to the
corporate firewall or cache. In the end I installed from source and the
secret which also caught me out is to install uhd first. The bonus is
that UHD driver seems to work much better than the older USRP2 driver in
the current release package. It can do what appears as full duplex on my
machine and I no longer see lots of SSSs. I just wish that an expert had
been able to find the time to convert some of the examples to uhd for
those of us that are beginners because now none of them work without
modification.

I had a lot of problems with running grc because I did not know the name
had been changed. All the documentation I found referred to grc, not
gnuradio-companion. Compounding this with the current Ubuntu Gnuradio
packages which I had tested with which pre-dates this change resulted in
a lot of wasted time and 3 unnecessary re-compiles because I assumed it
had failed to compile grc.

Mike

Marcus D. Leech wrote in post #1008337:

On 06/29/2011 06:01 PM, sumitstop wrote:

Hi Marcus I got the answer for the question in this thread.Actually I was
using an outdated version of UHD which doesn’t had USRP2 firmwares.Hence
during configure it was showing the above error.
I just downloaded the latest images and firmwares.
I need to ask that whether it is needed to uninstall the older UHD before
installing the new one.
If yes then
will “make uninstall” will work in the directory from which i did “make
install” ?
or some other way …
As long as you’re always installing from source, it should be OK.


Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org