# Installing gnuradio e110

**URL:** <https://www.ruby-forum.com/t/installing-gnuradio-e110/240631>\
**Category:** GNU Radio\
**Created:** [April 23, 2014, 6:03pm UTC](https://www.ruby-forum.com/t/installing-gnuradio-e110/240631 "2014-04-23T18:03:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [April 23, 2014, 6:03pm UTC](https://www.ruby-forum.com/t/installing-gnuradio-e110/240631/1 "2014-04-23T18:03:12Z")

</div>

Hello, i’m new in gnuradio and i want to update all needed to program  
this  
device the e110.

how it says in:  
[http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ#How-do-I-install-GNU-Radio-from-source](http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ#How-do-I-install-GNU-Radio-from-source)  
i have downloaded the latest image e1xx-003 and store to sd with the  
MakeEttusSDCard.legacy.sh.(the MakeEttusSDCard.sh didn´t work for me).  
i updated the uhd and then the FPGA firmaware following all instructions  
and  
everything OK.

but the problem is when i want to update the gnuradio,if i run:

opkg remove --force-depends gnuradio gnuradio-dev gnuradio-examples  
task-gnuradio  
git clone [gnuradio.git - GNU Radio](http://gnuradio.org/git/gnuradio.git) gnuradio.git

# cd gnuradio.git

# mkdir build

# cd build

# cmake -DCMAKE\_INSTALL\_PREFIX=/usr

-DCMAKE\_TOOLCHAIN\_FILE=…/cmake/Toolchains…

# make

i have this error:

[13%] Built target pygen\_gnuradio\_runtime\_python\_gnuradio\_gru\_21325  
[13%] Generating **init**.pyc, pmt\_to\_python.pyc  
Traceback (most recent call last):  
File “/home/root/gnuradio.git/build/python\_compile\_helper.py”, line 6,  
in  
  
py\_compile.compile(file=src, cfile=gen, doraise=True)  
File “/usr/lib/python2.6/py\_compile.py”, line 129, in compile  
raise py\_exc  
py\_compile.PyCompileError: SyntaxError: (‘invalid syntax’,  
(‘/home/root/gnuradio  
.git/gnuradio-runtime/python/pmt/pmt\_to\_python.py’, 67, 88, ’  
(numpy.float32, pmt.init\_f32vector, float,  
pmt.f32vector\_elements, pmt.is\_f32vector),\n’))

make[2]: \*\*\* [gnuradio-runtime/python/pmt/ **init**.pyc] Error 1  
make[1]: \*\*\*  
[gnuradio-runtime/python/pmt/CMakeFiles/pygen\_gnuradio\_runtime\_pyth  
on\_pmt\_a42cc.dir/all] Error 2  
make: \*\*\* [all] Error 2

some idea?.  
looks like there is some syntax error in the code downloaded but is not  
possible.

thanks.

best regards,  
Julian.

–  
View this message in context:  
[http://gnuradio.4.n7.nabble.com/installing-gnuradio-e110-tp47730.html](http://gnuradio.4.n7.nabble.com/installing-gnuradio-e110-tp47730.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![julian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/74df32/32.png) [@julian](https://www.ruby-forum.com/u/julian)\
**Post date:** [April 23, 2014, 6:17pm UTC](https://www.ruby-forum.com/t/installing-gnuradio-e110/240631/2 "2014-04-23T18:17:22Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Hi Julian,

I’ve looked at that syntax error and it was fixed about two weeks ago,  
When did you do your git clone?

Greetings,  
Marcus

On 23.04.2014 18:02, julian wrote:

> Hello, i’m new in gnuradio and i want to update all needed to  
> program this device the e110.
> 
> how it says in:

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

> 

i have downloaded the latest image e1xx-003 and store to sd with the

> -DCMAKE\_INSTALL\_PREFIX=/usr  
> SyntaxError: (‘invalid syntax’, ('/home/root/gnuradio  
> downloaded but is not possible.  
> [http://gnuradio.4.n7.nabble.com/installing-gnuradio-e110-tp47730.html](http://gnuradio.4.n7.nabble.com/installing-gnuradio-e110-tp47730.html)

Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Discuss-gnuradio  
> mailing list [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1  
Comment: Using GnuPG with Thunderbird - [http://www.enigmail.net/](http://www.enigmail.net/)

iQEcBAEBAgAGBQJTV+dOAAoJEBQ6EdjyzlHtwqMH/A0nzFQhUeR5YvRKx8Hzd/S7  
nmPivD5xXGCsgTM5LL/Ptf5MuCQO9SJQ/qtZaC8RSWdbmN95orcE+vLeKnlaWlLL  
C3CKBSNmwxonWJUkvlQd1jO/TfNKqdEfu3AaqHpq0uevItvaHF8j/CsPGPdpacpT  
p0TkUQ6Qzzt4/1Fb8Saj72swxV4fQ2kT8TcfsUzKVzntQshwc264PtaHOW7ToSiN  
/Yo334vF1jAz2bvZRk5UJQYImMvSPZuxPg3DnlQgPOUu5FXS30pfDj6E9w+MeRXz  
1GNpmj9wPrc0+uL1N0oyXe4uqhxp0+qT2QjSBFjhdqSpywXmS/Ypcw+lvtYZIJg=  
=wdJ3  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![julian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/74df32/32.png) [@julian](https://www.ruby-forum.com/u/julian)\
**Post date:** [April 23, 2014, 6:46pm UTC](https://www.ruby-forum.com/t/installing-gnuradio-e110/240631/3 "2014-04-23T18:46:52Z")

</div>

Probably more than 2 weeks…

i will try again and i see if it happens again.

thanks for reply!.

–  
View this message in context:  
[http://gnuradio.4.n7.nabble.com/installing-gnuradio-e110-tp47730p47732.html](http://gnuradio.4.n7.nabble.com/installing-gnuradio-e110-tp47730p47732.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![julian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/74df32/32.png) [@julian](https://www.ruby-forum.com/u/julian)\
**Post date:** [April 25, 2014, 12:24pm UTC](https://www.ruby-forum.com/t/installing-gnuradio-e110/240631/4 "2014-04-25T12:24:47Z")

</div>

Hello Marcus, i have updated the gnuradio from git and now i have this  
error  
when make:

[60%] Built target \_digital\_swig\_swig\_tag  
[60%] Building CXX object  
gr-digital/swig/CMakeFiles/\_digital\_swig.dir/digital\_swigPYTHON\_wrap.cxx.o  
g++: Internal error: Killed (program cc1plus)  
Please submit a full bug report.  
See [http://gcc.gnu.org/bugs.html](http://gcc.gnu.org/bugs.html) for instructions.  
make[2]: \*\*\*  
[gr-digital/swig/CMakeFiles/\_digital\_swig.dir/digital\_swigPYTHON\_wrap.cxx.o]  
Error 1  
make[1]: \*\*\* [gr-digital/swig/CMakeFiles/\_digital\_swig.dir/all] Error 2  
make: \*\*\* [all] Error 2

maybe some problem with the g++ but don´t what is doing here.

thanks for the help.

–  
View this message in context:  
[http://gnuradio.4.n7.nabble.com/installing-gnuradio-e110-tp47730p47772.html](http://gnuradio.4.n7.nabble.com/installing-gnuradio-e110-tp47730p47772.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![julian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/74df32/32.png) [@julian](https://www.ruby-forum.com/u/julian)\
**Post date:** [April 25, 2014, 5:20pm UTC](https://www.ruby-forum.com/t/installing-gnuradio-e110/240631/5 "2014-04-25T17:20:49Z")

</div>

Hello Philip, thanks for the help but i found another problem with this  
and  
didn´t find any solution on the web.

i´m trying to create the swap file folowing this instrucctions i found  
here(i´m not sure if they are correct):  
[http://elinux.org/BeagleBoardUbuntu#Creating\_a\_Swapfile](http://elinux.org/BeagleBoardUbuntu#Creating_a_Swapfile)

root@usrp-e1xx:~# sudo mkdir -p /var/cache/swap/  
root@usrp-e1xx:~# sudo dd if=/dev/zero of=/var/cache/swap/swapfile bs=1M  
count=128 (for a extrange reason i can not create more than a 244MB file  
having more than 1GB of freee space).  
128+0 records in  
128+0 records out  
134217728 bytes (134 MB) copied, 0.808868 s, 166 MB/s  
root@usrp-e1xx:~# sudo chmod 0600 /var/cache/swap/swapfile  
root@usrp-e1xx:~# sudo mkswap /var/cache/swap/swapfile  
Setting up swapspace version 1, size = 131068 KiB  
no label, UUID=7921823e-1a0e-423d-bd8f-af5aef73efbe  
root@usrp-e1xx:~# sudo swapon /var/cache/swap/swapfile  
swapon: /var/cache/swap/swapfile: swapon failed: Invalid argument

also i have tried updating the file /etc/fstab including this line at  
the  
end:  
/var/cache/swap/swapfile none swap sw 0 0

and then running it with but i got the same:  
root@usrp-e1xx:~# swapon -av  
swapon on /var/volatile/cache/swap/swapfile  
swapon: /var/volatile/cache/swap/swapfile: found swap signature: version  
1,  
page-size 4, same byte order  
swapon: /var/volatile/cache/swap/swapfile: pagesize=4096,  
swapsize=134217728, devsize=134217728  
swapon: /var/volatile/cache/swap/swapfile: swapon failed: Invalid  
argument

any idea?

thanks again.

best regards,  
Julian.

–  
View this message in context:  
[http://gnuradio.4.n7.nabble.com/installing-gnuradio-e110-tp47730p47784.html](http://gnuradio.4.n7.nabble.com/installing-gnuradio-e110-tp47730p47784.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![julian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/74df32/32.png) [@julian](https://www.ruby-forum.com/u/julian)\
**Post date:** [April 25, 2014, 3:05pm UTC](https://www.ruby-forum.com/t/installing-gnuradio-e110/240631/6 "2014-04-25T15:05:25Z")

</div>

On 04/25/2014 06:23 AM, julian wrote:

> [gr-digital/swig/CMakeFiles/\_digital\_swig.dir/digital\_swigPYTHON\_wrap.cxx.o]  
> Error 1  
> make[1]: \*\*\* [gr-digital/swig/CMakeFiles/\_digital\_swig.dir/all] Error 2  
> make: \*\*\* [all] Error 2
> 
> maybe some problem with the g++ but don´t what is doing here.

Add a swap file. That file needs a bunch of RAM to build.

Philip
