[CentOS] how can I get the kernel source codes of CentOS5.2
Akemi Yagi
amyagi at gmail.com
Wed Sep 3 01:09:46 UTC 2008
On Tue, Sep 2, 2008 at 5:51 PM, Kevin Krieser <k_krieser at sbcglobal.net> wrote:
>
> On Aug 26, 2008, at 12:36 PM, Akemi Yagi wrote:
>>
>> Alan and I are now talking about this so we can amend the Wiki article
>> appropriately. According to him, unifdef is not required on his
>> 32-bit system. I will update on this subject as soon as I gather more
>> info.
>
> I've needed it on RHEL 5 systems before I could build the kernel source on
> 32 bit systems. I probably did with CentOS too, but I don't recall for
> sure.
I should have updated this thread earlier. I have confirmed that
unifdef is required when building kernels for x86_64 but not for i686.
It's in the kernel .spec file:
# no need to build headers again for these arches,
# they can just use i386 and ppc64 headers
%ifarch i586 i686 ppc64iseries
%define with_headers 0
%endif
and this:
%if %{with_headers}
BuildRequires: unifdef
%endif
We have since updated the Wiki article accordingly. Thank you all for
your participation.
Akemi
More information about the CentOS
mailing list