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: _at_/dev/usb/usb_core.h:121: error: field 'timeout_handle' has incomplete type _at_/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: _at_/dev/usb/usb_request.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_clear_hub_feature' _at_/dev/usb/usb_request.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_clear_port_feature' _at_/dev/usb/usb_request.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_get_alt_interface_no' _at_/dev/usb/usb_request.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_get_config' _at_/dev/usb/usb_request.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_get_descriptor_ptr' _at_/dev/usb/usb_request.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_get_config_desc' _at_/dev/usb/usb_request.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_get_config_desc_full' _at_/dev/usb/usb_request.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_get_desc' _at_/dev/usb/usb_request.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_get_device_desc' _at_/dev/usb/usb_request.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_get_device_status' _at_/dev/usb/usb_request.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_get_hub_descriptor' _at_/dev/usb/usb_request.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_get_hub_status' _at_/dev/usb/usb_request.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_get_port_status' _at_/dev/usb/usb_request.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_reset_port' _at_/dev/usb/usb_request.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_set_address' _at_/dev/usb/usb_request.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_set_hub_feature' _at_/dev/usb/usb_request.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_set_port_feature' _at_/dev/usb/usb_request.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_re_enumerate' _at_/dev/usb/usb_request.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'usbd_req_clear_device_feature' _at_/dev/usb/usb_request.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' 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_interface_index' pwc.c:460: warning: nested extern declaration of 'usb2_set_alt_interface_index' 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 function) 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 function) 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 -- Lars Engels E-Mail: lars.engels_at_0x20.net
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:55 UTC