<div dir="ltr"><div><div><div>Thanks Jan,<br><br></div>Yes it worked when I removed --without-remote.<br></div>Thanks for your help.<br><br></div>Cheers,<br>Abhishek<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Jul 25, 2013 at 12:37 AM, Ján Tomko <span dir="ltr"><<a href="mailto:jtomko@redhat.com" target="_blank">jtomko@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 07/24/2013 11:24 PM, Abhishek Sharma wrote:<br>
> Hi,<br>
><br>
> I am new to libvirt and I am trying to compile libvirt from the git<br>
> repository. I mainly plan to use it for managing ESX server. However I get the<br>
> following error during make.<br>
><br>
</div>> /"libvirt undefined reference to virNetTLSInit"/<br>
<div class="im">><br>
> Here are the steps which I took.<br>
><br>
> 1. Get the code. git clone git://<a href="http://libvirt.org/libvirt.git" target="_blank">libvirt.org/libvirt.git</a><br>
</div>> <<a href="http://libvirt.org/libvirt.git" target="_blank">http://libvirt.org/libvirt.git</a>><br>
<div class="im">> 2. Run autogen<br>
> ./autogen.sh --without-xen --with-esx --without-numactl --without-remote<br>
> --without-libvirtd --without-one --without-openvz --without-qemu --without-uml<br>
> --without-phyp --without-vbox --without-lxc --without-one --without-test<br>
> --without-network --without-selinux --with-python<br>
><br>
> 3. make<br>
><br>
><br>
> Looks like the following commit somehow separated the gnutls symbols.<br>
><br>
</div>> /commit 83d7e4e4607a96b6959a6b0afd44a10a783fd928<br>
> Author: Daniel P. Berrange <<a href="mailto:berrange@redhat.com">berrange@redhat.com</a> <mailto:<a href="mailto:berrange@redhat.com">berrange@redhat.com</a>>><br>
<div class="im">> Date:   Wed Mar 13 13:37:29 2013 +0000<br>
><br>
</div>>     Use separate symbol file for GNUTLS symbols/<br>
<div class="im">><br>
> How can I successfully compile libvirt ?<br>
<br>
</div>Try building it --with-remote, it seems we assume that in quite a few places.<br>
<br>
Jan<br>
</blockquote></div><br></div>