<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 5, 2013 at 12:19 PM, Chandan Jay Sharma <span dir="ltr"><<a href="mailto:chandansbg@gmail.com" target="_blank">chandansbg@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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-->build) required?<br>
<br></div></div></blockquote><div><br></div><div>How hard is to understand not to top post, even when it is mentioned in one of the mail?<br>Secondly, if you want to ask a question, please create a new thread.<br><br></div>
<div>This seems like distro specific requirements, which are more suitable to be asked in distro mailing list. <br></div><div>Even if these are distro specific directory requirement it is very likely to override the requirements by making changes in configuration files and/or Makefile and/or .config to look for the given path. If at all you change the directory location, you might want to be sure that no other utility looks for those path e.g. other utilities which depend on kernel source path like virtual machines etc. <br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div>Thanks,<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
<div>
<div class="h5">On 4 December 2013 17:00, Sudip Mukherjee <span dir="ltr"><<a href="mailto:sudipm.mukherjee@gmail.com" target="_blank">sudipm.mukherjee@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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><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/<version></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 "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"</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><font color="#888888"><div class="gmail_extra"><font color="#500050">Sudip</font></div>
</font></span></div></div>
<br></div></div><div class="im">_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">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></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div dir="ltr">---<br><br>< <span style="font-family:comic sans ms,sans-serif">Chandan Jay Sharma ></span><br><div>
<div></div><div></div><div> </div></div></div>
</font></span></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>Thank you <br>Warm Regards<br>Anuz<br>
</div></div>