Date: Mon, 9 Mar 2009 09:10:37 -0700 (PDT) From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/132463: USB2 has broken graphics/libgphoto2 Message-ID: <200903091610.n29GAbSw046050@troutmask.apl.washington.edu> Resent-Message-ID: <200903091620.n29GK25N066935@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132463 >Category: ports >Synopsis: USB2 has broken graphics/libgphoto2 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 09 16:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Steve Kargl >Release: FreeBSD 8.0-CURRENT amd64 >Organization: APL-UW >Environment: System: FreeBSD troutmask.apl.washington.edu 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Dec 11 15:46:18 PST 2008 kargl@troutmask.apl.washington.edu:/usr/obj/usr/src/sys/SPEW amd64 >Description: USB2 has broken libgphoto2. cc -DHAVE_CONFIG_H -I. -I.. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -DIOLI BS=\"/usr/local/lib/libgphoto2_port/0.8.0\" -I/usr/local/include -Wall -Wmissing -declarations -Wmissing-prototypes -g -D_GPHOTO2_INTERNAL_CODE -I/usr/local/incl ude -I/usr/include/dev/usb -I/usr/include -I/usr/local/include -O2 -pipe -fno-st rict-aliasing -O2 -pipe -fno-strict-aliasing -MT usb_la-libusb.lo -MD -MP -MF .d eps/usb_la-libusb.Tpo -c libusb.c -fPIC -DPIC -o .libs/usb_la-libusb.o libusb.c: In function 'gp_port_library_list': libusb.c:98: warning: implicit declaration of function 'usb_init' libusb.c:99: warning: implicit declaration of function 'usb_find_busses' libusb.c:100: warning: implicit declaration of function 'usb_find_devices' libusb.c:104: warning: implicit declaration of function 'usb_get_busses' libusb.c:104: warning: assignment makes pointer from integer without a cast libusb.c:108: error: dereferencing pointer to incomplete type libusb.c:108: error: dereferencing pointer to incomplete type libusb.c:110: error: dereferencing pointer to incomplete type libusb.c:110: error: 'USB_CLASS_HUB' undeclared (first use in this function) libusb.c:110: error: (Each undeclared identifier is reported only once libusb.c:110: error: for each function it appears in.) libusb.c:111: error: dereferencing pointer to incomplete type libusb.c:111: error: 'USB_CLASS_HID' undeclared (first use in this function) libusb.c:112: error: dereferencing pointer to incomplete type libusb.c:112: error: 'USB_CLASS_PRINTER' undeclared (first use in this function) libusb.c:113: error: dereferencing pointer to incomplete type libusb.c:113: error: 'USB_CLASS_COMM' undeclared (first use in this function) libusb.c:119: error: dereferencing pointer to incomplete type libusb.c:120: error: dereferencing pointer to incomplete type libusb.c:124: error: dereferencing pointer to incomplete type libusb.c:125: error: dereferencing pointer to incomplete type libusb.c:126: error: dereferencing pointer to incomplete type libusb.c:127: error: dereferencing pointer to incomplete type libusb.c:128: error: dereferencing pointer to incomplete type libusb.c:129: error: dereferencing pointer to incomplete type libusb.c:142: error: dereferencing pointer to incomplete type libusb.c:154: warning: assignment makes pointer from integer without a cast libusb.c:156: error: dereferencing pointer to incomplete type libusb.c:156: error: dereferencing pointer to incomplete type libusb.c:159: error: dereferencing pointer to incomplete type libusb.c:160: error: dereferencing pointer to incomplete type libusb.c:161: error: dereferencing pointer to incomplete type libusb.c:162: error: dereferencing pointer to incomplete type libusb.c:168: error: dereferencing pointer to incomplete type libusb.c:169: error: dereferencing pointer to incomplete type libusb.c:173: error: dereferencing pointer to incomplete type libusb.c:174: error: dereferencing pointer to incomplete type libusb.c:175: error: dereferencing pointer to incomplete type libusb.c:176: error: dereferencing pointer to incomplete type libusb.c:177: error: dereferencing pointer to incomplete type libusb.c:178: error: dereferencing pointer to incomplete type libusb.c:189: error: dereferencing pointer to incomplete type libusb.c:189: error: dereferencing pointer to incomplete type libusb.c:194: error: dereferencing pointer to incomplete type libusb.c: In function 'gp_port_usb_open': libusb.c:240: warning: implicit declaration of function 'usb_open' libusb.c:240: warning: assignment makes pointer from integer without a cast libusb.c:268: warning: implicit declaration of function 'usb_claim_interface' libusb.c:230: warning: unused variable 'name' libusb.c: In function 'gp_port_usb_close': libusb.c:287: warning: implicit declaration of function 'usb_release_interface' libusb.c:307: warning: implicit declaration of function 'usb_close' libusb.c: In function 'gp_port_usb_clear_halt_lib': libusb.c:327: warning: implicit declaration of function 'usb_clear_halt' libusb.c: In function 'gp_port_usb_write': libusb.c:351: warning: implicit declaration of function 'usb_bulk_write' libusb.c: In function 'gp_port_usb_read': libusb.c:367: warning: implicit declaration of function 'usb_bulk_read' libusb.c: In function 'gp_port_usb_check_int': libusb.c:383: warning: implicit declaration of function 'usb_interrupt_read' libusb.c: In function 'gp_port_usb_msg_write_lib': libusb.c:400: warning: implicit declaration of function 'usb_control_msg' libusb.c:401: error: 'USB_TYPE_VENDOR' undeclared (first use in this function) libusb.c:401: error: 'USB_RECIP_DEVICE' undeclared (first use in this function) libusb.c: In function 'gp_port_usb_msg_read_lib': libusb.c:413: error: 'USB_TYPE_VENDOR' undeclared (first use in this function) libusb.c:413: error: 'USB_RECIP_DEVICE' undeclared (first use in this function) libusb.c:413: error: 'USB_ENDPOINT_IN' undeclared (first use in this function) libusb.c: In function 'gp_port_usb_msg_interface_write_lib': libusb.c:429: error: 'USB_TYPE_VENDOR' undeclared (first use in this function) libusb.c:429: error: 'USB_RECIP_INTERFACE' undeclared (first use in this functio n) libusb.c: In function 'gp_port_usb_msg_interface_read_lib': libusb.c:442: error: 'USB_TYPE_VENDOR' undeclared (first use in this function) libusb.c:442: error: 'USB_RECIP_INTERFACE' undeclared (first use in this functio n) libusb.c:442: error: 'USB_ENDPOINT_IN' undeclared (first use in this function) libusb.c: In function 'gp_port_usb_msg_class_write_lib': libusb.c:459: error: 'USB_TYPE_CLASS' undeclared (first use in this function) libusb.c:459: error: 'USB_RECIP_INTERFACE' undeclared (first use in this functio n) libusb.c: In function 'gp_port_usb_msg_class_read_lib': libusb.c:472: error: 'USB_TYPE_CLASS' undeclared (first use in this function) libusb.c:472: error: 'USB_RECIP_INTERFACE' undeclared (first use in this functio n) libusb.c:472: error: 'USB_ENDPOINT_IN' undeclared (first use in this function) libusb.c: In function 'gp_port_usb_update': libusb.c:552: warning: implicit declaration of function 'usb_set_configuration' libusb.c:587: warning: implicit declaration of function 'usb_set_altinterface' libusb.c: In function 'gp_port_usb_find_ep': libusb.c:613: error: dereferencing pointer to incomplete type libusb.c:616: error: dereferencing pointer to incomplete type libusb.c:618: error: dereferencing pointer to incomplete type libusb.c:619: error: dereferencing pointer to incomplete type libusb.c:619: error: 'USB_ENDPOINT_DIR_MASK' undeclared (first use in this funct ion) libusb.c:620: error: dereferencing pointer to incomplete type libusb.c:620: error: 'USB_ENDPOINT_TYPE_MASK' undeclared (first use in this func tion) libusb.c:621: error: dereferencing pointer to incomplete type libusb.c: In function 'gp_port_usb_find_first_altsetting': libusb.c:632: error: dereferencing pointer to incomplete type libusb.c:635: error: dereferencing pointer to incomplete type libusb.c:636: error: dereferencing pointer to incomplete type libusb.c:637: error: dereferencing pointer to incomplete type libusb.c:638: error: dereferencing pointer to incomplete type libusb.c: In function 'gp_port_usb_find_device_lib': libusb.c:687: error: 'usb_busses' undeclared (first use in this function) libusb.c:687: error: dereferencing pointer to incomplete type libusb.c:688: error: dereferencing pointer to incomplete type libusb.c:691: error: dereferencing pointer to incomplete type libusb.c:691: error: dereferencing pointer to incomplete type libusb.c:693: error: dereferencing pointer to incomplete type libusb.c:693: error: dereferencing pointer to incomplete type libusb.c:697: error: dereferencing pointer to incomplete type libusb.c:698: error: dereferencing pointer to incomplete type libusb.c:712: error: dereferencing pointer to incomplete type libusb.c:715: error: dereferencing pointer to incomplete type libusb.c:716: error: 'USB_CLASS_MASS_STORAGE' undeclared (first use in this func tion) libusb.c:723: error: dereferencing pointer to incomplete type libusb.c:724: error: dereferencing pointer to incomplete type libusb.c:725: error: dereferencing pointer to incomplete type libusb.c:727: error: 'USB_ENDPOINT_IN' undeclared (first use in this function) libusb.c:727: error: 'USB_ENDPOINT_TYPE_BULK' undeclared (first use in this func tion) libusb.c:728: error: 'USB_ENDPOINT_OUT' undeclared (first use in this function) libusb.c:729: error: 'USB_ENDPOINT_TYPE_INTERRUPT' undeclared (first use in this function) libusb.c:733: error: dereferencing pointer to incomplete type libusb.c:734: error: dereferencing pointer to incomplete type libusb.c:735: error: dereferencing pointer to incomplete type libusb.c:750: error: dereferencing pointer to incomplete type libusb.c:751: error: dereferencing pointer to incomplete type libusb.c: In function 'gp_port_usb_match_mtp_device': libusb.c:776: error: 'usb_dev_handle' undeclared (first use in this function) libusb.c:776: error: 'devh' undeclared (first use in this function) libusb.c:788: warning: implicit declaration of function 'usb_get_descriptor' libusb.c:794: error: 'USB_ENDPOINT_IN' undeclared (first use in this function) libusb.c:794: error: 'USB_RECIP_DEVICE' undeclared (first use in this function) libusb.c:794: error: 'USB_TYPE_VENDOR' undeclared (first use in this function) libusb.c:823: error: dereferencing pointer to incomplete type libusb.c:824: error: dereferencing pointer to incomplete type libusb.c:825: error: dereferencing pointer to incomplete type libusb.c:827: error: dereferencing pointer to incomplete type libusb.c:829: error: dereferencing pointer to incomplete type libusb.c:830: error: dereferencing pointer to incomplete type libusb.c:831: error: dereferencing pointer to incomplete type libusb.c:833: error: dereferencing pointer to incomplete type libusb.c:835: error: dereferencing pointer to incomplete type libusb.c:836: error: dereferencing pointer to incomplete type libusb.c:837: error: dereferencing pointer to incomplete type libusb.c: In function 'gp_port_usb_match_device_by_class': libusb.c:859: error: dereferencing pointer to incomplete type libusb.c:861: error: dereferencing pointer to incomplete type libusb.c:863: error: dereferencing pointer to incomplete type libusb.c:866: error: dereferencing pointer to incomplete type libusb.c:869: error: dereferencing pointer to incomplete type libusb.c:871: error: dereferencing pointer to incomplete type libusb.c:873: error: dereferencing pointer to incomplete type libusb.c:875: error: dereferencing pointer to incomplete type libusb.c:877: error: dereferencing pointer to incomplete type libusb.c:879: error: dereferencing pointer to incomplete type libusb.c:881: error: dereferencing pointer to incomplete type libusb.c:883: error: dereferencing pointer to incomplete type libusb.c:885: error: dereferencing pointer to incomplete type libusb.c: In function 'gp_port_usb_find_device_by_class_lib': libusb.c:934: error: 'usb_busses' undeclared (first use in this function) libusb.c:934: error: dereferencing pointer to incomplete type libusb.c:935: error: dereferencing pointer to incomplete type libusb.c:938: error: dereferencing pointer to incomplete type libusb.c:938: error: dereferencing pointer to incomplete type libusb.c:941: error: dereferencing pointer to incomplete type libusb.c:954: error: dereferencing pointer to incomplete type libusb.c:957: error: dereferencing pointer to incomplete type libusb.c:958: error: dereferencing pointer to incomplete type libusb.c:959: error: dereferencing pointer to incomplete type libusb.c:961: error: 'USB_ENDPOINT_IN' undeclared (first use in this function) libusb.c:961: error: 'USB_ENDPOINT_TYPE_BULK' undeclared (first use in this func tion) libusb.c:962: error: 'USB_ENDPOINT_OUT' undeclared (first use in this function) libusb.c:963: error: 'USB_ENDPOINT_TYPE_INTERRUPT' undeclared (first use in this function) libusb.c:966: error: dereferencing pointer to incomplete type libusb.c:967: error: dereferencing pointer to incomplete type libusb.c:968: error: dereferencing pointer to incomplete type libusb.c:980: error: dereferencing pointer to incomplete type libusb.c:981: error: dereferencing pointer to incomplete type gmake[4]: *** [usb_la-libusb.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/graphics/libgphoto2/work/libgphoto2-2.4. 4/libgphoto2_port/usb' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/graphics/libgphoto2/work/libgphoto2-2.4. 4/libgphoto2_port' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/graphics/libgphoto2/work/libgphoto2-2.4. 4/libgphoto2_port' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/libgphoto2/work/libgphoto2-2.4. 4' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/graphics/libgphoto2. >How-To-Repeat: cd /usr/ports/graphics/libgphoto2 make >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903091610.n29GAbSw046050>