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

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



 
Linux localhost.localnet 3.8.1 #1 SMP Sun Jul 21 16:11:57 GMT 2013 x86_64 GNU/Linux
bc-1.06
zlib-1.2.5
openssl-1.0.0a
openssh-5.5p1

# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.7.2/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --disable-bootstrap --with-system-zlib
Thread model: posix
gcc version 4.7.2 (GCC)

this is the definition which existes in the following files:
remote/remote_protocol.c
remote/remote_protocol.h
rpc/virnetprotocol.c
rpc/virnetprotocol.h 


-----Original Message-----
From: Daniel P. Berrange [mailto:berrange redhat com] 
Sent: Tuesday, August 06, 2013 4:27 AM
To: Gerald Palmer
Cc: 'libvir-list redhat com'
Subject: Re: [libvirt] : [Bug 993411] Compilation fails on lxc/lxc_monitor_protocol.c 31: undefined reference to xdr_uinit64_t

On Mon, Aug 05, 2013 at 04:19:54PM -0500, Gerald Palmer wrote:
>  
> suggested patch for 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
> +

What platform are you compiling on ?

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


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