discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Re: Compiling on OSX 10.5


From: Philip Balister
Subject: Re: [Discuss-gnuradio] Re: Compiling on OSX 10.5
Date: Thu, 23 Jul 2009 15:01:55 -0400
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

Jason Uher wrote:
The first problem I have is that macports installs libusb as
libusb-1.0; meaning that I get the following output from configure:

I was told this is solved by installing the macports package
libusb-compat, it makes libusb-1.0 backwards compatible (and compiling
went great!)

Now there is an issue with make check, I know that the make check for
the usrp and os x has recently been changed because it was throwing
errors, I'm not sure if this is related or not...
<snip>
make  check-TESTS
Traceback (most recent call last):
  File "./qa_usrp.py", line 24, in <module>
    import usrp_swig
  File "/Users/jason/coderepos/gnuradio/gr-usrp/src/usrp_swig.py",
line 27, in <module>
    import _usrp_swig
ImportError: 
dlopen(/Users/jason/coderepos/gnuradio/gr-usrp/src/.libs/_usrp_swig.so,
2): Symbol not found: _usb_error_str
  Referenced from:
/Users/jason/coderepos/gnuradio/usrp/host/lib/.libs/libusrp.0.dylib
  Expected in: dynamic lookup

FAIL: run_tests
<snip>

This same error is given when I run usrp_oscope after a make install.

GNURadio uses a variable from the internals of libusb. libusb-compat changes the private libusb struct that gnuradio has a local copy off.

Bottom line: libusb-compat only works for programs that use the published API of libusb. GNU Radio goes beyond the public API.

Philip



Jason


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]