Make File error

Anuz Pratap Singh Tomar chambilkethakur at gmail.com
Thu Dec 5 07:33:53 EST 2013


On Thu, Dec 5, 2013 at 12:19 PM, Chandan Jay Sharma <chandansbg at gmail.com>wrote:

> Sometime back I faced similar error on my CentOS machine and after
> googling I fixed it in 2 steps.
>
> 1. ln -s /usr/src/kernels/*2.6.32-220.**el6.x86_64*
>  /lib/modules/2.6.32-220.el6.x86_64/*build*
> 2. ln -s /lib/modules/2.6.32-220.el6.x86_64/*build*/lib/modules/2.6.32-220.el6.x86_64/
> *source*
>
> Can someone help me understand why this 2nd symbolic link (source-->build)
> required?
>
>
How hard is to understand not to top post, even when it is mentioned in one
of the mail?
Secondly, if you want to ask a question, please create a new thread.

This seems like distro specific requirements, which are more suitable to be
asked in distro mailing list.
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.

> Thanks,
>
>
> On 4 December 2013 17:00, Sudip Mukherjee <sudipm.mukherjee at gmail.com>wrote:
>
>>
>>   Whats the error?
>>>>>>>
>>>>>> Hi Anil
>>>> Please do not top post.
>>>> 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.
>>>>
>>>> Regards
>>>> Sudip
>>>>
>>>>
>>> Thats the issue the link is not there how to create the link.
>>>
>>
>>
>> On your mails please always put cc to the list.
>> 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>
>> In your it should be /usr/src/kernels/2.6.32-220.el6.x86_64
>>
>> After you find the folder , give the command  "sudo ln -s
>> /usr/src/kernels/2.6.32-220.el6.x86_64 /lib/modules/2.6.32-220.el6.
>> x86_64/build"
>>
>> Regards
>> Sudip
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>>
>
>
> --
> ---
>
> < Chandan Jay Sharma >
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>


-- 
Thank you
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131205/55358749/attachment.html 


More information about the Kernelnewbies mailing list