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 [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
