Thomas Jung
2012-Apr-18 12:16 UTC
[Libguestfs] error: expected declaration specifiers or '...' before 'virDomainPtr'
hi there got a problem with the installation of libguestfs 1.16.19 on ubuntu.... ./configure --disable-appliance --disable-daemon runs just fine, but make crashes with In file included from virt.c:38:0: guestfs.h:2160:70: error: expected declaration specifiers or '...' before 'virDomainPtr' make[3]: *** [libguestfs_la-virt.lo] Error 1 make[3]: Leaving directory `/home/projekt/libguestfs-1.16.19/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/projekt/libguestfs-1.16.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/projekt/libguestfs-1.16.19' make: *** [all] Error 2 any idea? Swoop -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libguestfs/attachments/20120418/eabf0e04/attachment.htm>
Richard W.M. Jones
2012-Apr-18 19:02 UTC
[Libguestfs] error: expected declaration specifiers or '...' before 'virDomainPtr'
On Wed, Apr 18, 2012 at 02:16:27PM +0200, Thomas Jung wrote:> hi there > > got a problem with the installation of libguestfs 1.16.19 on ubuntu.... > > > > ./configure --disable-appliance --disable-daemon runs just fine, but make > crashes with > > > > In file included from virt.c:38:0: > > guestfs.h:2160:70: error: expected declaration specifiers or '...' before > 'virDomainPtr'Thanks for reporting this. It was indeed a bug, and I have fixed it in the development branch: https://github.com/libguestfs/libguestfs/commit/5d6a323b9358bb01233681b784fa67414a5d2c6d Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v