[stgt] cant compile kmod modules for scsi target on fc 12

Ralph Blach chipper19522 at gmail.com
Fri Apr 30 19:51:58 CEST 2010


i guys,

I have an x86_64 system at kernel version inux version 2.6.32.11-99.fc12.x86_64 (mockbuild at x86-02.phx2.fedoraproject.org) (gcc version 4.4.3 20100127 (Red Hat 4.4.3-4) (GCC) ) #1 SMP Mon Apr 5 19:59:38 UTC 2010

I have download the iscsi kmod modules and tried to compile it.  It fails

CC [M]  /root/rpmbuild/BUILD/iscsitarget-kmod-1.4.18/_kmod_build_2.6.32.11-99.fc12.x86_64/kernel/file-io.o
/root/rpmbuild/BUILD/iscsitarget-kmod-1.4.18/_kmod_build_2.6.32.11-99.fc12.x86_64/kernel/file-io.c: In function ‘fileio_sync’:
/root/rpmbuild/BUILD/iscsitarget-kmod-1.4.18/_kmod_build_2.6.32.11-99.fc12.x86_64/kernel/file-io.c:91: error: implicit declaration of function ‘sync_page_range’
make[2]: *** [/root/rpmbuild/BUILD/iscsitarget-kmod-1.4.18/_kmod_build_2.6.32.11-99.fc12.x86_64/kernel/file-io.o] Error 1
make[1]: *** [_module_/root/rpmbuild/BUILD/iscsitarget-kmod-1.4.18/_kmod_build_2.6.32.11-99.fc12.x86_64/kernel] Error 2

In the kernel, sync_page_range, seems to have been removed.

Where do I get the latest source for the iscis target code that is fixed for the latest kernel.

Thanks

Chip
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list