<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 01/05/2012 02:13 PM, Yaniv Kaul wrote:
<blockquote cite="mid:4F059405.1000301@redhat.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Latest git, on F16/x64:<br>
<br>
<br>
CC channel-usbredir.lo<br>
channel-usbredir.c: In function
'spice_usbredir_channel_open_device':<br>
channel-usbredir.c:193:5: error: implicit declaration of function
'usbredirhost_open_full' [-Werror=implicit-function-declaration]<br>
channel-usbredir.c:193:16: error: assignment makes pointer from
integer without a cast [-Werror]<br>
cc1: all warnings being treated as errors
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Spice-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/spice-devel">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a>
</pre>
</blockquote>
<br>
And when doing:<br>
./configure --enable-usbredir=no<br>
<br>
On 'make' I'm getting:<br>
...<br>
CC usb-device-manager.lo<br>
In file included from usb-device-manager.c:44:0:<br>
usb-device-manager-priv.h:28:59: error: 'enum libusb_error' declared
inside parameter list [-Werror]<br>
usb-device-manager-priv.h:28:59: error: its scope is only this
definition or declaration, which is probably not what you want
[-Werror]<br>
usb-device-manager.c: In function 'spice_usb_device_get_type':<br>
usb-device-manager.c:123:1: error: 'libusb_ref_device' undeclared
(first use in this function)<br>
usb-device-manager.c:123:1: note: each undeclared identifier is
reported only once for each function it appears in<br>
usb-device-manager.c:123:1: error: 'libusb_unref_device' undeclared
(first use in this function)<br>
usb-device-manager.c: In function 'spice_usb_device_manager_init':<br>
usb-device-manager.c:136:53: error: 'libusb_unref_device' undeclared
(first use in this function)<br>
usb-device-manager.c: In function
'spice_usb_device_manager_get_devices':<br>
usb-device-manager.c:746:51: error: 'libusb_unref_device' undeclared
(first use in this function)<br>
usb-device-manager.c:748:9: error: unknown type name 'libusb_device'<br>
usb-device-manager.c:749:9: error: implicit declaration of function
'libusb_ref_device' [-Werror=implicit-function-declaration]<br>
usb-device-manager.c:749:9: error: passing argument 2 of
'g_ptr_array_add' makes pointer from integer without a cast
[-Werror]<br>
/usr/include/glib-2.0/glib/garray.h:136:12: note: expected
'gpointer' but argument is of type 'int'<br>
cc1: all warnings being treated as errors<br>
</body>
</html>