Subject: | |
From: | |
Reply To: | EXT-Askew, R W |
Date: | Wed, 30 May 2012 09:36:52 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Akemi
Thanks for the link those are great HowTos. I double checked and have the packages installed.
I think the issue is that the kernel source rpm I downloaded (kernel-2.6.32.220.17.1.el6.src.rpm) from the SL 6.2 SRPM is missing some files. Here is a snippet of the errors I get when running make mrproper and make.
make mrproper
scripts/Makefile.clean:17: /home/raskew1/R15/OS_Slinux/PCS_Source_Files/PS2/Common/2.6.32-220.el6.x86_64.pcs/drivers/infiniband/hw/amso1100/Makefile: No such file or directory
make[3]: *** No rule to make target `/home/raskew1/R15/OS_Slinux/PCS_Source_Files/PS2/Common/2.6.32-220.el6.x86_64.pcs/drivers/infiniband/hw/amso1100/Makefile'.
make[3]: Failed to remake makefile `/home/raskew1/R15/OS_Slinux/PCS_Source_Files/PS2/Common/2.6.32-220.el6.x86_64.pcs/drivers/infiniband/hw/amso1100/Makefile'.
make[2]: *** [drivers/infiniband/hw/amso1100] Error 2
make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
make[1]: *** No rule to make target `missing-syscalls'.
make: *** [prepare0] Error 2
SHIPPED scripts/genksyms/lex.c
SHIPPED scripts/genksyms/parse.h
SHIPPED scripts/genksyms/keywords.c
HOSTCC scripts/genksyms/lex.o
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/mod/mod-extract
HOSTCC scripts/selinux/genheaders/genheaders
scripts/selinux/genheaders/genheaders.c:13:22: error: classmap.h: No such file or directory
scripts/selinux/genheaders/genheaders.c:14:35: error: initial_sid_to_string.h: No such file or directory
Also no /usr/src/redhat directory exists after installing (kernel-2.6.32.220.17.1.el6.src.rpm) like I would see if this was a redhat packaged kernel source rpm. Should I?
-- Bill
-----Original Message-----
From: Akemi Yagi [mailto:[log in to unmask]]
Sent: Wednesday, May 30, 2012 10:09 AM
To: EXT-Askew, R W
Cc: [log in to unmask]
Subject: Re: Which kernel SRPMS should I get for SL 6.2
On Wed, May 30, 2012 at 7:54 AM, Bill Askew <[log in to unmask]> wrote:
> Hi All
>
> I am using SL 6.2 64 bit and need the kernel source. Based on the uname
> information I downloaded SRPM kernel-2.6.32.220.17.1.el6.src.rpm however
> when I try to do a build it seems that some files are missing.
>
> My question is, what else should I be grabbing to get a complete kernel
> source tree for SL 6.2.
In addition to the "regular" development tools like gcc and make, you
will need some additional packages to build SL-6 kernels. For example,
hmaccalc
zlib-devel
binutils-devel
elfutils-libelf-devel
More details on how to build custom kernels, please see:
http://wiki.centos.org/HowTos/Custom_Kernel
It should work for SL kernels.
Akemi
|
|
|