# Removing the old version and Installing gnuradio 3.7 on USRP E 110

**URL:** <https://www.ruby-forum.com/t/removing-the-old-version-and-installing-gnuradio-3-7-on-usrp-e-110/241108>\
**Category:** GNU Radio\
**Created:** [May 13, 2014, 11:48am UTC](https://www.ruby-forum.com/t/removing-the-old-version-and-installing-gnuradio-3-7-on-usrp-e-110/241108 "2014-05-13T11:48:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [May 13, 2014, 11:48am UTC](https://www.ruby-forum.com/t/removing-the-old-version-and-installing-gnuradio-3-7-on-usrp-e-110/241108/1 "2014-05-13T11:48:57Z")

</div>

Hi,

I’m working on USRP E 110 card in order to implement OFDM channel on it.

In fact, I would like to remove the old version of gnuradio installed in  
USRP E 110.

Then, I would like to install gnuradio 3.7.4 on USRP E 110(the version  
that  
as far as I know contains the different blocks necessary to implement

OFDM channel on USRP E 110).

Best regards,

Wafa HAJ HMIDA

---

<div class="post-metadata">

**Author:** ![wafa\_e](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/b4bc9f/32.png) [@wafa\_e](https://www.ruby-forum.com/u/wafa_e)\
**Post date:** [May 13, 2014, 2:01pm UTC](https://www.ruby-forum.com/t/removing-the-old-version-and-installing-gnuradio-3-7-on-usrp-e-110/241108/2 "2014-05-13T14:01:16Z")

</div>

plz how to proceed ?

Thanks a lot

2014-05-13 11:47 GMT+02:00 Wafa E. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![wafa\_e](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/b4bc9f/32.png) [@wafa\_e](https://www.ruby-forum.com/u/wafa_e)\
**Post date:** [May 13, 2014, 2:30pm UTC](https://www.ruby-forum.com/t/removing-the-old-version-and-installing-gnuradio-3-7-on-usrp-e-110/241108/3 "2014-05-13T14:30:50Z")

</div>

If you Google “USRP E100 update gnuradio” it points to the following  
instructions:

[http://ettus-apps.sourcerepo.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ#How-do-I-install-GNU-Radio-from-source](http://ettus-apps.sourcerepo.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ#How-do-I-install-GNU-Radio-from-source)

Mike

–  
Mike J. M0MIK BSc MIET  
Ettus R. Technical Support  
Email: removed\_email\_address@domain.invalid  
Web: [http://ettus.com](http://ettus.com)

On Tue, May 13, 2014 at 12:59 PM, Wafa E. \<

---

<div class="post-metadata">

**Author:** ![wafa\_e](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/b4bc9f/32.png) [@wafa\_e](https://www.ruby-forum.com/u/wafa_e)\
**Post date:** [May 13, 2014, 2:36pm UTC](https://www.ruby-forum.com/t/removing-the-old-version-and-installing-gnuradio-3-7-on-usrp-e-110/241108/4 "2014-05-13T14:36:59Z")

</div>

I recommend you spend some time with the OFDM blocks over simulated  
channels on your PC to become familiar with the basics. Using the E110  
is not a simple task, make sure you’ve become fully familiar with that  
device before you attempt to do something sophisticated.

M

---

<div class="post-metadata">

**Author:** ![wafa\_e](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/b4bc9f/32.png) [@wafa\_e](https://www.ruby-forum.com/u/wafa_e)\
**Post date:** [May 23, 2014, 9:29am UTC](https://www.ruby-forum.com/t/removing-the-old-version-and-installing-gnuradio-3-7-on-usrp-e-110/241108/5 "2014-05-23T09:29:38Z")

</div>

Hi,

The USRP E 110 is connected to internet.  
In fact, I followed the different commands described in the FAQ. But  
when I  
typed  
“make” I got this error :

[49%] Built target \_filter\_swig\_swig\_tag  
[49%] Building CXX object  
gr-filter/swig/CMakeFiles/\_filter\_swig.dir/filter\_swigPYTHON\_wrap.cxx.o  
g++: Internal error: Killed (program cc1plus)  
Please submit a full bug report.  
See  
\<[GCC Bugs - GNU Project](http://gcc.gnu.org/bugs.html)[https://owa.ece.fr/owa/redir.aspx?C=azMLHeTJTEeJAp-eApYyqBPwd5wXLNEIaWtGtAFgTFNK5I8pwshWTvAb5Aa2cq8hkqcLKU7Jt-8.&URL=](https://owa.ece.fr/owa/redir.aspx?C=azMLHeTJTEeJAp-eApYyqBPwd5wXLNEIaWtGtAFgTFNK5I8pwshWTvAb5Aa2cq8hkqcLKU7Jt-8.&URL=)\>  
for instructions.  
make[2]: \*\*\*  
[gr-filter/swig/CMakeFiles/\_filter\_swig.dir/filter\_swigPYTHON\_wrap.cxx.o]  
Error 1  
make[1]: \*\*\* [gr-filter/swig/CMakeFiles/\_filter\_swig.dir/all] Error 2  
make: \*\*\* [all] Error 2

How to fix it in order to update gnuradio embedded on usrp e110?

Best regards,

Wafa HAJ HMIDA

2014-05-19 16:06 GMT+02:00 Wafa E. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![wafa\_e](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/b4bc9f/32.png) [@wafa\_e](https://www.ruby-forum.com/u/wafa_e)\
**Post date:** [May 24, 2014, 4:55am UTC](https://www.ruby-forum.com/t/removing-the-old-version-and-installing-gnuradio-3-7-on-usrp-e-110/241108/6 "2014-05-24T04:55:48Z")

</div>

Hi,

I have two questions:

1/ I followed the different instructions mentioned in this link:

[http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/](http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/)

But when I typed:

root@usrp-e1xx:~# swapon /swapfile1  
_swapon: /swapfile1: swapon failed: Device or resource busy_

I got the error above.

How to fix this error in order to create swap file in order to update  
gnuradio ?

2/ For the following instruction , which count shall I put for the swap  
file in order to update gnuradio on usrp e110 ?

dd if=/dev/zero of=/swapfile1 bs=1024 count=524288

Best regards,

Wafa HAJ HMIDA

2014-05-22 16:57 GMT+02:00 Philip B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![wafa\_e](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/b4bc9f/32.png) [@wafa\_e](https://www.ruby-forum.com/u/wafa_e)\
**Post date:** [May 24, 2014, 5:30am UTC](https://www.ruby-forum.com/t/removing-the-old-version-and-installing-gnuradio-3-7-on-usrp-e-110/241108/7 "2014-05-24T05:30:53Z")

</div>

Hi Wafa,

root@usrp-e1xx:~# swapon /swapfile1  
_swapon: /swapfile1: swapon failed: Device or resource busy_

The file is still opened; maybe you’re already using it (check with  
“swapon” without arguments)?  
Have you been able to run mkswap on the file?

Also, you must use an external drive to store the swap file instead of  
the root folder ( / ), because in the standard image on the standard 4GB  
flash drive that the E100 uses, there won’t be enough free space for a  
reasonably large swap file.

Regarding question 2: swap can’t be too big. Aim for 3-4GB.

Greetings,  
Marcus

---

<div class="post-metadata">

**Author:** ![wafa\_e](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/b4bc9f/32.png) [@wafa\_e](https://www.ruby-forum.com/u/wafa_e)\
**Post date:** [May 23, 2014, 9:40am UTC](https://www.ruby-forum.com/t/removing-the-old-version-and-installing-gnuradio-3-7-on-usrp-e-110/241108/8 "2014-05-23T09:40:45Z")

</div>

Hi Wafa,

to cite an email of Marcus L. (which I saidly can only find myself in  
citations):

> > This particular error comes from GCC running out of virtual memory during  
> > the compile. You’ll need to attach an external disk, make a swapfile on  
> > it, and then attach said swapfile to  
> > the swap pool using “swapon”.

Please consult the internet, your administrator or IT helpdesk on how to  
set up a swap file on linux.

But your real question was:

> How to fix it in order to update gnuradio embedded on usrp e110?

I think the answer here is that I still think it might be a bit early  
for you to work on the OFDM systems on your embedded device.  
First, you should get a little more accustomed to doing Software Radio  
on a PC, using simulations. After all, a simulation can give you a  
feeling on how much processing power you’ll need to do the real-time  
transmission – and if what you’re planning to do is really feasible  
with your specific combination of hardware, system and optimization  
knowledge.

Greetings,  
Marcus M.

---

<div class="post-metadata">

**Author:** ![wafa\_e](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/b4bc9f/32.png) [@wafa\_e](https://www.ruby-forum.com/u/wafa_e)\
**Post date:** [May 24, 2014, 6:58am UTC](https://www.ruby-forum.com/t/removing-the-old-version-and-installing-gnuradio-3-7-on-usrp-e-110/241108/9 "2014-05-24T06:58:58Z")

</div>

In fact, I retried to type these commands :

root@usrp-e1xx:~# swapon  
Usage:  
swapon -a [-e] [-v] [-f] enable all swaps from /etc/fstab  
swapon [-p priority] [-v] [-f] enable given swap  
swapon -s display swap usage summary  
swapon -h display help  
swapon -V display version

The parameter:  
{-L label | LABEL=label} LABEL of device to be used  
{-U uuid | UUID=uuid} UUID of device to be used  
 name of device to be used  
 name of file to be used

root@usrp-e1xx:~# mkswap /swapfile1  
Setting up swapspace version 1, size = 524284 KiB  
no label, UUID=76dccdc9-cb8a-40c6-9e0a-ed58eaa900f8  
root@usrp-e1xx:~# chown root:root /swapfile1  
root@usrp-e1xx:~# chmod 0600 /swapfile1  
_root@usrp-e1xx:~# swapon /swapfile1_  
_Adding 524284k swap on /swapfile1. Priority:-1 extents:246  
across:1568156k SS_

Now it works.

shall I follow to do the different instructions mentioned on this  
website  
[http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/](http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/) ie making swap  
file on the root

or shall I connect usrp to an external memory ? If yes shall I connect a  
flash disc to the usrp on its usb host port ?

Best regards,

Wafa HAJ HMIDA

2014-05-23 12:26 GMT+02:00 Marcus Müller [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
