On 01/27/2010 04:54 PM, Bharath Kumar wrote:
Dear All,
I installed a new kernel from the redhat repository :
cat /etc/yum.repos.d/rhel.repo
[rhel]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS
enabled=1
gpgcheck=0
[r...@mail 2.6.18-8.el5-PAE-i686]# make
scripts/kconfig/conf -s arch/i386/Kconfig
CHK include/linux/version.h
CHK include/linux/utsrelease.h
HOSTCC scripts/bin2c
CHK include/linux/compile.h
HOSTCC usr/gen_init_cpio
/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make[1]: *** [usr/gen_init_cpio] Error 1
make: *** [usr] Error 2
[r...@mail 2.6.18-8.el5-PAE-i686]# pwd
/usr/src/kernels/2.6.18-8.el5-PAE-i686
Do you have the kernel-devel and kernel-headers rpms installed ?
Here is a nice howto about creating custom kernels for Fedora, the steps should
apply for RHEL kernels too:
http://fedoraproject.org/wiki/Docs/CustomKernel
cheers,
- steve
--
random non tech spiel: http://lonetwin.blogspot.com/
tech randomness: http://lonehacks.blogspot.com/
what i'm stumbling into: http://lonetwin.stumbleupon.com/
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc