[CentOS] iscsitarget-1.40.20 error during make in CentOS v6.1 x86_64bit

m.roth at 5-cent.us m.roth at 5-cent.us
Tue May 29 19:51:03 UTC 2012


chiong lawrence wrote:
> Hello,
>
> Need anyone's help regarding issues I encountered during make on
> iscsitarget-1.40.20 which I get from "svn co
> https://iscsitarget.svn.sourceforge.net/svnroot/iscsitarget/trunkiscsitarget"
> checkout revision 481
>
> Issues where found below after a series of my command, as shown:
>
> [junix at thesisQRMproject iscsitarget]$ make
> *cc:
> /lib/modules/2.6.32-131.21.1.el6.x86_64/build/include/linux/version.h:
> No such file or directory*
<snip>
> Tried check my current kernel version used and the kernel-devel and
> kernel-header that has been installed -
>
> [junix at thesisQRMproject iscsitarget]$ uname -r
> 2.6.32-131.21.1.el6.x86_64
>
> [junix at thesisQRMproject iscsitarget]$ rpm -qa | grep kernel
<snip>
> kernel-2.6.32-220.13.1.el6.x86_64
<snip>
> kernel-headers-2.6.32-131.2.1.el6.x86_64
> kernel-2.6.32-220.2.1.el6.x86_64
> kernel-2.6.32-131.21.1.el6.x86_64
> kernel-devel-2.6.32-220.13.1.el6.x86_64
> kernel-devel-2.6.32-131.2.1.el6.x86_64

You're compiling for kernel 2.6.32-131.21.1; you only have kernel-devel
for 32-131.2 aned 32-220.13.

       mark




More information about the CentOS mailing list