#189 4.0.2: iscsi-attr.c:136: error: dereferencing pointer to inc

open
nobody
None
5
2006-02-06
2006-02-06
Noël Köthe
No

Hello,

runing amd64 Debian sarge:

sysfs version is 1.2.0

# uname -a
Linux server 2.6.8-11-em64t-p4-smp #1 SMP Mon Oct 3
00:07:51 CEST 2005 x86_64 GNU/Linux

server:/usr/src/linux-iscsi-4.0.2# LC_ALL=C make

Note: using kernel source from
/lib/modules/2.6.8-11-em64t-p4-smp/build
containing kernel version 2.6.8

Note: using kernel config from
/lib/modules/2.6.8-11-em64t-p4-smp/build/.config

make[1]: Entering directory
`/usr/src/kernel-headers-2.6.8-11-em64t-p4-smp'
CC [M]
/usr/src/linux-iscsi-4.0.2/driver/iscsi-initiator.o
CC [M] /usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.o
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c: In
function `iscsi_get_tsih':
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:136:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:136:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c: In
function `iscsi_get_initial_r2t':
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:137:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:137:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c: In
function `iscsi_get_immediate_data':
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:138:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:138:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c: In
function `iscsi_get_header_digest':
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:139:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:139:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c: In
function `iscsi_get_data_digest':
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:140:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:140:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c: In
function `iscsi_get_max_burst_len':
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:141:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:141:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c: In
function `iscsi_get_first_burst_len':
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:142:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:142:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c: In
function `iscsi_get_max_recv_data_segment_len':
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:143:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:143:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c: In
function `iscsi_get_target_name':
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:155:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c: In
function `iscsi_get_target_alias':
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:156:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c: In
function `iscsi_get_ip_address':
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:161:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:168:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:169:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:169:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c: In
function `iscsi_get_port':
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:176:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:180:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c: In
function `iscsi_get_tpgt':
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:186:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:189:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c: In
function `iscsi_get_isid':
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:195:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:197:
error: dereferencing pointer to incomplete type
/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.c:197:
error: dereferencing pointer to incomplete type
make[2]: ***
[/usr/src/linux-iscsi-4.0.2/driver/iscsi-attr.o] Error 1
make[1]: ***
[_module_/usr/src/linux-iscsi-4.0.2/driver] Error 2
make[1]: Leaving directory
`/usr/src/kernel-headers-2.6.8-11-em64t-p4-smp'
make: *** [module] Error 2

Discussion