core-iscsi won't compile under kernel 2.6.17

3 views
Skip to first unread message

Albert Pauw

unread,
Jun 27, 2006, 4:12:27 AM6/27/06
to Core-iSCSI
As Fedora Core 5 updated to a new kernel recently (2.6.17-1.2139_FC5) I
had to recompile the modules. Unfortunately, core-iscsi won't compile
under this new kernel. It looks like there have been some changes in
the scsi header files:

CC [M]
/usr/src/redhat/BUILD/core-iscsi-v1.6.2.7/iscsi_initiator_linux.o
In file included from
/usr/src/redhat/BUILD/core-iscsi-v1.6.2.7/iscsi_initiator_linux.c:55:
/usr/src/redhat/BUILD/core-iscsi-v1.6.2.7/iscsi_initiator_linux_scsi_defs.h:57:
error: unknown field 'eh_timed_out' specified in initializer
/usr/src/redhat/BUILD/core-iscsi-v1.6.2.7/iscsi_initiator_linux_scsi_defs.h:57:
warning: initialization from incompatible pointer type
/usr/src/redhat/BUILD/core-iscsi-v1.6.2.7/iscsi_initiator_linux_scsi_defs.h:58:
error: unknown field 'eh_strategy_handler' specified in initializer
/usr/src/redhat/BUILD/core-iscsi-v1.6.2.7/iscsi_initiator_linux_scsi_defs.h:58:
warning: initialization from incompatible pointer type
make[2]: ***
[/usr/src/redhat/BUILD/core-iscsi-v1.6.2.7/iscsi_initiator_linux.o]
Error 1
make[1]: *** [_module_/usr/src/redhat/BUILD/core-iscsi-v1.6.2.7] Error
2
make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2139_FC5-i686'
make: *** [initiator] Error 2

Albert

Reply all
Reply to author
Forward
0 new messages