-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
android-tools 35.0.2 fails to compile with libusb 1.0.27.
android-tools/vendor/adb/client/usb_libusb.cpp:539:46: error: ‘libusb_ssplus_usb_device_capability_descriptor’ has not been declared
539 | static uint64_t ExtractMaxSuperSpeedPlus(libusb_ssplus_usb_device_capability_descriptor* cap) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
android-tools/vendor/adb/client/usb_libusb.cpp: In static member function ‘static uint64_t
The above code was added in this adb commit https://android.googlesource.com/platform/packages/modules/adb.git/+/bb1d542466bfe7675022bec7345cbfdad0354d84%5E%21/
It depends on the this libusb commit libusb/libusb@f00f06e
What should be done to fix the issue? Possible solution:
- Do not update android-tools until new libusb version is released.
- Add libusb from googlesource in vendor.
- Revert the commit which added new feature in adb repository.
(I prefer no.2)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working