[libvirt] Errors during compilation

Daniel P. Berrange berrange at redhat.com
Fri May 25 12:49:10 UTC 2012


On Fri, May 25, 2012 at 12:24:59PM +0100, Shradha Shah wrote:
> Hello All.
> 
> I have just pulled all the latest patches in my libvirt git repository. When I try to compile the source I see the following errors:
> 
> rpc/virnetclientprogram.c: In function 'virNetClientProgramCall':
> rpc/virnetclientprogram.c:295: error: 'VIR_NET_CALL_WITH_FDS' undeclared (first use in this function)
> rpc/virnetclientprogram.c:295: error: (Each undeclared identifier is reported only once
> rpc/virnetclientprogram.c:295: error: for each function it appears in.)
> rpc/virnetclientprogram.c:338: error: 'VIR_NET_REPLY_WITH_FDS' undeclared (first use in this function)

This suggests that your src/rpc/virnetprotocol.h file has
not re-generated correctly. Make sure you have the 'rpcgen'
program installed. If it still doesn't re-generate, then
try purging your  git repo of all locally made modifications
& added/generated files.

 eg

   git clean -f -x -d


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list