[openib-general] Trouble installing OFED-1.1-rc3 on a x86_64 SLES 10 machine
Bub Thomas
thomas.bub at thomson.net
Tue Sep 12 06:20:04 PDT 2006
Michael,
I don't understand what you mean on the iser trouble.
I'm only a "comsumer" and not actively developing in the openIB world.
I'm having enough trouble with my own application connecting a PowerPC
gen1 from an x86_64 PC gen2 using verbs and cm. ;-)
Thus I haven't installed SVN and can't work on this.
I wanted to let the people know that there are some issues.
Thanks
Thomas
-----Original Message-----
From: openib-general-bounces at openib.org
[mailto:openib-general-bounces at openib.org] On Behalf Of Michael S.
Tsirkin
Sent: Tuesday, September 12, 2006 2:55 PM
To: Bub Thomas
Cc: openib-general at openib.org
Subject: Re: [openib-general] Trouble installing OFED-1.1-rc3 on a
x86_64 SLES 10 machine
Quoting r. Bub Thomas <thomas.bub at thomson.net>:
> Subject: Trouble installing OFED-1.1-rc3 on a x86_64 SLES 10 machine
>
> Just migrated from SLES 9 x86_64 to SLES 10 x86_64 in order to get
> 32-Bit support.
> Stumbled over some installation problems.
> First I tried "All packages" then "Basic install". Both failed to
build
> at different places.
> Only a "customizied" installation worked.
> Find the details blow.
>
> Thomas Bub
>
> An All packages fails at:
>
> gcc
>
-Wp,-MD,/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/.i
> scsi_iser.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
> -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(iscsi_iser)"
> -D"KBUILD_MODNAME=KBUILD_STR(ib_iser)" -c -o
>
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/.tmp_iscsi
> _iser.o
>
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iscsi_iser
> .c
>
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iscsi_iser
> .c: In function 'iscsi_iser_set_param':
>
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iscsi_iser
> .c:478: error: implicit declaration of function 'iscsi_set_param'
>
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iscsi_iser
> .c: At top level:
>
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iscsi_iser
> .c:612: warning: initialization from incompatible pointer type
>
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iscsi_iser
> .c:613: error: 'iscsi_conn_get_param' undeclared here (not in a
> function)
>
/var/tmp/OFEDRPM/BUILD/openib-1.1/drivers/infiniband/ulp/iser/iscsi_iser
> .c:614: error: 'iscsi_session_get_param' undeclared here (not in a
> function)
Or - could you check this please? AFAIK iser should work on this kernel.
> A Basic install fails at:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I../libibverbs/include -Wall
> -D_GNU_SOURCE -g -O2 -MT src_ipathverbs_la-ipathverbs.lo -MD -MP -MF
> .deps/src_ipathverbs_la-ipathverbs.Tpo -c src/ipathverbs.c -fPIC
-DPIC
> -o .libs/src_ipathverbs_la-ipa
> thverbs.o
> In file included from src/ipathverbs.c:45:
> src/ipathverbs.h: In function 'to_ictx':
> src/ipathverbs.h:72: warning: implicit declaration of function
> 'offsetof'
> src/ipathverbs.h:72: error: expected expression before
'struct'ib_mthca
Looks like ipthverbs.h uses offsetof without including stddef.h
Please post fix for trunk and OFED branch.
> My customized installation that works:
>
> ib_verbs
> kernel-ib
> kernel-ib-devel
> libibcm
> libibcm-devel
> libibverbs
> libibverbs-devel
> libibverbs-utils
> libmthca
> libmthca-devel
--
MST
_______________________________________________
openib-general mailing list
openib-general at openib.org
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit
http://openib.org/mailman/listinfo/openib-general
More information about the general
mailing list