Seems "wthread" is broken. Any idea on how to fix this ?
It is on a Fedora 16 Box / Kernel 3.3.0-4.fc16.i686.PAE
Regards,
Oliver
----------------------------------------------------------------------------------------------------------------------------
[root@posbis trunk]# make
make -C usr
make[1]: Entering directory `/user1/software/ISCSI-TARGET/SVN/trunk/usr'
cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE
-c -o ietd.o ietd.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE
-c -o iscsid.o iscsid.c
iscsid.c: In function ‘text_scan_login’:
iscsid.c:290:8: warning: variable ‘err’ set but not used
[-Wunused-but-set-variable]
iscsid.c: In function ‘login_start’:
iscsid.c:389:15: warning: variable ‘alias’ set but not used
[-Wunused-but-set-variable]
cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE
-c -o conn.o conn.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE
-c -o session.o session.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE
-c -o target.o target.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE
-c -o message.o message.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE
-c -o ctldev.o ctldev.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE
-c -o log.o log.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE
-c -o chap.o chap.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE
-c -o event.o event.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE
-c -o param.o param.c
param.c: In function ‘minimum_check_val’:
param.c:99:6: warning: variable ‘err’ set but not used
[-Wunused-but-set-variable]
param.c: In function ‘maximum_check_val’:
param.c:111:6: warning: variable ‘err’ set but not used
[-Wunused-but-set-variable]
cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE
-c -o plain.o plain.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE
-c -o isns.o isns.c
isns.c: In function ‘print_scn_pdu’:
isns.c:596:49: warning: variable ‘sequence’ set but not used
[-Wunused-but-set-variable]
isns.c:596:36: warning: variable ‘transaction’ set but not used
[-Wunused-but-set-variable]
isns.c:596:29: warning: variable ‘flags’ set but not used
[-Wunused-but-set-variable]
isns.c:596:11: warning: variable ‘function’ set but not used
[-Wunused-but-set-variable]
isns.c: In function ‘qry_rsp_handle’:
isns.c:647:49: warning: variable ‘sequence’ set but not used
[-Wunused-but-set-variable]
isns.c:647:29: warning: variable ‘flags’ set but not used
[-Wunused-but-set-variable]
isns.c:647:11: warning: variable ‘function’ set but not used
[-Wunused-but-set-variable]
isns.c: In function ‘isns_handle’:
isns.c:755:49: warning: variable ‘sequence’ set but not used
[-Wunused-but-set-variable]
isns.c:755:36: warning: variable ‘transaction’ set but not used
[-Wunused-but-set-variable]
isns.c:755:29: warning: variable ‘flags’ set but not used
[-Wunused-but-set-variable]
isns.c:755:21: warning: variable ‘length’ set but not used
[-Wunused-but-set-variable]
isns.c:754:11: warning: variable ‘result’ set but not used
[-Wunused-but-set-variable]
isns.c: In function ‘isns_scn_handle’:
isns.c:855:49: warning: variable ‘sequence’ set but not used
[-Wunused-but-set-variable]
isns.c:855:29: warning: variable ‘flags’ set but not used
[-Wunused-but-set-variable]
isns.c:855:21: warning: variable ‘length’ set but not used
[-Wunused-but-set-variable]
cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE
-c -o md5.o md5.c
cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE
-c -o sha1.o sha1.c
cc ietd.o iscsid.o conn.o session.o target.o message.o ctldev.o log.o
chap.o event.o param.o plain.o isns.o md5.o sha1.o -o ietd
cc -O2 -fno-inline -Wall -Wstrict-prototypes -I../include -D_GNU_SOURCE
-c -o ietadm.o ietadm.c
cc ietadm.o param.o -o ietadm
make[1]: Leaving directory `/user1/software/ISCSI-TARGET/SVN/trunk/usr'
make -C /lib/modules/3.3.0-4.fc16.i686.PAE/build
SUBDIRS=/user1/software/ISCSI-TARGET/SVN/trunk/kernel modules
make[1]: Entering directory `/usr/src/kernels/3.3.0-4.fc16.i686.PAE'
CC [M] /user1/software/ISCSI-TARGET/SVN/trunk/kernel/tio.o
/user1/software/ISCSI-TARGET/SVN/trunk/kernel/tio.c: In function
‘tio_add_data’:
/user1/software/ISCSI-TARGET/SVN/trunk/kernel/tio.c:76:171: warning:
comparison of distinct pointer types lacks a cast [enabled by default]
/user1/software/ISCSI-TARGET/SVN/trunk/kernel/tio.c:83:150: warning:
comparison of distinct pointer types lacks a cast [enabled by default]
CC [M] /user1/software/ISCSI-TARGET/SVN/trunk/kernel/iscsi.o
CC [M] /user1/software/ISCSI-TARGET/SVN/trunk/kernel/nthread.o
CC [M] /user1/software/ISCSI-TARGET/SVN/trunk/kernel/wthread.o
/user1/software/ISCSI-TARGET/SVN/trunk/kernel/wthread.c: In function
‘worker_thread’:
/user1/software/ISCSI-TARGET/SVN/trunk/kernel/wthread.c:74:3: error:
implicit declaration of function ‘get_io_context’
[-Werror=implicit-function-declaration]
/user1/software/ISCSI-TARGET/SVN/trunk/kernel/wthread.c:74:21: warning:
assignment makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
make[2]: *** [/user1/software/ISCSI-TARGET/SVN/trunk/kernel/wthread.o]
Error 1
make[1]: *** [_module_/user1/software/ISCSI-TARGET/SVN/trunk/kernel] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.3.0-4.fc16.i686.PAE'
make: *** [kernel] Error 2
[root@posbis trunk]#
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Iscsitarget-devel mailing list
Iscsitar...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel
--
Lee Duncan
SUSE Labs
svn co https://iscsitarget.svn.sourceforge.net/svnroot/iscsitarget/trunk
Checked out revision 470.
Regards,
Oliver