# How can I build component usrp on E100?

**URL:** <https://www.ruby-forum.com/t/how-can-i-build-component-usrp-on-e100/212974>\
**Category:** GNU Radio\
**Created:** [October 19, 2011, 5:38pm UTC](https://www.ruby-forum.com/t/how-can-i-build-component-usrp-on-e100/212974 "2011-10-19T17:38:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [October 19, 2011, 5:38pm UTC](https://www.ruby-forum.com/t/how-can-i-build-component-usrp-on-e100/212974/1 "2011-10-19T17:38:03Z")

</div>

Hi, all,

I have updated the kernel modules to 3.0.0 for my USRP E100.  
UHD is successfully built and benchmark\_rx\_rate in  
uhd/host/build/examples works.  
I further installed the gnuradio according to the  
usrpe1xx-FAQhttp://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ

$ git clone git://gnuradio.org/gnuradio.git  
$ cd gnuradio  
$ ./bootstrap  
$ ./configure --disable-volk --disable-usrp2 --disable-usrp1  
–disable-gr-video-sdl CFLAGS="-march=armv7-a -mtune=cortex-a8  
-mfpu=neon -mfloat-abi=softfp -O3" CXXFLAGS="-march=armv7-a  
-mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -O3"  
-with-qwt-incdir=/usr/include  
$ make  
$ make check  
$ su

# make install

# ldconfig

Because the component usrp is skipped, when I try to run  
gnuradio-examples/python/ofdm/benchmark\_ofdm\_tx.py  
the usrp module cannot be found.  
ImportError: cannot import name usrp

The results of configure are as follows.  
How can I build usrp on E100?  
Is that because the sdcc version is not high enough?  
I see this in configuration.  
“checking sdcc\_version “2.8.0”… 2.8.0  
Not building component usrp.”

Thanks,  
Yooxi

* * *

The following GNU Radio components have been successfully configured:

config  
gruel  
gnuradio-core  
gr-msdd6000  
gr-audio  
gr-atsc  
gr-cvsd-vocoder  
gr-gsm-fr-vocoder  
gr-noaa  
gr-pager  
gr-radio-astronomy  
gr-trellis  
gnuradio-examples  
gr-uhd  
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:

volk  
gcell  
usrp  
usrp2  
gr-usrp  
gr-usrp2  
gr-gcell  
gr-comedi  
gr-gpio  
gr-radar-mono  
gr-video-sdl  
gr-wxgui  
gr-qtgui  
gr-sounder  
gr-utils  
grc  
gr-shd

These components will not be built.

Configured GNU Radio release v3.4.1-47-ga01c4249 for build.

---

<div class="post-metadata">

**Author:** ![xi\_y](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/e9c0ed/32.png) [@xi\_y](https://www.ruby-forum.com/u/xi_y)\
**Post date:** [October 19, 2011, 5:51pm UTC](https://www.ruby-forum.com/t/how-can-i-build-component-usrp-on-e100/212974/2 "2011-10-19T17:51:40Z")

</div>

I believe usrp is the old driver for USRP1, which you don’t need since  
you’re running UHD. Also, the OFDM example (and the other examples)  
don’t run on UHD yet. You can try the “next” branch from git, in which  
some of the examples have been ported to use UHD.

Sean

From: [discuss-gnuradio-bounces+sean.nowlan=removed\_email\_address@domain.invalid](mailto:discuss-gnuradio-bounces+sean.nowlan=removed_email_address@domain.invalid)  
[[mailto:discuss-gnuradio-bounces+sean.nowlan=removed\_email\_address@domain.invalid](mailto:discuss-gnuradio-bounces+sean.nowlan=removed_email_address@domain.invalid)] On  
Behalf Of xi yang  
Sent: Wednesday, October 19, 2011 11:37 AM  
To: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: [Discuss-gnuradio] How can I build component usrp on E100?

Hi, all,

I have updated the kernel modules to 3.0.0 for my USRP E100.

UHD is successfully built and benchmark\_rx\_rate in

uhd/host/build/examples works.

I further installed the gnuradio according to the usrpe1xx-FAQ

[http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ](http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ)

$ git clone  
git://gnuradio.org/gnuradio.git[http://gnuradio.org/gnuradio.git](http://gnuradio.org/gnuradio.git)

$ cd gnuradio

$ ./bootstrap

$ ./configure --disable-volk --disable-usrp2 --disable-usrp1

–disable-gr-video-sdl CFLAGS="-march=armv7-a -mtune=cortex-a8

-mfpu=neon -mfloat-abi=softfp -O3" CXXFLAGS="-march=armv7-a

-mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -O3"

-with-qwt-incdir=/usr/include

$ make

$ make check

$ su

# make install

# ldconfig

Because the component usrp is skipped, when I try to run

gnuradio-examples/python/ofdm/benchmark\_ofdm\_tx.py

the usrp module cannot be found.  
ImportError: cannot import name usrp

The results of configure are as follows.

How can I build usrp on E100?  
Is that because the sdcc version is not high enough?  
I see this in configuration.  
“checking sdcc\_version “2.8.0”… 2.8.0  
Not building component usrp.”

Thanks,

Yooxi

* * *

The following GNU Radio components have been successfully configured:

config

gruel

gnuradio-core

gr-msdd6000

gr-audio

gr-atsc

gr-cvsd-vocoder

gr-gsm-fr-vocoder

gr-noaa

gr-pager

gr-radio-astronomy

gr-trellis

gnuradio-examples

gr-uhd

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:

volk

gcell

usrp

usrp2

gr-usrp

gr-usrp2

gr-gcell

gr-comedi

gr-gpio

gr-radar-mono

gr-video-sdl

gr-wxgui

gr-qtgui

gr-sounder

gr-utils

grc

gr-shd

These components will not be built.

Configured GNU Radio release v3.4.1-47-ga01c4249 for build.
