error: unknown field 'eh_timed_out' specified in initializer

8 views
Skip to first unread message

BrowseMan

unread,
Apr 18, 2006, 2:43:48 PM4/18/06
to Core-iSCSI
Hello,

First to thanks to all people witch support the hole ISCSI project..
great work. :]
And now to my problem. I run IETd on Debian with Core-iSCSI v1.6.2.5 &
Core-iSCSI-tools v3.3, and work perfectly on my SuSE 10 desktop, but I
have a problem with 10.1-devel and compile the initiator, this is the
error:
/iscsi/core-iscsi-v1.6.2.5 # make initiator
KERNEL_DIR=/usr/src/linux-2.6.16-20
make -C /usr/src/linux-2.6.16-20
SUBDIRS=/root/iscsi/core-iscsi-v1.6.2.5 modules
make[1]: Entering directory `/usr/src/linux-2.6.16-20'
CC [M]
/root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_debug_opcodes.o
CC [M] /root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_crc.o
CC [M] /root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_parameters.o
CC [M]
/root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_seq_and_pdu_list.o
CC [M] /root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_serial.o
CC [M]
/root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_thread_queue.o
CC [M] /root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_chanattrib.o
CC [M] /root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_channel.o
CC [M] /root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_discovery.o
CC [M] /root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_erl0.o
CC [M] /root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_erl1.o
CC [M] /root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_info.o
CC [M] /root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_ioctl.o
CC [M] /root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_linux.o
In file included from
/root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_linux.c:55:
/root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_linux_scsi_defs.h:57:
error: unknown field 'eh_timed_out' specified in initializer
/root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_linux_scsi_defs.h:57:
warning: initialization from incompatible pointer type
make[2]: *** [/root/iscsi/core-iscsi-v1.6.2.5/iscsi_initiator_linux.o]
Error 1
make[1]: *** [_module_/root/iscsi/core-iscsi-v1.6.2.5] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16-20'
make: *** [initiator] Error 2
I already apply the patch from this theme:Core-iSCSI v1.6.2.5 &
Core-iSCSI-tools v3.3 and it work, and remove the error that is
mentioned in it.
The version of GCC is 4.1.0 (SUSE Linux) and kernel version is
2.6.16-20 from the SuSE cd.

BrowseMan

unread,
Apr 21, 2006, 7:07:51 AM4/21/06
to Core-iSCSI
I found this http://www.tuxmachines.org/node/5648 where I saw this:
"PAE Xen kernel work when built with newer gcc.
- patches.fixes/megaraid-remove-eh_timed_out
- patches.fixes/scsi-move-eh_timed_out-to-transport-layer
Move eh_timed_out handling to transport layer (#156514)"
I think this is the reason for the error, from my last post. Can anyone
tell me a workaround for this error. I forgot to say that my version of
10.1 is SUSE Linux 10.1 RC1.

Reply all
Reply to author
Forward
0 new messages