[Spice-devel] Failure to compile spice-gtk (git clone git://git.engineering.redhat.com/users/rvaknin/preint_scripts/.git)
Yaniv Kaul
ykaul at redhat.com
Thu Jan 5 04:18:08 PST 2012
On 01/05/2012 02:13 PM, Yaniv Kaul wrote:
> Latest git, on F16/x64:
>
>
> CC channel-usbredir.lo
> channel-usbredir.c: In function 'spice_usbredir_channel_open_device':
> channel-usbredir.c:193:5: error: implicit declaration of function
> 'usbredirhost_open_full' [-Werror=implicit-function-declaration]
> channel-usbredir.c:193:16: error: assignment makes pointer from
> integer without a cast [-Werror]
> cc1: all warnings being treated as errors
>
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
And when doing:
./configure --enable-usbredir=no
On 'make' I'm getting:
...
CC usb-device-manager.lo
In file included from usb-device-manager.c:44:0:
usb-device-manager-priv.h:28:59: error: 'enum libusb_error' declared
inside parameter list [-Werror]
usb-device-manager-priv.h:28:59: error: its scope is only this
definition or declaration, which is probably not what you want [-Werror]
usb-device-manager.c: In function 'spice_usb_device_get_type':
usb-device-manager.c:123:1: error: 'libusb_ref_device' undeclared (first
use in this function)
usb-device-manager.c:123:1: note: each undeclared identifier is reported
only once for each function it appears in
usb-device-manager.c:123:1: error: 'libusb_unref_device' undeclared
(first use in this function)
usb-device-manager.c: In function 'spice_usb_device_manager_init':
usb-device-manager.c:136:53: error: 'libusb_unref_device' undeclared
(first use in this function)
usb-device-manager.c: In function 'spice_usb_device_manager_get_devices':
usb-device-manager.c:746:51: error: 'libusb_unref_device' undeclared
(first use in this function)
usb-device-manager.c:748:9: error: unknown type name 'libusb_device'
usb-device-manager.c:749:9: error: implicit declaration of function
'libusb_ref_device' [-Werror=implicit-function-declaration]
usb-device-manager.c:749:9: error: passing argument 2 of
'g_ptr_array_add' makes pointer from integer without a cast [-Werror]
/usr/include/glib-2.0/glib/garray.h:136:12: note: expected 'gpointer'
but argument is of type 'int'
cc1: all warnings being treated as errors
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120105/7bed7e83/attachment.htm>
More information about the Spice-devel
mailing list