[elrepo] I Hope This Is A Newbie Question

Stu Statman sstatman at wirelessglue.com
Thu Jul 14 18:00:10 EDT 2011


On 7/14/11 2:41 PM, Manuel Wolfshant wrote:
> On 07/15/2011 12:35 AM, Stu Statman wrote:
>>
>> I knew that I'd have trouble with kernel-ml-headers because I took a 
>> stab at it before I sent my email. Reading up on it, it seems like 
>> I'm caught in a bind.
>>
>> 1. To install kernel-ml-headers, I need to remove kernel-headers.
>> 2. gcc depends on kernel-headers.
>> 3. So if I need to compile apps (using gcc) against the new headers, 
>> I am out of luck.
>>
>> Is this a correct assessment?
>>
> almost. just do a rpm -e --nodeps kernel-headers and yum install 
> kernel-ml-headers after that. it should work.
>
Okay, so along with all of that, I installed a new kernel, and modified 
grub.conf to use it.

[root at dess-aopen1 2.6.39-3.el5.elrepo-i686]# uname -a
Linux dess-aopen1 2.6.39-3.el5.elrepo #1 SMP PREEMPT Mon Jul 11 12:34:29 
EDT 2011 i686 i686 i386 GNU/Linux

[root at dess-aopen1 wgn]# cd /usr/src/kernels/2.6.39-3.el5.elrepo-i686/

[root at dess-aopen1 2.6.39-3.el5.elrepo-i686]# make headers_install
CHK     include/linux/version.h
/usr/src/kernels/2.6.39-3.el5.elrepo-i686/scripts/Makefile.headersinst:14: 
/usr/src/kernels/2.6.39-3.el5.elrepo-i686/include/Kbuild: No such file 
or directory
make[1]: *** No rule to make target 
`/usr/src/kernels/2.6.39-3.el5.elrepo-i686/include/Kbuild'.  Stop.
make: *** [headers_install] Error 2

I touched include/Kbuild, and that seemed to do something with asm, but 
I still can't get sockets.h to move.

S



More information about the elrepo mailing list