Hello Mark, Thanks for your help. Error has been resolved. I'm now in a right place. Keep it up! Kind regards, lawrence On Tue, May 29, 2012 at 1:51 PM, <m.roth at 5-cent.us> wrote: > 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 > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >