>>> On Fri, Nov 2, 2007 at  5:18 PM, in message
<[EMAIL PROTECTED]>, Nigel Hislop
<[EMAIL PROTECTED]> wrote: 
> Hi folks.
> 
> I'm having a problem building this kernel.
> It's at 2.6.18-8.1.3.el5 level and, as far as I know, the source is at
> the original distributed level for this release. Am I missing any
> packages?

I guess the obligatory question has to be asked: Why are you trying to compile 
the kernel?  Why can't you use the one that Red Hat shipped?  If it's just to 
build a kernel module from source, you don't need to recompile the whole thing.

-snip-
> [EMAIL PROTECTED] 2.6.18-8.1.3.el5-s390x]# make
>   CHK     include/linux/version.h
>   CHK     include/linux/utsrelease.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

Did you do a "make config" or menuconfig, or oldconfig or cloneconfig first?

-snip-
> Is there some definitive documentation on how to build this kernel?
> I have not been able to find anything specific on the Red Hat site or
> elsewhere.

It shouldn't be significantly different from anyone else's.  What are you using 
for your source?  It should be kernel-2.6.18-8.1.3.el5.src.rpm, and you should 
be doing an "rpmbuild -ba kernel-2.6.spec" from the /usr/src/redhat/SPECS/ 
directory.


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to