Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 12-10-2010, 12:27 AM   #1
LQ Newbie
Registered: Dec 2010
Posts: 3

Rep: Reputation: 0
RHEL 6.0 Kernel Build issue

I have installed RHEL 6.0(30 days evaluation version) on my PC.It is working fine.
But I tried to compile source code,it is getting failed:

The method I followed to compile RHEL6.0 kernel Source are:

1) I take the package kernel-devel-2.6.32-71.el6.x86_64.rpm and extract it into my directory
2) From 2.6.32-71.el6.x86_64 directory,I executed make command
I got the following make error
" SYMLINK include/asm -> include/asm-x86
make[1]: *** No rule to make target `missing-syscalls'. Stop.
make: *** [prepare0] Error 2 "

please let me know how can I rectify this problem

Old 12-10-2010, 08:58 AM   #2
Senior Member
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
You need to get the src(source) rpm and not the devel rpm. The devel rpm is used to compile stuff against/for the kernel, not to compile the kernel. The source rpm will look EXACTLY like the binary rpm except it will have src in the name.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure & build kernel tree on kernel version 2.6.X(RHEL-5)? pops13 Linux - Software 1 08-14-2009 11:48 PM
kernel 2.6 on rhel 5 recompilation issue oppofwar Linux - Software 2 11-03-2008 03:22 PM
RHEL 5 basic build and a Build for Oracle 10g r2 bhoros Linux - Server 2 06-19-2008 03:09 PM
RHEL 4 update 2 - kernel build problem bbell Red Hat 3 04-20-2006 10:26 PM
Kernel Build Issue R4z0r Linux - Software 2 09-02-2004 12:15 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration