USRP RA Help!

Hope someone can help. I am losing the will to live! I am running
UBUNTU 12.10 and just want to run simple_ra.

I have run the script for UHD and GNUradio. All appeared to go well

I have typed svn co https://www.cgran.org/svn/projects/simple_ra also a
second time when I get a message
‘Checked out revision 1072’. So, guess that also is OK.

However, the instructions for simple_ra says type ‘make install’. This
is where it goes to rats! I get this message:

[email protected]:~$ cd simple_ra

[email protected]:~/simple_ra$ make install

make: *** No rule to make target `install’. Stop.

Because there are simple_ra files in a directory named
simple_ra/trunk/simple_ra

I tried this:

[email protected]:~/simple_ra/trunk$
make simple_ra

then got this message:
Nothing to be done for
`simple_ra’.

However, if I ignore that and type ‘simple_ra’ after my normal prompt
[email protected] I get the following:

Traceback (most recent call last):

File
“/home/alpha/bin/simple_ra_receiver.py”, line 10, in

from gnuradio import blks2

File
“/usr/local/lib/python2.7/dist-packages/gnuradio/blks2/init.py”,
line 37, in

exec "from

gnuradio.blks2impl.%s import *" % (f,)

File “”, line
1, in

File
“/usr/local/lib/python2.7/dist-packages/gnuradio/blks2impl/nbfm_rx.py”,
line 23, in

from gnuradio import gr, optfir

File
“/usr/local/lib/python2.7/dist-packages/gnuradio/gr/init.py”,
line 27, in

from gnuradio_core import *

File
“/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core.py”,
line 23, in

from gnuradio_core_runtime import *

File
“/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_runtime.py”,
line 26, in

_gnuradio_core_runtime =

swig_import_helper()

File
“/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_runtime.py”,
line 22, in swig_import_helper

_mod =

imp.load_module(’_gnuradio_core_runtime’, fp, pathname, description)

ImportError:
/usr/local/lib/libgnuradio-core-3.6.4git.so.0.0.0: undefined symbol:
volk_64u_byteswap_u

[email protected]:~/simple_ra/trunk$

Thanks if some one can help,

Frank

Hi,

I’ve just tried to make and install it and it works for me.

Just type ‘make’ to make and ‘sudo make install’ to install.

See my bash shell output below.

Cheers,

Mike
M0MIK

[email protected]:~/play/gr_projects$ svn checkout
https://www.cgran.org/svn/projects/simple_ra simple_ra
A simple_ra/trunk
A simple_ra/trunk/simple_ra_recorder.c
A simple_ra/trunk/simple_ra_receiver_fcd.py
A simple_ra/trunk/simple_ra_utils.py
A simple_ra/trunk/stime.c
A simple_ra/trunk/process_simple_tpdat
A simple_ra/trunk/uhd_params_block.py
A simple_ra/trunk/simple_ra_receiver_fcd.grc
A simple_ra/trunk/simple_ra_receiver.py
A simple_ra/trunk/simple_ra_fcd
A simple_ra/trunk/COPYING
A simple_ra/trunk/simple_ra_receiver.grc
A simple_ra/trunk/process_simple_specdat
A simple_ra/trunk/simple_ra
A simple_ra/trunk/Makefile
Checked out revision 1073.
[email protected]:~/play/gr_projects$ cd simple_ra/
[email protected]:~/play/gr_projects/simple_ra$ ls -l
total 4
drwxrwxr-x 3 m m 4096 Jan 27 12:18 trunk
[email protected]:~/play/gr_projects/simple_ra$ cd trunk/
[email protected]:~/play/gr_projects/simple_ra/trunk$ ls -l
total 196
-rw-rw-r-- 1 m m 1557 Jan 27 12:18 COPYING
-rw-rw-r-- 1 m m 826 Jan 27 12:18 Makefile
-rwxrwxr-x 1 m m 2657 Jan 27 12:18 process_simple_specdat
-rwxrwxr-x 1 m m 3581 Jan 27 12:18 process_simple_tpdat
-rwxrwxr-x 1 m m 4168 Jan 27 12:18 simple_ra
-rwxrwxr-x 1 m m 1406 Jan 27 12:18 simple_ra_fcd
-rw-rw-r-- 1 m m 31872 Jan 27 12:18 simple_ra_receiver_fcd.grc
-rwxrwxr-x 1 m m 14976 Jan 27 12:18 simple_ra_receiver_fcd.py
-rw-rw-r-- 1 m m 63800 Jan 27 12:18 simple_ra_receiver.grc
-rwxrwxr-x 1 m m 32592 Jan 27 12:18 simple_ra_receiver.py
-rw-rw-r-- 1 m m 6135 Jan 27 12:18 simple_ra_recorder.c
-rwxrwxr-x 1 m m 3657 Jan 27 12:18 simple_ra_utils.py
-rwxrwxr-x 1 m m 7586 Jan 27 12:18 stime.c
-rwxrwxr-x 1 m m 2973 Jan 27 12:18 uhd_params_block.py
[email protected]:~/play/gr_projects/simple_ra/trunk$ gedit Makefile
[email protected]:~/play/gr_projects/simple_ra/trunk$ make
ccache gcc -c -o simple_ra_recorder.o simple_ra_recorder.c
ccache gcc -c -o stime.o stime.c
cc -O -o simple_ra_recorder simple_ra_recorder.o stime.o -lm
[email protected]:~/play/gr_projects/simple_ra/trunk$ ls -l
total 248
-rw-rw-r-- 1 m m 1557 Jan 27 12:18 COPYING
-rw-rw-r-- 1 m m 826 Jan 27 12:18 Makefile
-rwxrwxr-x 1 m m 2657 Jan 27 12:18 process_simple_specdat
-rwxrwxr-x 1 m m 3581 Jan 27 12:18 process_simple_tpdat
-rwxrwxr-x 1 m m 4168 Jan 27 12:18 simple_ra
-rwxrwxr-x 1 m m 1406 Jan 27 12:18 simple_ra_fcd
-rw-rw-r-- 1 m m 31872 Jan 27 12:18 simple_ra_receiver_fcd.grc
-rwxrwxr-x 1 m m 14976 Jan 27 12:18 simple_ra_receiver_fcd.py
-rw-rw-r-- 1 m m 63800 Jan 27 12:18 simple_ra_receiver.grc
-rwxrwxr-x 1 m m 32592 Jan 27 12:18 simple_ra_receiver.py
-rwxrwxr-x 1 m m 23322 Jan 27 12:18 simple_ra_recorder
-rw-rw-r-- 1 m m 6135 Jan 27 12:18 simple_ra_recorder.c
-rw-rw-r-- 2 m m 9592 Jan 27 12:18 simple_ra_recorder.o
-rwxrwxr-x 1 m m 3657 Jan 27 12:18 simple_ra_utils.py
-rwxrwxr-x 1 m m 7586 Jan 27 12:18 stime.c
-rw-rw-r-- 2 m m 12704 Jan 27 12:18 stime.o
-rwxrwxr-x 1 m m 2973 Jan 27 12:18 uhd_params_block.py
[email protected]:~/play/gr_projects/simple_ra/trunk$ sudo make install
mkdir /home/m/bin
mkdir: cannot create directory `/home/m/bin’: File exists
make: [install] Error 1 (ignored)
cp -p simple_ra_recorder simple_ra simple_ra_fcd /home/m/bin
cp -p simple_ra_receiver.py simple_ra_receiver.grc /home/m/bin
cp -p simple_ra_receiver_fcd.py simple_ra_receiver_fcd.grc /home/m/bin
cp -p simple_ra_utils.py /home/m/bin
cp -p uhd_params_block.py /home/m/bin
cp -p process_simple_tpdat /home/m/bin
cp -p process_simple_specdat /home/m/bin
[email protected]:~/play/gr_projects/simple_ra/trunk$

Hi Mike,

Thank you for replying. However, when i tried that I get the following:

[email protected]:~$ cd simple_ra
[email protected]:~/simple_ra$ cd trunk

[email protected]:~/simple_ra/trunk$ make
make: simple_ra_recorder' is up to date. [email protected]:~/simple_ra/trunk$ sudo make install [sudo] password for alpha: mkdir /home/alpha/bin mkdir: cannot create directory/home/alpha/bin’: File exists
make: [install] Error 1 (ignored)
cp -p simple_ra_recorder simple_ra simple_ra_fcd /home/alpha/bin
cp -p simple_ra_receiver.py simple_ra_receiver.grc /home/alpha/bin
cp -p simple_ra_receiver_fcd.py simple_ra_receiver_fcd.grc
/home/alpha/bin
cp -p simple_ra_utils.py /home/alpha/bin
cp -p uhd_params_block.py /home/alpha/bin
cp -p process_simple_tpdat /home/alpha/bin
cp -p process_simple_specdat /home/alpha/bin
[email protected]:~/simple_ra/trunk$

From: [email protected]
Date: Sun, 27 Jan 2013 12:25:00 +0000
Subject: Re: [Discuss-gnuradio] USRP RA Help!
To: [email protected]
CC: [email protected]

Hi,

I’ve just tried to make and install it and it works for me.

Just type ‘make’ to make and ‘sudo make install’ to install.

See my bash shell output below.

Cheers,

Mike

M0MIK

[email protected]:~/play/gr_projects$ svn checkout
https://www.cgran.org/svn/projects/simple_ra simple_ra
A simple_ra/trunk
A simple_ra/trunk/simple_ra_recorder.c

A simple_ra/trunk/simple_ra_receiver_fcd.py
A simple_ra/trunk/simple_ra_utils.py
A simple_ra/trunk/stime.c
A simple_ra/trunk/process_simple_tpdat
A simple_ra/trunk/uhd_params_block.py
A simple_ra/trunk/simple_ra_receiver_fcd.grc

A simple_ra/trunk/simple_ra_receiver.py
A simple_ra/trunk/simple_ra_fcd
A simple_ra/trunk/COPYING
A simple_ra/trunk/simple_ra_receiver.grc
A simple_ra/trunk/process_simple_specdat
A simple_ra/trunk/simple_ra

A simple_ra/trunk/Makefile
Checked out revision 1073.
[email protected]:~/play/gr_projects$ cd simple_ra/
[email protected]:~/play/gr_projects/simple_ra$ ls -l
total 4
drwxrwxr-x 3 m m 4096 Jan 27 12:18 trunk
[email protected]:~/play/gr_projects/simple_ra$ cd trunk/

[email protected]:~/play/gr_projects/simple_ra/trunk$ ls -l
total 196
-rw-rw-r-- 1 m m 1557 Jan 27 12:18 COPYING
-rw-rw-r-- 1 m m 826 Jan 27 12:18 Makefile
-rwxrwxr-x 1 m m 2657 Jan 27 12:18 process_simple_specdat

-rwxrwxr-x 1 m m 3581 Jan 27 12:18 process_simple_tpdat
-rwxrwxr-x 1 m m 4168 Jan 27 12:18 simple_ra
-rwxrwxr-x 1 m m 1406 Jan 27 12:18 simple_ra_fcd
-rw-rw-r-- 1 m m 31872 Jan 27 12:18 simple_ra_receiver_fcd.grc

-rwxrwxr-x 1 m m 14976 Jan 27 12:18 simple_ra_receiver_fcd.py
-rw-rw-r-- 1 m m 63800 Jan 27 12:18 simple_ra_receiver.grc
-rwxrwxr-x 1 m m 32592 Jan 27 12:18 simple_ra_receiver.py
-rw-rw-r-- 1 m m 6135 Jan 27 12:18 simple_ra_recorder.c

-rwxrwxr-x 1 m m 3657 Jan 27 12:18 simple_ra_utils.py
-rwxrwxr-x 1 m m 7586 Jan 27 12:18 stime.c
-rwxrwxr-x 1 m m 2973 Jan 27 12:18 uhd_params_block.py
[email protected]:~/play/gr_projects/simple_ra/trunk$ gedit Makefile

[email protected]:~/play/gr_projects/simple_ra/trunk$ make
ccache gcc -c -o simple_ra_recorder.o simple_ra_recorder.c
ccache gcc -c -o stime.o stime.c
cc -O -o simple_ra_recorder simple_ra_recorder.o stime.o -lm

[email protected]:~/play/gr_projects/simple_ra/trunk$ ls -l
total 248
-rw-rw-r-- 1 m m 1557 Jan 27 12:18 COPYING
-rw-rw-r-- 1 m m 826 Jan 27 12:18 Makefile
-rwxrwxr-x 1 m m 2657 Jan 27 12:18 process_simple_specdat

-rwxrwxr-x 1 m m 3581 Jan 27 12:18 process_simple_tpdat
-rwxrwxr-x 1 m m 4168 Jan 27 12:18 simple_ra
-rwxrwxr-x 1 m m 1406 Jan 27 12:18 simple_ra_fcd
-rw-rw-r-- 1 m m 31872 Jan 27 12:18 simple_ra_receiver_fcd.grc

-rwxrwxr-x 1 m m 14976 Jan 27 12:18 simple_ra_receiver_fcd.py
-rw-rw-r-- 1 m m 63800 Jan 27 12:18 simple_ra_receiver.grc
-rwxrwxr-x 1 m m 32592 Jan 27 12:18 simple_ra_receiver.py
-rwxrwxr-x 1 m m 23322 Jan 27 12:18 simple_ra_recorder

-rw-rw-r-- 1 m m 6135 Jan 27 12:18 simple_ra_recorder.c
-rw-rw-r-- 2 m m 9592 Jan 27 12:18 simple_ra_recorder.o
-rwxrwxr-x 1 m m 3657 Jan 27 12:18 simple_ra_utils.py
-rwxrwxr-x 1 m m 7586 Jan 27 12:18 stime.c

-rw-rw-r-- 2 m m 12704 Jan 27 12:18 stime.o
-rwxrwxr-x 1 m m 2973 Jan 27 12:18 uhd_params_block.py
[email protected]:~/play/gr_projects/simple_ra/trunk$ sudo make install
mkdir /home/m/bin
mkdir: cannot create directory `/home/m/bin’: File exists

make: [install] Error 1 (ignored)
cp -p simple_ra_recorder simple_ra simple_ra_fcd /home/m/bin
cp -p simple_ra_receiver.py simple_ra_receiver.grc /home/m/bin
cp -p simple_ra_receiver_fcd.py simple_ra_receiver_fcd.grc /home/m/bin

cp -p simple_ra_utils.py /home/m/bin
cp -p uhd_params_block.py /home/m/bin
cp -p process_simple_tpdat /home/m/bin
cp -p process_simple_specdat /home/m/bin
[email protected]:~/play/gr_projects/simple_ra/trunk$

On 27 January 2013 11:05, Frankie R. [email protected]
wrote:

Hope someone can help. I am losing the will to live! I am running
UBUNTU 12.10 and just want to run simple_ra.

I have run the script for UHD and GNUradio. All appeared to go well

I have typed svn co https://www.cgran.org/svn/projects/simple_ra also a
second time when I get a message

‘Checked out revision 1072’. So, guess that also is OK.

However, the instructions for simple_ra says type ‘make install’. This
is where it goes to rats! I get this message:

[email protected]:~$ cd simple_ra

[email protected]:~/simple_ra$ make install

make: *** No rule to make target `install’. Stop.

Because there are simple_ra files in a directory named
simple_ra/trunk/simple_ra

I tried this:

[email protected]:~/simple_ra/trunk$
make simple_ra

then got this message:
Nothing to be done for
`simple_ra’.

However, if I ignore that and type ‘simple_ra’ after my normal prompt
[email protected] I get the following:

Traceback (most recent call last):

File
“/home/alpha/bin/simple_ra_receiver.py”, line 10, in

from gnuradio import blks2

File
“/usr/local/lib/python2.7/dist-packages/gnuradio/blks2/init.py”,
line 37, in

exec "from

gnuradio.blks2impl.%s import *" % (f,)

File “”, line
1, in

File
“/usr/local/lib/python2.7/dist-packages/gnuradio/blks2impl/nbfm_rx.py”,
line 23, in

from gnuradio import gr, optfir

File
“/usr/local/lib/python2.7/dist-packages/gnuradio/gr/init.py”,
line 27, in

from gnuradio_core import *

File
“/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core.py”,
line 23, in

from gnuradio_core_runtime import *

File
“/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_runtime.py”,
line 26, in

_gnuradio_core_runtime =

swig_import_helper()

File
“/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_runtime.py”,
line 22, in swig_import_helper

_mod =

imp.load_module(’_gnuradio_core_runtime’, fp, pathname, description)

ImportError:
/usr/local/lib/libgnuradio-core-3.6.4git.so.0.0.0: undefined symbol:
volk_64u_byteswap_u

[email protected]:~/simple_ra/trunk$

Thanks if some one can help,

Frank


Discuss-gnuradio mailing list

[email protected]

https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

On 27/01/13 07:25 AM, Mike J. wrote:

Mike
M0MIK

Actually, just “make install”

It’s designed to just install into your $HOME/bin, so root privs are not
required.


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

Hi Frank,

Great, it’s now installed :slight_smile:

Now run:

sudo pip install pyephem
simple_ra

Mike
M0MIK

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