<div dir="ltr"><div>Sometime back I faced similar error on my CentOS machine and after googling I fixed it in 2 steps.<br><br></div><div>1. ln -s  /usr/src/kernels/<b>2.6.32-220.</b><b>el6.x86_64</b> /lib/modules/2.6.32-220.el6.x86_64/<b>build</b><br>

</div><div>2. ln -s /lib/modules/2.6.32-220.el6.x86_64/<b>build</b> /lib/modules/2.6.32-220.el6.x86_64/<b>source</b><br><br></div><div>Can someone help me understand why this 2nd symbolic link (source--&gt;build) required?<br>

<br></div><div>Thanks,<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 4 December 2013 17:00, Sudip Mukherjee <span dir="ltr">&lt;<a href="mailto:sudipm.mukherjee@gmail.com" target="_blank">sudipm.mukherjee@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><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 dir="ltr"><div class="im"><div><div><div class="gmail_extra"><div class="gmail_quote"><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 dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><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><div class="gmail_extra"><div class="gmail_quote"><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 class="gmail_extra"><div class="gmail_quote"><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>


<div dir="ltr"><div><div>Whats the error?<br></div></div></div></div></div></blockquote></div></div></blockquote></div></div></div></div></blockquote></div><div>Hi Anil</div><div>Please do not top post. </div><div>For your error , please verify if /lib/modules/2.6.32-220.el6.x86_64/build is really linking to the folder containing the kernel files. </div>




<div><br></div><div>Regards</div><span><font color="#888888"><div>Sudip</div></font></span></div><br></div></div>
</blockquote></div><br></div></div></div></div><div class="gmail_extra">Thats the issue the link is not there how to create the link.<br></div></div>
</blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">On your mails please always put cc to the list.</div><div class="gmail_extra">Even if it is centos the build file will be there. And it should have a soft link to the folder containing your kernel source files. first please find out where your source file is . In my system it is at /usr/src/kernels/&lt;version&gt;</div>


<div class="gmail_extra">In your it should be /usr/src/kernels/<span style="color:rgb(80,0,80)">2.6.32-220.el6.</span><span style="color:rgb(80,0,80)">x86_64</span></div><div class="gmail_extra"><br></div><div class="gmail_extra">


After you find the folder , give the command  &quot;sudo ln -s /usr/src/kernels/<span style="color:rgb(80,0,80)">2.6.32-220.el6.</span><span style="color:rgb(80,0,80)">x86_64</span> /lib/modules/<span style="color:rgb(80,0,80)">2.6.32-220.el6.</span><span style="color:rgb(80,0,80)">x86_64/build&quot;</span></div>


<div class="gmail_extra"><span style="color:rgb(80,0,80)"><br></span></div><div class="gmail_extra"><font color="#500050">Regards</font></div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra"><font color="#500050">Sudip</font></div>

</font></span></div></div>
<br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">---<br><br>&lt; <span style="font-family:comic sans ms,sans-serif">Chandan Jay Sharma &gt;</span><br><div><div></div><div></div><div> </div></div></div>


</div>