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 -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE   -c -o netlink.o netlink.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE   -c -o initiator.o initiator.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE   -c -o scsi.o scsi.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE   -c -o actor.o actor.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE   -c -o event_poll.o event_poll.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE   -c -o mgmt_ipc.o mgmt_ipc.c
mgmt_ipc.c: In function ‘mgmt_ipc_write_rsp’:
mgmt_ipc.c:457: 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 isns.o isns.c
isns.c: In function ‘build_dev_reg_req’:
isns.c:146: warning: dereferencing pointer ‘lss.30’ does break strict-
aliasing rules
isns.c:146: note: initialized from here
isns.c:153: warning: dereferencing pointer ‘lss.30’ does break strict-
aliasing rules
isns.c:153: note: initialized from here
isns.c:157: warning: dereferencing pointer ‘lss.33’ does break strict-
aliasing rules
isns.c:157: note: initialized from here
isns.c: In function ‘isns_init’:
isns.c:685: warning: dereferencing pointer ‘lss.97’ does break strict-
aliasing rules
isns.c:685: note: initialized from here
isns.c:687: warning: dereferencing pointer ‘lss.99’ does break strict-
aliasing rules
isns.c:687: note: initialized from here
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE   -c -o cxgb3i.o cxgb3i.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE   -c -o transport.o transport.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE   -c -o iscsid.o iscsid.c
iscsid.c: In function ‘main’:
iscsid.c:437: warning: ignoring return value of ‘chdir’, declared with
attribute warn_unused_result
iscsid.c:443: warning: ignoring return value of ‘ftruncate’, declared
with attribute warn_unused_result
iscsid.c:445: 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 util.o io.o auth.o login.o log.o md5.o
sha1.o iface.o idbm.o sysfs.o host.o session_info.o iscsi_sysfs.o ../
utils/sysdeps/sysdeps.o netlink.o initiator.o scsi.o actor.o
event_poll.o mgmt_ipc.o isns.o cxgb3i.o transport.o iscsid.o -o iscsid
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE   -c -o strings.o strings.c
strings.c: In function ‘enlarge_data’:
strings.c:83: warning: format ‘%lu’ expects type ‘long unsigned int’,
but argument 3 has type ‘size_t’
strings.c:83: warning: format ‘%lu’ expects type ‘long unsigned int’,
but argument 4 has type ‘size_t’
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE   -c -o discovery.o discovery.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE   -c -o iscsiadm.o iscsiadm.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE util.o io.o auth.o login.o log.o md5.o
sha1.o iface.o idbm.o sysfs.o host.o session_info.o iscsi_sysfs.o ../
utils/sysdeps/sysdeps.o ../utils/fwparam_ibft/fw_entry.o ../utils/
fwparam_ibft/fwparam_ibft_sysfs.o ../utils/fwparam_ibft/
fwparam_ppc.o ../utils/fwparam_ibft/prom_lex.o ../utils/fwparam_ibft/
prom_parse.tab.o strings.o discovery.o iscsiadm.o -o iscsiadm
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE   -c -o iscsistart.o iscsistart.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE   -c -o statics.o statics.c
cc -O2 -g -Wall -Wstrict-prototypes -I../include -I. -DLinux -
DNETLINK_ISCSI=8 -D_GNU_SOURCE -static netlink.o util.o io.o auth.o
login.o log.o md5.o sha1.o iface.o idbm.o sysfs.o host.o
session_info.o iscsi_sysfs.o ../utils/sysdeps/sysdeps.o initiator.o
scsi.o actor.o event_poll.o mgmt_ipc.o isns.o cxgb3i.o transport.o ../
utils/fwparam_ibft/fw_entry.o ../utils/fwparam_ibft/
fwparam_ibft_sysfs.o ../utils/fwparam_ibft/fwparam_ppc.o ../utils/
fwparam_ibft/prom_lex.o ../utils/fwparam_ibft/prom_parse.tab.o
iscsistart.o statics.o -o iscsistart
login.o: In function `resolve_address':
/home/vagrant/Downloads/open-iscsi-2.0-871/usr/login.c:168: warning:
Using 'getaddrinfo' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
make[1]: Leaving directory `/home/vagrant/Downloads/open-iscsi-2.0-871/
usr'
make -C utils
make[1]: Entering directory `/home/vagrant/Downloads/open-
iscsi-2.0-871/utils'
cc  -O2 -fno-inline -Wall -Wstrict-prototypes -g   -c -o md5.o md5.c
cc  -O2 -fno-inline -Wall -Wstrict-prototypes -g   -c -o iscsi-iname.o
iscsi-iname.c
cc  -O2 -fno-inline -Wall -Wstrict-prototypes -g md5.o iscsi-iname.o  -
o iscsi-iname
make[1]: Leaving directory `/home/vagrant/Downloads/open-iscsi-2.0-871/
utils'

Compilation complete                 Output file
-----------------------------------  ----------------
Built iSCSI daemon:                  usr/iscsid
Built management application:        usr/iscsiadm
Built boot tool:                     usr/iscsistart

Read README file for detailed information.
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

--

You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.


Reply via email to