Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jun 2009 22:54:17 +0200
From:      Lars Engels <lars.engels@0x20.net>
To:        eculp <eculp@encontacto.net>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: multimedia/pwcbsd fails on up to date current.
Message-ID:  <20090605205417.GC21182@e.0x20.net>
In-Reply-To: <20090604085643.84986tnl0s2rn38k@econet.encontacto.net>
References:  <20090604085643.84986tnl0s2rn38k@econet.encontacto.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--A6N2fC+uXW/VQSAv
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

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


Lars

--A6N2fC+uXW/VQSAv
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkophfkACgkQKc512sD3afj/LwCgoZfafnTcoszNZBCd0MxzE5dD
wKcAn3Paocce4bUyMAi/RrRa3csDSL/t
=rWln
-----END PGP SIGNATURE-----

--A6N2fC+uXW/VQSAv--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090605205417.GC21182>