Re: how can I get the kernel source codes of CentOS5.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Do you have installed kernel-devel package?

Ian jonhson  wrote / napísal(a):
I have downloaded the src.rpm according the wiki instructions.
however, when I executed

$ rpm -i kernel-2.6.18-92.1.10.el5.src.rpm

I got a lot of warnings and after the following command:

$ rpmbuild -bp --target=`uname -m` kernel-2.6.spec 2> prep-err.log |
tee prep-out.log

No files are created in BUILD directory. The prep-err.log said:

error: Failed build dependencies:
        unifdef is needed by kernel-2.6.18-92.1.10.el5.x86_64

My hardware is a 64bit machine. Are there something different in kernel version
32 and 64? or, something I miss?


Thanks again,

Ian


On Mon, Aug 25, 2008 at 8:39 PM, Akemi Yagi <amyagi@xxxxxxxxx> wrote:
On Mon, Aug 25, 2008 at 5:14 AM, Ian jonhson <jonhson.ian@xxxxxxxxx> wrote:
Hi,

My jobs need to recompile the kernel codes, but I don't know
how to yum the kernel source codes.

Any help?
First look in http://wiki.centos.org/HowTos/I_need_the_Kernel_Source

and then http://wiki.centos.org/HowTos/Custom_Kernel

Akemi
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux