Compiling CentOS kernel source -- error

"R. Martinez" <[email protected]> Tue, 6 Dec 2005 14:08:11 +0800
Newsgroups gmane.org.user-groups.linux.philippine.newbies
Message-ID <[email protected]>
Hi! I'm trying to compile the CentOS kernel source and I'm getting the
following error during make. Is there something I'm missing?


For 2.6.9-22.EL-i686 ---

[root@pinangat 2.6.9-22.EL-i686]# make
  CHK     include/linux/version.h
  CHK     include/asm-i386/asm_offsets.h
  HOSTCC  scripts/genksyms/genksyms.o
  HOSTCC  scripts/genksyms/lex.o
  HOSTCC  scripts/genksyms/parse.o
  HOSTLD  scripts/genksyms/genksyms
  CC      scripts/mod/empty.o
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
make[1]: *** No rule to make target `init/main.o', needed by
`init/built-in.o'.  Stop.
make: *** [init] Error 2
[root@pinangat 2.6.9-22.EL-i686]#



For 2.6.9-22.0.1.EL-i686 ----------------------
 [root@pinangat 2.6.9-22.0.1.EL-i686]# make
  CHK     include/linux/version.h
  CHK     include/asm-i386/asm_offsets.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
make[1]: *** No rule to make target `init/main.o', needed by
`init/built-in.o'.  Stop.
make: *** [init] Error 2
[root@pinangat 2.6.9-22.0.1.EL-i686]#
_________________________________________________________
Philippine Linux Users' Group (PLUG) Newbie Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph