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@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@thesisQRMproject iscsitarget]$ uname -r 2.6.32-131.21.1.el6.x86_64
[junix@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