From owner-freebsd-current@FreeBSD.ORG Tue Sep 8 20:37:09 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46CCB106566B for ; Tue, 8 Sep 2009 20:37:09 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id 922A68FC13 for ; Tue, 8 Sep 2009 20:37:08 +0000 (UTC) Received: by mail.0x20.net (Postfix, from userid 1002) id DD8D63A61E; Tue, 8 Sep 2009 22:17:13 +0200 (CEST) Date: Tue, 8 Sep 2009 22:17:13 +0200 From: Lars Engels To: current@freebsd.org Message-ID: <20090908201713.GD41185@e.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="69pVuxX8awAiJ7fD" Content-Disposition: inline X-Editor: VIM - Vi IMproved 7.2 X-Operation-System: FreeBSD 5.5-RELEASE-p19 User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Subject: CFH: fix multimedia/pwcbsd with usb2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2009 20:37:09 -0000 --69pVuxX8awAiJ7fD Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, could someone with some more USB and C knowledge than me take a look at multimedia/pwcbsd? I'd really like to get the port fixed before the ports freeze starts. Here is the compile output: In file included from pwc.c:27: pwc.h:47:31: error: dev/usb/usb_mfunc.h: No such file or directory pwc.h:48:31: error: dev/usb/usb_error.h: No such file or directory In file included from pwc.h:50, from pwc.c:27: @/dev/usb/usb_core.h:121: error: field 'timeout_handle' has incomplete type @/dev/usb/usb_core.h:140: error: expected specifier-qualifier-list before '= usb_callback_t' pwc.h:52:32: error: dev/usb/usb_lookup.h: No such file or directory In file included from pwc.h:55, from pwc.c:27: @/dev/usb/usb_request.h:32: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_clear_hub_feature' @/dev/usb/usb_request.h:34: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_clear_port_feature' @/dev/usb/usb_request.h:36: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_get_alt_interface_no' @/dev/usb/usb_request.h:39: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_get_config' @/dev/usb/usb_request.h:41: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_get_descriptor_ptr' @/dev/usb/usb_request.h:43: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_get_config_desc' @/dev/usb/usb_request.h:45: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_get_config_desc_full' @/dev/usb/usb_request.h:48: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_get_desc' @/dev/usb/usb_request.h:52: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_get_device_desc' @/dev/usb/usb_request.h:54: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_get_device_status' @/dev/usb/usb_request.h:56: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_get_hub_descriptor' @/dev/usb/usb_request.h:59: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_get_hub_status' @/dev/usb/usb_request.h:61: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_get_port_status' @/dev/usb/usb_request.h:63: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_reset_port' @/dev/usb/usb_request.h:65: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_set_address' @/dev/usb/usb_request.h:67: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_set_hub_feature' @/dev/usb/usb_request.h:69: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_set_port_feature' @/dev/usb/usb_request.h:71: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_re_enumerate' @/dev/usb/usb_request.h:72: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_clear_device_feature' @/dev/usb/usb_request.h:73: error: expected '=3D', ',', ';', 'asm' or '__at= tribute__' before 'usbd_req_set_device_feature' pwc.c:62: error: array type has incomplete element type pwc.c:63: error: array index in non-array initializer pwc.c:63: error: (near initialization for 'pwc_config') pwc.c:64: error: field name not in record or union initializer pwc.c:64: error: (near initialization for 'pwc_config') pwc.c:65: error: field name not in record or union initializer pwc.c:65: error: (near initialization for 'pwc_config') pwc.c:66: error: field name not in record or union initializer pwc.c:66: error: (near initialization for 'pwc_config') pwc.c:67: error: field name not in record or union initializer pwc.c:67: error: (near initialization for 'pwc_config') pwc.c:68: error: field name not in record or union initializer pwc.c:68: error: (near initialization for 'pwc_config') pwc.c:69: error: field name not in record or union initializer pwc.c:69: error: (near initialization for 'pwc_config') pwc.c:69: error: field name not in record or union initializer pwc.c:69: error: (near initialization for 'pwc_config') pwc.c:70: error: field name not in record or union initializer pwc.c:70: error: (near initialization for 'pwc_config') pwc.c:73: error: array index in non-array initializer pwc.c:73: error: (near initialization for 'pwc_config') pwc.c:74: error: field name not in record or union initializer pwc.c:74: error: (near initialization for 'pwc_config') pwc.c:75: error: field name not in record or union initializer pwc.c:75: error: (near initialization for 'pwc_config') pwc.c:76: error: field name not in record or union initializer pwc.c:76: error: (near initialization for 'pwc_config') pwc.c:77: error: field name not in record or union initializer pwc.c:77: error: (near initialization for 'pwc_config') pwc.c:78: error: field name not in record or union initializer pwc.c:78: error: (near initialization for 'pwc_config') pwc.c:79: error: field name not in record or union initializer pwc.c:79: error: (near initialization for 'pwc_config') pwc.c:79: error: field name not in record or union initializer pwc.c:79: error: (near initialization for 'pwc_config') pwc.c:80: error: field name not in record or union initializer pwc.c:80: error: (near initialization for 'pwc_config') pwc.c:84: error: array type has incomplete element type cc1: warnings being treated as errors pwc.c:85: warning: implicit declaration of function 'USB_VPI' pwc.c: In function 'pwc_probe': pwc.c:145: error: dereferencing pointer to incomplete type pwc.c:152: error: dereferencing pointer to incomplete type pwc.c:155: warning: implicit declaration of function 'usb2_lookup_id_by_uaa' pwc.c:155: warning: nested extern declaration of 'usb2_lookup_id_by_uaa' pwc.c: In function 'pwc_attach': pwc.c:169: warning: implicit declaration of function 'device_set_usb2_desc' pwc.c:169: warning: nested extern declaration of 'device_set_usb2_desc' pwc.c:173: error: dereferencing pointer to incomplete type pwc.c:174: warning: implicit declaration of function 'USB_GET_DRIVER_INFO' pwc.c:174: warning: nested extern declaration of 'USB_GET_DRIVER_INFO' pwc.c:175: error: dereferencing pointer to incomplete type pwc.c:180: error: dereferencing pointer to incomplete type pwc.c:181: error: dereferencing pointer to incomplete type pwc.c:184: error: dereferencing pointer to incomplete type pwc.c: In function 'pwc_detach': pwc.c:296: warning: implicit declaration of function 'usb2_transfer_unsetup' pwc.c:296: warning: nested extern declaration of 'usb2_transfer_unsetup' pwc.c: In function 'pwc_close': pwc.c:460: warning: implicit declaration of function 'usb2_set_alt_interfac= e_index' pwc.c:460: warning: nested extern declaration of 'usb2_set_alt_interface_in= dex' pwc.c: In function 'pwc_try_video_mode': pwc.c:619: error: 'USB_ERR_NORMAL_COMPLETION' undeclared (first use in this= function) pwc.c:619: error: (Each undeclared identifier is reported only once pwc.c:619: error: for each function it appears in.) pwc.c:625: warning: implicit declaration of function 'usb2_transfer_setup' pwc.c:625: warning: nested extern declaration of 'usb2_transfer_setup' pwc.c:632: warning: implicit declaration of function 'usb2_transfer_start' pwc.c:632: warning: nested extern declaration of 'usb2_transfer_start' pwc.c: In function 'pwc_isoc_rx_callback': pwc.c:680: warning: implicit declaration of function 'USB_GET_STATE' pwc.c:680: warning: nested extern declaration of 'USB_GET_STATE' pwc.c:681: error: 'USB_ST_TRANSFERRED' undeclared (first use in this functi= on) pwc.c:682: error: dereferencing pointer to incomplete type pwc.c:686: error: 'USB_ST_SETUP' undeclared (first use in this function) pwc.c:688: error: dereferencing pointer to incomplete type pwc.c:689: error: dereferencing pointer to incomplete type pwc.c:689: error: dereferencing pointer to incomplete type pwc.c:691: error: dereferencing pointer to incomplete type pwc.c:691: error: dereferencing pointer to incomplete type pwc.c:692: warning: implicit declaration of function 'usb2_start_hardware' pwc.c:692: warning: nested extern declaration of 'usb2_start_hardware' pwc.c:695: error: dereferencing pointer to incomplete type pwc.c:695: error: 'USB_ERR_CANCELLED' undeclared (first use in this functio= n) pwc.c: In function 'pwc_isoc_handler': pwc.c:710: error: dereferencing pointer to incomplete type pwc.c:729: error: dereferencing pointer to incomplete type pwc.c:730: error: dereferencing pointer to incomplete type pwc.c:743: warning: implicit declaration of function 'usb2_copy_out' pwc.c:743: warning: nested extern declaration of 'usb2_copy_out' pwc.c:743: error: dereferencing pointer to incomplete type *** Error code 1 Stop in /usr/ports/multimedia/pwcbsd/work/pwcbsd. Thanks a lot in advance! Lars --=20 Lars Engels E-Mail: lars.engels@0x20.net =09 --69pVuxX8awAiJ7fD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkqmu8kACgkQKc512sD3afgwKgCdG8LYCXKiwtaz5WD0VmJ6iPkt zpsAoMYbCQAqDTtBZ83uCA11+9toZvOQ =9eDB -----END PGP SIGNATURE----- --69pVuxX8awAiJ7fD--