Re: Make failed on Ubuntu9.10 with kernel_check, could anyone give me some suggestions except for building new kernel? :)

2009-12-15 Thread Mike Christie
vagrant wrote:
> 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

I have a new tarball. We are having trouble with the open-iscsi.org 
hosting. I uploaded here for now:
http://kernel.org/pub/linux/kernel/people/mnc/open-iscsi/releases/open-iscsi-2.0-871.1.tar.gz

--

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.




Re: Make failed on Ubuntu9.10 with kernel_check, could anyone give me some suggestions except for building new kernel? :)

2009-12-14 Thread vagrant
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  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
> :1621: warning: ‘yyunput’ defined but not used
> :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

Make failed on Ubuntu9.10 with kernel_check, could anyone give me some suggestions except for building new kernel? :)

2009-12-11 Thread vagrant
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
:1621: warning: ‘yyunput’ defined but not used
: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 -