Option #1 Preferably upgrade your libusb https://github.com/libusb/libusb.  
Remove your libusb package and compile libusb yourself.  Otherwise I can't 
guarantee you'll be compatible with USB  devices going forward.Option #2 Edit 
testlibusb.c and add this #if block around that line -- again can't guarantee 
USB devices will work in the future.#if defined(LIBUSB_API_VERSION) && 
(LIBUSB_API_VERSION >= 0x01000107)
    case LIBUSB_SPEED_SUPER_PLUS:   speed = "10G"; break;
#endif

Mike W9MDB


 

    On Tuesday, September 7, 2021, 06:30:14 AM CDT, Kari Sillanmäki via 
wsjt-devel <wsjt-devel@lists.sourceforge.net> wrote:  
 
 Hi again...

Answering my own question:

Got rc6 to compile by appplying this simple hamlib.patch

-----------------
diff --git a/tests/testlibusb.c b/tests/testlibusb.c
index b1a92c9..ea66257 100644
--- a/tests/testlibusb.c
+++ b/tests/testlibusb.c
@@ -218,7 +218,7 @@ static void print_device(libusb_device *dev, 
libusb_device_handle *handle)

      case LIBUSB_SPEED_SUPER:    speed = "5G"; break;

-    case LIBUSB_SPEED_SUPER_PLUS:  speed = "10G"; break;
+    // case LIBUSB_SPEED_SUPER_PLUS:  speed = "10G"; break;

      default:            speed = "Unknown";
      }
----------------

I think whatever speed my USB support is fine, no need for 10G to 
control my radio  ;)

73's de Kari, oh2gqc


_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel
  
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to