2 issues

  1. the file “wfm_rcv_file.py” has disappeared from gnuradio-examples/
    python/usrp. Not sure if this was intended, but here’s a patch to
    “Makefile.am” to correct the compile.

Index: Makefile.am

— Makefile.am (revision 6291)
+++ Makefile.am (working copy)
@@ -37,8 +37,7 @@
usrp_wfm_rcv_pll.py
usrp_wfm_rcv_sca.py
usrp_wfm_rcv2_nogui.py \

  •   usrp_wxapt_rcv.py                       \
    
  •   wfm_rcv_file.py
    
  •   usrp_wxapt_rcv.py
    

ourdatadir = $(exampledir)/usrp
ourdata_DATA = $(EXTRA_DIST)

  1. On OSX, “make check” fails in gr-usrp, if the USRP module isn’t
    already installed … it’s trying to load the usrp’s shared library,
    but it’s not yet installed. I thought all of those were corrected
    way back when, but it looks like one was missed.

Making check in gr-usrp
Making check in src
make check-am
make check-TESTS
Traceback (most recent call last):
File “./qa_usrp.py”, line 24, in ?
import usrp1
File “/opt/gnuradio/gr-usrp/src/usrp1.py”, line 6, in ?
import _usrp1
ImportError: Failure linking new module: /GNURadio/gr-usrp/src/.libs/
_usrp1.so: Library not loaded: /usr/local/lib/libusrp.0.dylib
Referenced from: /GNURadio/gr-usrp/src/.libs/_usrp1.so
Reason: image not found

On Tue, Sep 04, 2007 at 01:54:55PM -0400, Michael D. wrote:

    usrp_wfm_rcv_sca.py                     \
    usrp_wfm_rcv2_nogui.py                  \
  •   usrp_wxapt_rcv.py                       \
    
  •   wfm_rcv_file.py
    
  •   usrp_wxapt_rcv.py
    

ourdatadir = $(exampledir)/usrp
ourdata_DATA = $(EXTRA_DIST)

It was dropped because it doesn’t follow the current coding
conventions. Feel free to fix or reimplement.

File “./qa_usrp.py”, line 24, in ?
import usrp1
File “/opt/gnuradio/gr-usrp/src/usrp1.py”, line 6, in ?
import _usrp1
ImportError: Failure linking new module: /GNURadio/gr-usrp/src/.libs/
_usrp1.so: Library not loaded: /usr/local/lib/libusrp.0.dylib
Referenced from: /GNURadio/gr-usrp/src/.libs/_usrp1.so
Reason: image not found

Thanks for the report. Seems like something is off here.
It’s trying to make check against the installed library, which is
incorrect.

Can you please attempt to figure out what changed and when? I don’t
think there is anything that was deliberately changed that should have
caused this problem.

Eric

Eric B. wrote:

think there is anything that was deliberately changed that should have
caused this problem.

The exact ./configure command-line and config.log would be useful here
as well.


Johnathan C.
Corgan Enterprises LLC
http://corganenterprises.com