If you use the guidelines that <span id="_user_amyagi@gmail.com" style="color: rgb(121, 6, 25);">Akemi listed</span>, depending on what you enable (like filesystems), you will have to make modifications to the SPEC file, or I would recomend you grabbing the centos-plus source and working from there.  Johnny has already corrected that SPEC source and it will make your process much easier, although it enables all of the items that are listed in the centos-plus kernel..
<br><br><div><span class="gmail_quote">On 5/7/07, <b class="gmail_sendername">Brijesh Shukla</b> <<a href="mailto:shukla.brijesh@gmail.com">shukla.brijesh@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Could any one let me know how can I compile & build CentOS kernel.</div>
<div>In redhat Linux the kernel source ia available under /usr/src/linux</div>
<div>But in CentOS i am getting two directories named as</div>
<div>Kernels and redhat under /usr/src</div>
<div>the directory /usr/src/redhat is having again four subdirectory without any contents name as BUILD, RPMS, SPECS, SRPM </div>
<div>And </div>
<div>/usr/src/kenrnels is having the the directory 2.6.9-42.EL-hugemem-i686, 2.6.9-42.EL-i686, 2.6.9-42.EL-smp-i686</div>
<div> </div>
<div>I dig the directory source 2.6.9-42.EL-i686, when I am executing make command after make menuconfig,</div>
<div>I am getting error as "include/asm-i386/asm_offsets.h -- no such file or directory..</div>
<div> </div>
<div> I am not sure wheather i am doing the right operation?</div>
<div> </div>
<div>Could any body suggest me any How to or step by step guide for CentOS kernel compilation</div>
<div> </div>
<div>Thanks in advance</div><span class="sg">
<div>Brijesh Shukla</div>
<div> </div>
</span><br>_______________________________________________<br>CentOS mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">
http://lists.centos.org/mailman/listinfo/centos</a><br><br></blockquote></div><br>