Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2011 18:11:09 +0300
From:      Toomas Aas <toomas.aas@raad.tartu.ee>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: iscsi-2.3.1 on FreeBSD 7.3
Message-ID:  <20110518181109.40330buw2cn4gya0@webmail.raad.tartu.ee>
In-Reply-To: <E1QMcqb-000DON-2N@cs.huji.ac.il>
References:  <20110517223221.42331bryjddv87y8@webmail.raad.tartu.ee> <E1QMcqb-000DON-2N@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Danny!


> I haven't tested on 7.x for a long time, but the patch included should solve
> the missing routine problem:

Thanks for the patch, however the patched isc_subr.c does not compile:

cc -O2 -fno-strict-aliasing -pipe -march=nocona  
-DISCSI_INITIATOR_DEBUG=2 -DINVARIANTS  -D_KERNEL -DKLD_MODULE  
-std=c99 -nostdinc  -I/usr/src/sys/modules/iscsi/initiator/../../..  
-DHAVE_KERNEL_OPTION_HEADERS -include  
/usr/obj/usr/src/sys/HEEROLD/opt_global.h -I. -I@ -I@/contrib/altq  
-finline-limit=8000 --param inline-unit-growth=100 --param  
large-function-growth=1000 -fno-common -g -fno-omit-frame-pointer  
-I/usr/obj/usr/src/sys/HEEROLD -mcmodel=kernel -mno-red-zone  
-mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float  
-fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls  
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes  
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign  
-fformat-extensions -c  
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/isc_subr.c
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/isc_subr.c:  
In function 'calculate_crc32c':
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/isc_subr.c:172: error: 'p' undeclared (first use in this  
function)
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/isc_subr.c:172: error: (Each undeclared identifier is reported only  
once
/usr/src/sys/modules/iscsi/initiator/../../../dev/iscsi/initiator/isc_subr.c:172: error: for each function it appears  
in.)
*** Error code 1

Stop in /usr/src/sys/modules/iscsi/initiator.
*** Error code 1

Stop in /usr/src/sys/modules/iscsi.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/obj/usr/src/sys/HEEROLD.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


-- 
Toomas Aas




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110518181109.40330buw2cn4gya0>