On 04/01/13 18:54, Wayne Blaszczyk wrote: > On 04/01/13 18:28, Wayne Blaszczyk wrote: >> On 04/01/13 09:52, Tobias Gasser wrote: >>> Am 03.01.2013 23:23, schrieb Armin K.: >>>> On 01/03/2013 11:03 PM, Tobias Gasser wrote: >>>>> >>>>> any hint what else i can try to build 1.0.1? >>>>> >>>>> >>>>> thanks for any help >>>>> tobias >>>>> >>>> >>>> As you see, libtirpc is not yet ready to take over RPC stuff. That's why >>>> Glibc developers introduced --enable-obsolete-rpc switch if an user >>>> wants to enable RPC API/ABI once again. It is not used in LFS, but few >>>> of us asked for Glibc's RPC interface to be re-enabled. No one had luck >>>> with convincing the devs. :P >>> >>> libvirt 0.9.3 compiles fine with the glibc / tirpc mixup >>> >>> the new 1.0.1 fails (maybe i should try 1.0.0) >>> >>>> You can try (again) convincing them lfs-dev mailing list to enable >>>> Glibc's RPC interface by default (Good luck with that) :-) >>> >>> maybe that's why libvirt was dropped from the book >>> >>> as 0.9.3 can be compiled with tirpc and even the 1.0.1 configure >>> checks for libtirpc, i guess the libvirt people are to be blamed. >>> >>> meanwhile all packages where i need rpc switched from sunrpc to tirpc, >>> thus for me the book is ok. >>> >>> until a patch from a distro is available, or a fixed version is >>> published i'll go on with the 0.9.3 >>> >>> as google was no help, i just wanted to ask wether someone here has a >>> solution... >>> >>> tobias >>> >> >> FYI, I've built libvirt 1.0.0 with no issues as per my previous email. >> It is on a 64bit (x86_64) system. I'm wondering if its a >> environment/architecture issue? >> >> Regards, >> Wayne. >> > > I went ahead and tried out building version 1.0.1. I get a similar error > as you: > > CCLD libvirt_lxc > libvirt_lxc-lxc_protocol.o: In function `xdr_virLXCProtocolInitEventMsg': > /sources/libvirt-1.0.1/src/./lxc/lxc_protocol.c:31: undefined reference > to `xdr_uint64_t' > collect2: error: ld returned 1 exit status > make[3]: *** [libvirt_lxc] Error 1 > make[3]: Leaving directory `/sources/libvirt-1.0.1/src' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/sources/libvirt-1.0.1/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/sources/libvirt-1.0.1' > make: *** [all] Error 2 > > There is definitely something wrong with this version. > Regards, > Wayne. > > > >
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. Regards, Wayne. -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
