[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] build: avoid non-portable byte-swapping



On 09/18/2012 03:32 PM, Eric Blake wrote:

> 
> With this, a cross-build to mingw gets further (it was failing for
> undefined functions, and now fails on:
> 
>   CC     libvirt_util_la-virdbus.lo
> ../../src/util/virdbus.c: In function 'virDBusAddWatch':
> ../../src/util/virdbus.c:149:5: error: 'dbus_watch_get_fd' is deprecated
> (declared at /usr/include/dbus-1.0/dbus/dbus-connection.h:450)
> [-Werror=deprecated-declarations]

I traced this to a bug in my environment; I hadn't installed the
'mingw{32,64}-pkg-config' packages, and so I was using the system
pkg-config which was picking up wrong results for the cross-compilation
attempt.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]