[openib-general] [Bug 334] Problems with build OFED-1.1.1-ib_local_sa

bugzilla-daemon at lists.openfabrics.org bugzilla-daemon at lists.openfabrics.org
Wed Jan 31 23:19:44 PST 2007


https://bugs.openfabrics.org/show_bug.cgi?id=334


dmitry.yulov at intel.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P2




------- Comment #1 from dmitry.yulov at intel.com  2007-01-31 23:19 -------
I resolve the problem with build cma.c file (I added rdma/ib_local_sa.h file in
include), but I found a new problem:

 gcc
-Wp,-MD,/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/.iser_verbs.o.d
 -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.1.0/include -D__KERNEL__
-I/var/tmp/OFEDRPM/BUILD/openib-1.1/include 
-I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/include  -Iinclude 
-Iinclude2 -I/usr/src/linux-2.6.16.21-0.8/include  -include
include/linux/autoconf.h  -include
/var/tmp/OFEDRPM/BUILD/openib-1.1/include/linux/autoconf.h   
-I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser  -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration
-fno-strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer
-mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks
-Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse
-mno-mmx -mno-sse2 -mno-3dnow -Wdeclaration-after-statement -Wno-pointer-sign
-I/var/tmp/OFEDRPM/BUILD/openib-1.1/include 
-I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/include 
-I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/ipoib 
-I/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/debug  -DMODULE
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(iser_verbs)" 
-D"KBUILD_MODNAME=KBUILD_STR(ib_iser)" -c -o
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/.tmp_iser_verbs.o
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iser_verbs.c
In file included from
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iser_verbs.c:42:
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iscsi_iser.h:47:27:
error: scsi/libiscsi.h: No such file or directory
In file included from
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iscsi_iser.h:48,
                 from
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iser_verbs.c:42:
/usr/src/linux-2.6.16.21-0.8/include/scsi/scsi_transport_iscsi.h:213: error:
field 'mutex' has incomplete type
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iser_verbs.c: In
function 'iser_create_device_ib_res':
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iser_verbs.c:80:
error: 'ISCSI_XMIT_CMDS_MAX' undeclared (first use in this function)
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iser_verbs.c:80:
error: (Each undeclared identifier is reported only once
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iser_verbs.c:80:
error: for each function it appears in.)
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iser_verbs.c: In
function 'iser_create_ib_conn_res':
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iser_verbs.c:159:
error: 'ISCSI_XMIT_CMDS_MAX' undeclared (first use in this function)
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iser_verbs.c: In
function 'iser_disconnected_handler':
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iser_verbs.c:418:
error: implicit declaration of function 'iscsi_conn_failure'
make[5]: ***
[/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iser_verbs.o]
Error 1
make[4]: *** [/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser]
Error 2
make[3]: *** [_module_/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband]
Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2

Could you please help me resolve this problem?


-- 
Configure bugmail: https://bugs.openfabrics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the general mailing list