<div dir="ltr">You're missing the linux kernel headers package. Try installing with:<div><br></div><div>$ sudo apt-get install linux-headers-`uname -r`</div><div><br></div><div>Is there a reason you need to compile your own verse using the provided package from the system?</div>
<div><br></div><div>e.g., </div><div><br></div><div>$ sudo apt-get install libvirt0</div><div><br></div><div><br></div><div><div class="gmail_extra"><div class="gmail_quote">On Wed, Aug 6, 2014 at 9:53 PM, ahmad jan <span dir="ltr"><<a href="mailto:mr_ahmadjan@yahoo.com" target="_blank">mr_ahmadjan@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><div style="color:rgb(0,0,0);font-family:verdana,helvetica,sans-serif;font-size:10pt;background-color:rgb(255,255,255)"><div>I am using Libvirt-1.0.0 on ubuntu 14.02 LTS and found the following error</div><div><br></div>

<div style="color:rgb(0,0,0);font-size:13px;font-family:verdana,helvetica,sans-serif;font-style:normal;background-color:transparent">"<span style="font-family:'Courier New';white-space:pre-wrap;color:rgb(34,34,34);line-height:24px;text-align:justify;font-size:10pt">checking linux/if_bridge.h usability... no</span></div>

<pre style="color:rgb(34,34,34);line-height:24px;text-align:justify">checking linux/if_bridge.h presence... yes
configure: WARNING: linux/if_bridge.h: present but cannot be compiled
configure: WARNING: linux/if_bridge.h:     check for missing prerequisite
headers?
configure: WARNING: linux/if_bridge.h: see the Autoconf documentation
configure: WARNING: linux/if_bridge.h:     section "Present But Cannot Be
Compiled"
configure: WARNING: linux/if_bridge.h: proceeding with the compiler's result
configure: WARNING:     ## ------------------------------------- ##
configure: WARNING:     ## Report this to libvir-list <at> <a href="http://redhat.com" target="_blank">redhat.com</a> ##
configure: WARNING:     ## ------------------------------------- ##
checking for linux/if_bridge.h... no
configure: error: You must install kernel-headers in order to compile
libvirt with QEMU or LXC support"</pre><pre style="color:rgb(34,34,34);line-height:24px;text-align:justify"><br></pre><pre style="color:rgb(34,34,34);line-height:24px;text-align:justify">Please Guide, how do I recover it</pre>

<pre style="color:rgb(34,34,34);line-height:24px;text-align:justify"><br></pre><pre style="color:rgb(34,34,34);line-height:24px;text-align:justify">thanks</pre><div style="color:rgb(0,0,0);font-size:13px;font-family:verdana,helvetica,sans-serif;font-style:normal;background-color:transparent">

 </div></div></div><br>--<br>
libvir-list mailing list<br>
<a href="mailto:libvir-list@redhat.com" target="_blank">libvir-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/libvir-list" target="_blank">https://www.redhat.com/mailman/listinfo/libvir-list</a><br></blockquote></div><br></div></div></div>