- Subject: Re: RHEL 6.0 source code build error
- From: Rick Stevens <ricks@xxxxxxxx>
- Date: Fri, 10 Dec 2010 09:55:28 -0800
- In-reply-to: <4D01C70A.6030605@xxxxxxxxxxxxxxx>
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.6
On 12/09/2010 10:22 PM, ShibuThomas wrote:
Hi All,
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
Note that kernel-devel RPMs are NOT the kernel source code, but rather
the makefiles and such necessary to build modules AGAINST the kernel,
for example, a new device driver of some sort.
If you want the kernel source code RPM (the actual kernel source), then
you must download "kernel-2.6.32-71.el6.src.rpm", install it, then use
rpmbuild to configure and build it.
It appears you've never done this, and the instructions to build a
kernel from the source RPM are a bit more complex that I'd care to go
into here. I suggest you install rpmbuild and read the manpages for it
or find resources on the web about rpmbuild before you go and try to
build a kernel.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting ricks@xxxxxxxx -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- UNIX is actually quite user friendly. The problem is that it's -
- just very picky of who its friends are! -
----------------------------------------------------------------------
_______________________________________________
Redhat-install-list mailing list
Redhat-install-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@xxxxxxxxxx
Subject: unsubscribe
[Red Hat Kickstart]
[Fedora Users]
[Red Hat General]
[Red Hat Development]
[Samba]
[Kernel]
[Kernel Newbies]
[Hot Springs]
[Yosemite News]