Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make[1]: Entering directory `/home/bert/sigrok/libsigrok'
- CC src/hardware/ftdi-la/protocol.lo
- CC src/hardware/ftdi-la/api.lo
- src/hardware/ftdi-la/api.c: In function 'scan_device':
- src/hardware/ftdi-la/api.c:139:9: warning: passing argument 2 of 'ftdi_usb_get_strings' from incompatible pointer type [enabled by default]
- model, 32, serial_num, 32);
- ^
- In file included from src/hardware/ftdi-la/api.c:21:0:
- /usr/include/ftdi.h:376:9: note: expected 'struct usb_device *' but argument is of type 'struct libusb_device *'
- int ftdi_usb_get_strings(struct ftdi_context *ftdi, struct usb_device *dev,
- ^
- src/hardware/ftdi-la/api.c: In function 'scan_all':
- src/hardware/ftdi-la/api.c:211:3: warning: passing argument 2 of 'scan_device' from incompatible pointer type [enabled by default]
- scan_device(di, curdev->dev, &devices);
- ^
- src/hardware/ftdi-la/api.c:92:13: note: expected 'struct libusb_device *' but argument is of type 'struct usb_device *'
- static void scan_device(struct sr_dev_driver *di, struct libusb_device *dev, GSList **devices)
- ^
- src/hardware/ftdi-la/api.c: In function 'dev_open':
- src/hardware/ftdi-la/api.c:289:2: warning: passing argument 2 of 'ftdi_usb_open_dev' from incompatible pointer type [enabled by default]
- ret = ftdi_usb_open_dev(devc->ftdic, devc->usbdev);
- ^
- In file included from src/hardware/ftdi-la/api.c:21:0:
- /usr/include/ftdi.h:386:9: note: expected 'struct usb_device *' but argument is of type 'struct libusb_device *'
- int ftdi_usb_open_dev(struct ftdi_context *ftdi, struct usb_device *dev);
- ^
- CCLD libsigrok.la
- copying selected object files to avoid basename conflicts...
- make[1]: Leaving directory `/home/bert/sigrok/libsigrok'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement