[Stgt-devel] Can't compile the git version
Albert Pauw
albert.pauw
Fri Aug 31 20:41:55 CEST 2007
I saw that there was an update in the repository so I updated my git
version of tgt (git-pull),
as I always do.
Unfortunately, this new version it will not compile anymore.
Did something get messed up in the repository as of today (August 31st)?
Tried to make a new clone on my machine, but that didn't work either.
Albert
Here are the errors:
tgtif.c:39:30: error: scsi/scsi_tgt_if.h: No such file or directory
tgtif.c: In function 'head_ring_hdr':
tgtif.c:68: error: invalid application of 'sizeof' to incomplete type
'struct tgt_event'
tgtif.c: In function 'kreq_send':
tgtif.c:78: error: dereferencing pointer to incomplete type
tgtif.c:83: error: dereferencing pointer to incomplete type
tgtif.c:85: error: dereferencing pointer to incomplete type
tgtif.c: In function 'kspace_send_tsk_mgmt_res':
tgtif.c:93: error: storage size of 'ev' isn't known
tgtif.c:97: error: 'TGT_UEVENT_TSK_MGMT_RSP' undeclared (first use in
this function)
tgtif.c:97: error: (Each undeclared identifier is reported only once
tgtif.c:97: error: for each function it appears in.)
tgtif.c:93: warning: unused variable 'ev'
tgtif.c: In function 'kspace_send_cmd_res':
tgtif.c:119: error: storage size of 'ev' isn't known
tgtif.c:128: error: 'TGT_UEVENT_CMD_RSP' undeclared (first use in this
function)
tgtif.c:119: warning: unused variable 'ev'
tgtif.c: In function 'kern_queue_cmd':
tgtif.c:148: error: dereferencing pointer to incomplete type
tgtif.c:150: error: dereferencing pointer to incomplete type
tgtif.c:158: error: dereferencing pointer to incomplete type
tgtif.c:162: error: dereferencing pointer to incomplete type
tgtif.c:164: error: dereferencing pointer to incomplete type
tgtif.c:166: error: dereferencing pointer to incomplete type
tgtif.c:168: error: dereferencing pointer to incomplete type
tgtif.c:170: error: dereferencing pointer to incomplete type
tgtif.c:171: error: dereferencing pointer to incomplete type
tgtif.c:172: error: dereferencing pointer to incomplete type
tgtif.c: In function 'kern_cmd_done':
tgtif.c:189: error: dereferencing pointer to incomplete type
tgtif.c:191: error: dereferencing pointer to incomplete type
tgtif.c:196: error: dereferencing pointer to incomplete type
tgtif.c:196: error: dereferencing pointer to incomplete type
tgtif.c:201: error: dereferencing pointer to incomplete type
tgtif.c:201: error: dereferencing pointer to incomplete type
tgtif.c: In function 'kspace_send_it_nexus_res':
tgtif.c:208: error: storage size of 'ev' isn't known
tgtif.c:212: error: 'TGT_UEVENT_IT_NEXUS_RSP' undeclared (first use in
this function)
tgtif.c:208: warning: unused variable 'ev'
tgtif.c: In function 'kern_it_nexus_request':
tgtif.c:224: error: dereferencing pointer to incomplete type
tgtif.c:225: error: dereferencing pointer to incomplete type
tgtif.c:227: error: dereferencing pointer to incomplete type
tgtif.c: In function 'kern_mgmt_request':
tgtif.c:246: error: dereferencing pointer to incomplete type
tgtif.c:248: error: dereferencing pointer to incomplete type
tgtif.c:253: error: dereferencing pointer to incomplete type
tgtif.c:254: error: dereferencing pointer to incomplete type
tgtif.c:255: error: dereferencing pointer to incomplete type
tgtif.c:256: error: dereferencing pointer to incomplete type
tgtif.c:257: error: dereferencing pointer to incomplete type
tgtif.c:258: error: dereferencing pointer to incomplete type
tgtif.c: In function 'kern_event_handler':
tgtif.c:266: error: dereferencing pointer to incomplete type
tgtif.c:269: error: dereferencing pointer to incomplete type
tgtif.c:271: error: dereferencing pointer to incomplete type
tgtif.c:272: error: 'TGT_KEVENT_CMD_REQ' undeclared (first use in this
function)
tgtif.c:275: error: 'TGT_KEVENT_CMD_DONE' undeclared (first use in this
function)
tgtif.c:278: error: 'TGT_KEVENT_IT_NEXUS_REQ' undeclared (first use in
this function)
tgtif.c:281: error: 'TGT_KEVENT_TSK_MGMT_REQ' undeclared (first use in
this function)
tgtif.c:285: error: dereferencing pointer to incomplete type
tgtif.c:288: error: dereferencing pointer to incomplete type
tgtif.c: In function 'kreq_init':
tgtif.c:333: error: 'TGT_RING_SIZE' undeclared (first use in this function)
tgtif.c:351: error: invalid application of 'sizeof' to incomplete type
'struct tgt_event'
tgtif.c:351: warning: division by zero
make: *** [tgtif.o] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/stgt-devel/attachments/20070831/4666e87e/attachment.html
More information about the stgt
mailing list