It seems to be related to below url:
http://groups.google.com/group/open-iscsi/browse_thread/thread/06e3bf8da91c466a
A bug was logged and was similar to below descriptions:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/289470
Mark it as duplicate :)
Regards,
On Dec 11, 10:13 pm, vagrant yuchao1...@gmail.com wrote:
open-scsi version: open-iscsi-2.0-871
os enviroment: ubuntu-9.10
kernel version: 2.6.31-15-generic
Details below and thanks a lot. :)
make -C kernel
make[1]: Entering directory `/home/vagrant/Downloads/open-
iscsi-2.0-871/kernel'
make[1]: *** No rule to make target `linux_2_6_31', needed by
`kernel_check'. Stop.
make[1]: Leaving directory `/home/vagrant/Downloads/open-iscsi-2.0-871/
kernel'
make: *** [kernel] Error 2
vagr...@vagrant-laptop:~/Downloads/open-iscsi-2.0-871$ make
make -C utils/sysdeps
make[1]: Entering directory `/home/vagrant/Downloads/open-
iscsi-2.0-871/utils/sysdeps'
cc -O2 -fno-inline -Wall -Wstrict-prototypes -g -c -o sysdeps.o
sysdeps.c
make[1]: Leaving directory `/home/vagrant/Downloads/open-iscsi-2.0-871/
utils/sysdeps'
make -C utils/fwparam_ibft
make[1]: Entering directory `/home/vagrant/Downloads/open-
iscsi-2.0-871/utils/fwparam_ibft'
cc -O2 -g -fPIC -Wall -Wstrict-prototypes -I../../include -I../../
usr -c -o fw_entry.o fw_entry.c
cc -O2 -g -fPIC -Wall -Wstrict-prototypes -I../../include -I../../
usr -c -o fwparam_ibft_sysfs.o fwparam_ibft_sysfs.c
cc -O2 -g -fPIC -Wall -Wstrict-prototypes -I../../include -I../../
usr -c -o prom_lex.o prom_lex.c
stdout:1621: warning: ‘yyunput’ defined but not used
stdout:1662: warning: ‘input’ defined but not used
cc -O2 -g -fPIC -Wall -Wstrict-prototypes -I../../include -I../../
usr -c -o prom_parse.tab.o prom_parse.tab.c
cc -O2 -g -fPIC -Wall -Wstrict-prototypes -I../../include -I../../
usr -c -o fwparam_ppc.o fwparam_ppc.c
fwparam_ppc.c: In function ‘loop_devs’:
fwparam_ppc.c:358: warning: passing argument 4 of ‘qsort’ from
incompatible pointer type
/usr/include/stdlib.h:710: note: expected ‘__compar_fn_t’ but argument
is of type ‘int (*)(const char **, const char **)’
make[1]: Leaving directory `/home/vagrant/Downloads/open-iscsi-2.0-871/
utils/fwparam_ibft'
make -C usr
make[1]: Entering directory `/home/vagrant/Downloads/open-
iscsi-2.0-871/usr'
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE -c -o util.o util.c
util.c: In function ‘daemon_init’:
util.c:39: warning: ignoring return value of ‘chdir’, declared with
attribute warn_unused_result
util.c: In function ‘oom_adjust’:
util.c:47: warning: ignoring return value of ‘nice’, declared with
attribute warn_unused_result
util.c:53: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result
util.c:54: warning: ignoring return value of ‘write’, declared with
attribute warn_unused_result
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE -c -o io.o io.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE -c -o auth.o auth.c
auth.c: In function ‘get_random_bytes’:
auth.c:198: warning: ignoring return value of ‘read’, declared with
attribute warn_unused_result
auth.c:206: warning: ignoring return value of ‘read’, declared with
attribute warn_unused_result
auth.c:214: warning: ignoring return value of ‘read’, declared with
attribute warn_unused_result
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE -c -o login.o login.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE -c -o log.o log.c
log.c:333: warning: ‘__dump_char’ defined but not used
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE -c -o md5.o md5.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE -c -o sha1.o sha1.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE -c -o iface.o iface.c
iface.c:311: warning: ‘iface_get_next_id’ defined but not used
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE -c -o idbm.o idbm.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE -c -o sysfs.o sysfs.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE -c -o host.o host.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE -c -o session_info.o session_info.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE -c -o iscsi_sysfs.o iscsi_sysfs.c
cc -O2 -g -Wall