Date: Mon, 21 Dec 2009 07:15:17 GMT From: Peter Palmreuther <pitpalme+unix@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/141828: sane-backends 1.0.20 doesn't compile on FreeBSD 8 Message-ID: <200912210715.nBL7FHVw054691@www.freebsd.org> Resent-Message-ID: <200912210720.nBL7K1p1032844@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141828 >Category: ports >Synopsis: sane-backends 1.0.20 doesn't compile on FreeBSD 8 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Dec 21 07:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Peter Palmreuther >Release: 8.0 >Organization: >Environment: FreeBSD siliki.sunrise.local 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When trying to build sane-backends 1.0.20 it fails with errors related to USB library: [...] In file included from sanei_usb.c:101: /usr/include/dev/usb/usb.h:274: error: redefinition of 'struct usb_device_descriptor' /usr/include/dev/usb/usb.h:365: error: redefinition of 'struct usb_config_descriptor' /usr/include/dev/usb/usb.h:382: error: redefinition of 'struct usb_interface_descriptor' /usr/include/dev/usb/usb.h:496: error: redefinition of 'struct usb_endpoint_descriptor' /usr/include/dev/usb/usb.h:540: error: redefinition of 'struct usb_string_descriptor' sanei_usb.c: In function 'kernel_get_vendor_product': sanei_usb.c:248: warning: unused parameter 'fd' sanei_usb.c:248: warning: unused parameter 'name' sanei_usb.c:248: warning: unused parameter 'vendorID' sanei_usb.c:248: warning: unused parameter 'productID' sanei_usb.c: In function 'sanei_usb_init': sanei_usb.c:578: warning: format '%04x' expects type 'unsigned int', but argument 3 has type 'uint8_t *' sanei_usb.c:578: warning: format '%04x' expects type 'unsigned int', but argument 4 has type 'uint8_t *' sanei_usb.c:585: warning: format '%04x' expects type 'unsigned int', but argument 3 has type 'uint8_t *' sanei_usb.c:585: warning: format '%04x' expects type 'unsigned int', but argument 4 has type 'uint8_t *' sanei_usb.c:590: error: 'struct usb_config_descriptor' has no member named 'bNumInterfaces' sanei_usb.c:599: error: 'struct usb_config_descriptor' has no member named 'interface' sanei_usb.c:600: error: 'struct usb_config_descriptor' has no member named 'interface' sanei_usb.c:605: warning: format '%04x' expects type 'unsigned int', but argument 3 has type 'uint8_t *' sanei_usb.c:605: warning: format '%04x' expects type 'unsigned int', but argument 4 has type 'uint8_t *' sanei_usb.c:608: error: 'struct usb_config_descriptor' has no member named 'interface' sanei_usb.c:627: error: 'struct usb_config_descriptor' has no member named 'interface' sanei_usb.c:628: error: 'struct usb_config_descriptor' has no member named 'interface' sanei_usb.c:629: warning: format '%04x' expects type 'unsigned int', but argument 3 has type 'uint8_t *' sanei_usb.c:629: warning: format '%04x' expects type 'unsigned int', but argument 4 has type 'uint8_t *' sanei_usb.c:636: warning: format '%04x' expects type 'unsigned int', but argument 3 has type 'uint8_t *' sanei_usb.c:636: warning: format '%04x' expects type 'unsigned int', but argument 4 has type 'uint8_t *' sanei_usb.c:647: warning: assignment makes integer from pointer without a cast sanei_usb.c:648: warning: assignment makes integer from pointer without a cast sanei_usb.c:655: warning: format '%04x' expects type 'unsigned int', but argument 3 has type 'uint8_t *' sanei_usb.c:655: warning: format '%04x' expects type 'unsigned int', but argument 4 has type 'uint8_t *' sanei_usb.c: In function 'sanei_usb_get_vendor_product': sanei_usb.c:1029: warning: assignment makes integer from pointer without a cast sanei_usb.c:1031: warning: assignment makes integer from pointer without a cast sanei_usb.c: In function 'sanei_usb_open': sanei_usb.c:1235: error: 'struct usb_config_descriptor' has no member named 'bNumInterfaces' sanei_usb.c:1238: error: 'struct usb_config_descriptor' has no member named 'interface' sanei_usb.c:1245: error: 'struct usb_config_descriptor' has no member named 'interface' sanei_usb.c:1253: error: 'struct usb_interface_descriptor' has no member named 'endpoint' sanei_usb.c: In function 'sanei_usb_write_bulk': sanei_usb.c:2177: warning: passing argument 3 of 'usb_bulk_write' discards qualifiers from pointer target type sanei_usb.c: In function 'sanei_usb_get_descriptor': sanei_usb.c:2842: warning: assignment makes integer from pointer without a cast sanei_usb.c:2843: warning: assignment makes integer from pointer without a cast sanei_usb.c:2848: error: 'struct usb_device_descriptor' has no member named 'bMaxPacketSize0' gmake[1]: *** [sanei_usb.lo] Fehler 1 gmake[1]: Leaving directory `/usr/ports/graphics/sane-backends/work/sane-backends-1.0.20/sanei' gmake: *** [all-recursive] Fehler 1 *** Error code 1 >How-To-Repeat: Don't know ... Build sane-backends from ports?!? >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912210715.nBL7FHVw054691>