multimedia/pwcbsd fails on up to date current.

Lars Engels lars.engels at 0x20.net
Fri Jun 5 20:54:20 UTC 2009


On Thu, Jun 04, 2009 at 08:56:43AM -0500, eculp wrote:
> I can't compile multimedia/pwcbsd on my laptop running current with  
> ports, kernel, userland up to date.
> 
> It finishes with:
> 
> pwc.c:155: warning: passing argument 3 of 'usb2_lookup_id_by_uaa' from  
> incompatible pointer type
> pwc.c: In function 'pwc_attach':
> pwc.c:173: error: dereferencing pointer to incomplete type
> pwc.c:174: error: dereferencing pointer to incomplete type
> 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: passing argument 1 of 'usb2_transfer_unsetup' from  
> incompatible pointer type
> pwc.c: In function 'pwc_close':
> pwc.c:460: warning: passing argument 1 of  
> 'usb2_set_alt_interface_index' from incompatible pointer type
> pwc.c: In function 'pwc_try_video_mode':
> pwc.c:600: warning: passing argument 1 of 'usb2_transfer_unsetup' from  
> incompatible pointer type
> pwc.c:618: warning: passing argument 1 of  
> 'usb2_set_alt_interface_index' from incompatible pointer type
> pwc.c:626: warning: passing argument 1 of 'usb2_transfer_setup' from  
> incompatible pointer type
> pwc.c:626: warning: passing argument 3 of 'usb2_transfer_setup' from  
> incompatible pointer type
> pwc.c:632: warning: passing argument 1 of 'usb2_transfer_start' from  
> incompatible pointer type
> pwc.c: In function 'pwc_isoc_rx_callback':
> pwc.c:680: error: dereferencing pointer to incomplete type
> pwc.c:682: error: dereferencing pointer to incomplete type
> 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: passing argument 1 of 'usb2_start_hardware' from  
> incompatible pointer type
> pwc.c:695: error: dereferencing pointer to incomplete type
> 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: error: dereferencing pointer to incomplete type
> pwc.c: In function 'pwc_free_buffers':
> pwc.c:953: warning: passing argument 1 of 'usb2_transfer_unsetup' from  
> incompatible pointer type
> *** Error code 1
> 
> Stop in /usr/ports/multimedia/pwcbsd/work/pwcbsd.
> *** Error code 1
> 
> This is probably related to the usb changes hopefully related to  
> getting my junky Crystal Eye Webcam working ;)
> 
> thanks,

Can you please test 
http://bsd-geek.de/FreeBSD/pwcbsd_usbfix.patch ?


Lars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20090605/15ee6a91/attachment.pgp


More information about the freebsd-ports mailing list