[libvirt] make not invoking rpcgen remote_protocol.x

Kenneth Nagin NAGIN at il.ibm.com
Wed Nov 26 14:21:13 UTC 2008



>"Richard W.M. Jones" <rjones at redhat.com> wrote on 26/11/2008 15:44:16:

> On Mon, Nov 10, 2008 at 05:52:30PM +0200, Kenneth Nagin wrote:
> >
> > I am attempting to add some new libvirt functions that I intend to
submit
> > for your approval.
> > I have made changes to remote_protocol.x.  Initially it generated the
> > expected files.
> > However,  after making a few changes the make no causes it to generate
> > files.
> > Manually invoke rpcgen -c remote_protocol.x > remote_protocol.c seems
> > to get around the compile problem.  But now I'm getting a "Remote
error :
> > marshaling args"
> > I 'm think there is a problem in the make.
>
> Did you fix this in the end?
>
> It matter a lot which version of rpcgen you are using.  Currently we
> only recommend using rpcgen that comes with glibc.  This version of
> rpcgen has its own problems, but not as many as affect other versions
> of rpcgen.
>
> Rich.
>
> --
> Richard Jones, Emerging Technologies, Red Hat
http://et.redhat.com/~rjones
> virt-df lists disk usage of guests without needing to install any
> software inside the virtual machine.  Supports Linux and Windows.
> http://et.redhat.com/~rjones/virt-df/
The following procedure seems to work:
starting from the libvirt root directory>
cd qemud
rpcgen -c remote_protocol.x
cd ..
make -C qemud remote_protocol.c
make clean
make




More information about the libvir-list mailing list