On 01/04/2013 09:21 AM, Wayne Blaszczyk wrote: > > Sorry for the multiple posts. Its quite hot here in Melbourne, over 40C > (104F). > > I've fixed up the above error by adding the following to > src/lxc/lxc_protocol.c : > > #ifdef HAVE_XDR_U_INT64_T > # define xdr_uint64_t xdr_u_int64_t > #endif > > Just after the include statement. >
I can confirm that this works. However, It should be included into src/lxc/lxc_protocol.x since src/lxc/lxc_protocol.c is not writable by default and it is regenerated by rpcgen from .x file. src/remote/remote_protocol.x contains this: %#ifdef HAVE_XDR_U_INT64_T %# define xdr_uint64_t xdr_u_int64_t %#endif If you add the same into src/lxc/lxc_protocol.x, libvirt will build. Thanks for investigating this. There is still hope for RPC with libtirpc on LFS. -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page