Installing gnuradio e110

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
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 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
Sent from the GnuRadio mailing list archive at Nabble.com.

-----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

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

Sent from the GnuRadio mailing list archive at Nabble.com.

_______________________________________________ Discuss-gnuradio
mailing list [email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - 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-----

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
Sent from the GnuRadio mailing list archive at Nabble.com.

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 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
Sent from the GnuRadio mailing list archive at Nabble.com.

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

[email protected]:~# sudo mkdir -p /var/cache/swap/
[email protected]:~# 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
[email protected]:~# sudo chmod 0600 /var/cache/swap/swapfile
[email protected]:~# sudo mkswap /var/cache/swap/swapfile
Setting up swapspace version 1, size = 131068 KiB
no label, UUID=7921823e-1a0e-423d-bd8f-af5aef73efbe
[email protected]:~# 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:
[email protected]:~# 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
Sent from the GnuRadio mailing list archive at Nabble.com.

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs