[libvirt] networkxml2argvtest fails to compile

Osier Yang jyang at redhat.com
Tue Jul 5 12:31:29 UTC 2011


On 07/05/2011 06:45 PM, Matthias Bolte wrote:
> 2011/7/5 Ruben Kerkhof<ruben at rubenkerkhof.com>:
>> Hi all,
>>
>> Building libvirt 0.9.3 from source with --without-network, make check
>> fails with:
>>
>> CC     networkxml2xmltest.o
>>   CCLD   networkxml2xmltest
>>   CC     networkxml2argvtest.o
>> make[2]: *** No rule to make target
>> `../src/libvirt_driver_network.la', needed by `networkxml2argvtest'.
>> Stop.
>> make[2]: Leaving directory `/home/ruben/src/libvirt/libvirt-0.9.3/tests'
>> make[1]: *** [check-am] Error 2
>> make[1]: Leaving directory `/home/ruben/src/libvirt/libvirt-0.9.3/tests'
>> make: *** [check-recursive] Error 1
>>
>> Kind regards,
>>
>> Ruben
> The attached patch fixes this.
>

It also needs:

if WITH_NETWORK
check_PROGRAMS += networkxml2argvtest
endif

if WITH_NETWORK
TESTS += networkxml2argvtest
endif

ACK with this fix.

Regards
Osier
>
>
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110705/26bb6917/attachment-0001.htm>


More information about the libvir-list mailing list