[libvirt] Need your help

Alex Jia ajia at redhat.com
Thu Jan 5 05:24:34 UTC 2012


Hi all,
I want to use the utility library in the python directory such as
VIR_FREE, virTypedParameterArrayClear, or anything else from util,
I studied daemon/Makefile.am then changed python/Makefile.am, for
instance, to append '-I$(top_srcdir)/gnulib/lib -I../gnulib/lib \',
'-I$(top_srcdir)/src -I../src \' and '-I$(top_srcdir)/src/util \'
into 'INCLUDES' section in python/Makefile.am, moreover, including
util.h and memory.h in libvirt-override.c. However, I got many
compilation warnings and errors, it seems my change is overwriting
previous header file path.

I wonder how to avoid this, could you give me some advice?

Thanks in advance,
Alex






More information about the libvir-list mailing list