[Ilugc] New Kernel compilation error

  • From: bharath79in@xxxxxxxxxxxxxx (Bharath Kumar)
  • Date: Wed Jan 27 17:00:25 2010


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

[root@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
[root@mail 2.6.18-8.el5-PAE-i686]# pwd
/usr/src/kernels/2.6.18-8.el5-PAE-i686

Thanks in advance,
A.V. Bharath Kumar

Other related posts: