[libvirt] Linking fails on FreeBSD

Eric Blake eblake at redhat.com
Mon Jul 29 13:50:20 UTC 2013


On 07/29/2013 04:32 AM, Daniel P. Berrange wrote:
> On Mon, Jul 29, 2013 at 10:30:15AM +0400, Roman Bogorodskiy wrote:
>> Hi,
>>
>> Linking fails on FreeBSD:

And on a cross-build to mingw as well.


> Try building with thsi patch

Closer, but not there yet:

  CC       libvirt_util_la-vircgroup.lo
../../src/util/vircgroup.c:70:12: error: 'virCgroupPartitionEscape'
declared 'static' but never defined [-Werror=unused-function]
 static int virCgroupPartitionEscape(char **path);
            ^

And another mingw bug:

../../src/util/virdbus.c:1102:35: error: expected ';', ',' or ')' before
'struct'
                       const char *interface,
                                   ^

'interface' is poisoned by mingw headers.

I'll be pushing fixes under the build-breaker rule.

-- 
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: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130729/1614de57/attachment-0001.sig>


More information about the libvir-list mailing list