Hi Mike,

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


alpha@alpha-K54C:~$ cd simple_ra
alpha@alpha-K54C:~/simple_ra$ cd trunk

alpha@alpha-K54C:~/simple_ra/trunk$ make
make: `simple_ra_recorder' is up to date.
alpha@alpha-K54C:~/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
alpha@alpha-K54C:~/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

m@macpro:~/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.    
m@macpro:~/play/gr_projects$ cd simple_ra/
m@macpro:~/play/gr_projects/simple_ra$ ls -l
total 4
drwxrwxr-x 3 m m 4096 Jan 27 12:18 trunk
m@macpro:~/play/gr_projects/simple_ra$ cd trunk/


m@macpro:~/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
m@macpro:~/play/gr_projects/simple_ra/trunk$ gedit Makefile 


m@macpro:~/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


m@macpro:~/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
m@macpro:~/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
m@macpro:~/play/gr_projects/simple_ra/trunk$ 





On 27 January 2013 11:05, Frankie Rawlins <[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:




alpha@alpha-K54C:~$ cd simple_ra



alpha@alpha-K54C:~/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:

alpha@alpha-K54C:~/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 
alpha@alpha-K54C  I get the following:



Traceback (most recent call last): 

  File
"/home/alpha/bin/simple_ra_receiver.py", line 10, in
<module> 

    from gnuradio import blks2 

  File
"/usr/local/lib/python2.7/dist-packages/gnuradio/blks2/__init__.py",
line 37, in <module> 

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

  File "<string>", line
1, in <module> 

  File
"/usr/local/lib/python2.7/dist-packages/gnuradio/blks2impl/nbfm_rx.py",
line 23, in <module> 

    from gnuradio import gr, optfir 

  File
"/usr/local/lib/python2.7/dist-packages/gnuradio/gr/__init__.py",
line 27, in <module> 

    from gnuradio_core import * 

  File
"/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core.py",
line 23, in <module> 

    from gnuradio_core_runtime import *

  File
"/usr/local/lib/python2.7/dist-packages/gnuradio/gr/gnuradio_core_runtime.py",
line 26, in <module> 

    _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 

alpha@alpha-K54C:~/simple_ra/trunk$ 



Thanks if some one can help,

Frank






                                          

_______________________________________________

Discuss-gnuradio mailing list

[email protected]

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



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

Reply via email to