[libvirt] Bug 993411 - Compilation fails on lxc/lxc_monitor_protocol.c 31: undefined reference to xdr_uinit64_t [NEEDINFO]

Gerald Palmer GPALMER at lganet.com
Mon Sep 22 14:02:35 UTC 2014


Description of problem: Fail to compile


Version-Release number of selected component (if applicable):
Version 1.0.3 through 1.1.1


How reproducible:


Steps to Reproduce:
1./configure  --prefix=/usr --localstatedir=/var --sysconfdir=/etc
2.make

Actual results:
libvirt_lxc-lxc_monitor_protocol.o: In function `xdr_virLXCMonitorInitEventMsg':
/usr/local/src/libvirt/libvirt-1.1.1/src/./lxc/lxc_monitor_protocol.c:31: undefined reference to `xdr_uint64_t'


Expected results:
Successful Compilation

Additional info: patch resolving compilation issue
--- lxc_monitor_protocol.h      2013-08-05 20:22:23.963000000 +0000
+++ libvirt-1.1.1/src/lxc/lxc_monitor_protocol.h        2013-08-05 20:22:46.226000000 +0000
@@ -5,6 +5,8 @@

#ifndef _LXC_MONITOR_PROTOCOL_H_RPCGEN
#define _LXC_MONITOR_PROTOCOL_H_RPCGEN
+# define xdr_uint64_t xdr_u_int64_t
+

#include <rpc/rpc.h>

Gerald Palmer | Information Technology | Larry Gordon Agency Inc.
233 N Michigan Ave | STE 2450 | Chicago IL 60601 | WWW.LGANET.COM
(312) 540-9400 | (800) 666-6988 | DIRECT (312) 540-5458 | FAX (312) 540-5440
BRAMCO | Solid Products. Strong Support. Maximum Value.
Forms & Quotes available at www.lganet.com<http://www.lganet.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140922/bd399988/attachment-0001.htm>


More information about the libvir-list mailing list