Re: Errors during compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]