Make error on centos 6.0
Dear All,
We trying to run a make command and get below errors. Checked /lib/modules/2.6.32-71.el6.i686/build and it exist what else to check or need to be installed? Code:
make -C /lib/modules/2.6.32-71.el6.i686/build SUBDIRS=/home/test1/PF_RING-5.4.3/kernel EXTRA_CFLAGS='-I/home/test1/PF_RING-5.4.3/kernel -DSVN_REV="\"exported\""' modules |
Hi,
The /lib/modules/<kernel-version>/build is a symlink to /usr/src/kernel-version>, so I guess you miss the kernel sources. You need to install the kernel development package of your distro and running kernel version Regards |
And : Updating the kernel is required too.
Only the latest 'kernel-devel' is available with yum. ( The versions of kernel, kernel-devel must be identical.) '2.6.32-71.el6' is an old version. Current is : 'kernel-devel-2.6.32-279.14.1.el6'. http://mirror.centos.org/centos/6.3/...i386/Packages/ # yum install kernel kernel-devel ... And then reboot to use the new kernel. . |
Dear All,
Thank you I will follow accordingly else will upgrade to centos 6.2 I guess is the best right. Thank you. |
All times are GMT -5. The time now is 10:50 AM. |