You do not appear to have the sources for the 2.6.18-274.7.1.el5.028stab095.1 kernel
I am trying to install dahdi-linux-complete-2.6.1+2.6.1 and get the following error when I 'make':
Code:
make -C linux all Code:
2.6.18-274.7.1.el5.028stab095.1 Code:
kernel-headers-2.6.18-308.4.1.el5 Can you please help with this, thank you |
This:
Quote:
Quote:
|
Quote:
am running centos 5.8 in openvz, so I tried following but didn't work: Code:
rpm -ivh http://download.openvz.org/kernel/branches/rhel5-2.6.18/028stab095.1/ovzkernel-2.6.18-274.7.1.el5.028stab095.1.src.rpm # uname -a ; rpm -qa kernel\* | sort Code:
Linux [HOSTNAME].[DELETED] 2.6.18-274.7.1.el5.028stab095.1 #1 SMP Mon Oct 24 20:49:24 MSD 2011 i686 i686 i386 GNU/Linux Sorry my friends if this is a "so newbie" questions, i've been using linux for less than a year as a web servers and am not yet used to it but with the help of this great forums and getting some good books for command line and shell scripting i will soon catch up with you :) thanks |
Quote:
Quote:
|
why the heck are you doing this
Quote:
for cent 5.8 run Code:
yum update Code:
yum install kernel-devel there are many MANY scripts that need to run AFTER a kernel is replaced please READ the rhel documentation and the CentOS wiki https://access.redhat.com/knowledge/...erprise_Linux/ -- the wiki is a MUST READ !!! -- http://wiki.centos.org/ |
Quote:
this is not a physical machine, its virtual server using openvz container in a node, and there is single shared kernel for all VPS'es on the node. before a while i needed to install gcc compiler and couldn't, then i found the exclusion "/etc/yum.conf:exclude=kernel* glib*" so i removed both exclusion, and then compiler installed successfully. and now i made yum update, yum install the latest package by default so devel and header got updated but the kernel is locked on the shared kernel "2.6.18-274.7.1.el5.028stab095.1" so i need to get source, headers and devel for that version of kernel. and i don't know how. Edit: problem solved, the following package Code:
rpm -ivh http://download.openvz.org/kernel/branches/rhel5-2.6.18/028stab095.1/ovzkernel-devel-2.6.18-274.7.1.el5.028stab095.1.i686.rpm Thank you all :) |
Resurrecting the dead!
Hi;
I find myself in the same situation with the same error. So, just to be clear, the sources that are being referenced are *NOT* on the virtual machine, they are on the main machine. So, the host OS must have these kernel sources for this to be resolved? Am I correct in this assumption? Thanks - Glen Quote:
|
All times are GMT -5. The time now is 09:04 AM. |