[Libguestfs] python 3 bindings on libguestfs

Richard W.M. Jones rjones at redhat.com
Mon Feb 5 14:41:13 UTC 2018


On Mon, Feb 05, 2018 at 11:58:45AM +0000, abinaya.manikandan at wipro.com wrote:
> Hi,
> 
> Please find below warning which I am facing while running "make" in source code of libguestfs-1.32.4:
> 
> **********************************************************************
> make[2]: Entering directory `/root/rpmbuild/SOURCES/libguestfs-1.32.4/python'
>   CC       libguestfsmod_la-guestfs-py.lo
> In file included from guestfs-py.c:36:0:
> guestfs-py.h: In function 'put_handle':
> guestfs-py.h:56:5: warning: implicit declaration of function 'PyCObject_FromVoidPtrAndDesc' [-Wimplicit-function-declaration]
>      PyCObject_FromVoidPtrAndDesc ((void *) g, (char *) "guestfs_h", NULL);
>      ^
> guestfs-py.h:56:5: warning: nested extern declaration of 'PyCObject_FromVoidPtrAndDesc' [-Wnested-externs]
> guestfs-py.h:55:3: warning: return makes pointer from integer without a cast [enabled by default]

As I said before, and as is confirmed by the message above, there is
something very confused and broken about your Python installation.
There's nothing much we can do about that, you need to fix it.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v




More information about the Libguestfs mailing list