[libvirt] [PATCH] build: disable vbox on cygwin

Eric Blake eblake at redhat.com
Wed Dec 16 23:35:48 UTC 2015


On 10/14/2015 02:08 AM, Daniel P. Berrange wrote:
> On Tue, Oct 13, 2015 at 03:17:27PM -0600, Eric Blake wrote:
>> Cygwin cannot build the vbox driver yet:
>>
>>   CC       vbox/libvirt_driver_vbox_impl_la-vbox_glue.lo
>> In file included from vbox/vbox_glue.c:27:0:
>> vblox/vbox_XPCOMCGlue.c:63:3: error: #error "Port me"
>>  # error "Port me"
>>    ^
>> In file included from vbox/vbox_XPCOMCGlue.c:45:0,
>>                  from vbox/vbox_glue.c:27:
>> vbox/vbox_XPCOMCGlue.c: In function 'tryLoadOne':
>> vbox/vbox_XPCOMCGlue.c:98:46: error: 'DYNLIB_NAME' undeclared (first use in this function)
>>          if (virAsprintf(&name, "%s/%s", dir, DYNLIB_NAME) < 0)
>> 	                                      ^
>> ./util/virstring.h:245:31: note: in definition of macro 'virAsprintf'
>>                          strp, __VA_ARGS__)
>> 			       ^
>>
>> Rather than trying to figure out how to get dynamic loading of
>> vbox to work under cygwin (since I don't even have a working vbox
>> setup to test whether it works), I'm going to be lazy and just
>> default to not even trying vbox on cygwin.
>>
>> Signed-off-by: Eric Blake <eblake at redhat.com>
> 
> ACK

Just realized I let two months go by without pushing this - whoops.
Done now.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151216/c2a117a3/attachment-0001.sig>


More information about the libvir-list mailing list