[Stgt-devel] tgtif.c doesn't compile

Douglas Gilbert dougg
Thu Apr 12 22:11:28 CEST 2007


cc -DIBMVIO -DUSE_KERNEL -Wall -g -O2 -Wstrict-prototypes -fPIC -D_LARGEFILE64_SOURCE -I../include -I/usr/src/linux/include -I.   -c -o tgtif.o tgtif.c
tgtif.c: In function ?kspace_send_cmd_res?:
tgtif.c:116: error: ?struct <anonymous>? has no member named ?sense_len?
tgtif.c:117: error: ?struct <anonymous>? has no member named ?sense_uaddr?
tgtif.c: In function ?kern_queue_cmd?:
tgtif.c:137: warning: pointer targets in assignment differ in signedness

The sense_len, sense_uaddr fields are not in scsi/scsi_tgt_if.h
in Linus, linux-2.6-block.git,bsg, or linux-2.6-target kernels.
Where else should I be looking?

Doug Gilbert



More information about the stgt mailing list