Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. make[1]: Entering directory `/home/bert/sigrok/libsigrok'
  2. CC src/hardware/ftdi-la/protocol.lo
  3. CC src/hardware/ftdi-la/api.lo
  4. src/hardware/ftdi-la/api.c: In function 'scan_device':
  5. src/hardware/ftdi-la/api.c:139:9: warning: passing argument 2 of 'ftdi_usb_get_strings' from incompatible pointer type [enabled by default]
  6. model, 32, serial_num, 32);
  7. ^
  8. In file included from src/hardware/ftdi-la/api.c:21:0:
  9. /usr/include/ftdi.h:376:9: note: expected 'struct usb_device *' but argument is of type 'struct libusb_device *'
  10. int ftdi_usb_get_strings(struct ftdi_context *ftdi, struct usb_device *dev,
  11. ^
  12. src/hardware/ftdi-la/api.c: In function 'scan_all':
  13. src/hardware/ftdi-la/api.c:211:3: warning: passing argument 2 of 'scan_device' from incompatible pointer type [enabled by default]
  14. scan_device(di, curdev->dev, &devices);
  15. ^
  16. src/hardware/ftdi-la/api.c:92:13: note: expected 'struct libusb_device *' but argument is of type 'struct usb_device *'
  17. static void scan_device(struct sr_dev_driver *di, struct libusb_device *dev, GSList **devices)
  18. ^
  19. src/hardware/ftdi-la/api.c: In function 'dev_open':
  20. src/hardware/ftdi-la/api.c:289:2: warning: passing argument 2 of 'ftdi_usb_open_dev' from incompatible pointer type [enabled by default]
  21. ret = ftdi_usb_open_dev(devc->ftdic, devc->usbdev);
  22. ^
  23. In file included from src/hardware/ftdi-la/api.c:21:0:
  24. /usr/include/ftdi.h:386:9: note: expected 'struct usb_device *' but argument is of type 'struct libusb_device *'
  25. int ftdi_usb_open_dev(struct ftdi_context *ftdi, struct usb_device *dev);
  26. ^
  27. CCLD libsigrok.la
  28. copying selected object files to avoid basename conflicts...
  29. make[1]: Leaving directory `/home/bert/sigrok/libsigrok'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement