[ewg] Errors when install OFED 1.5.3-rc4
Tanin
fanqielee at gmail.com
Tue Feb 22 12:21:50 PST 2011
I have try OFED-1.5,3-rc5
Here is the message:
Build ofa_kernel RPM
Running rpmbuild --rebuild --define '_topdir /var/tmp//OFED_topdir'
--define 'configure_options --with-core-mod --with-user_mad-mod
--with-user_access-mod --with-addr_trans-mod --with-mthca-mod
--with-mlx4-mod --with-mlx4_en-mod --with-cxgb3-mod --with-nes-mod
--with-ipoib-mod --with-sdp-mod --with-srp-mod --with-rds-mod' --define
'build_kernel_ib 1' --define 'build_kernel_ib_devel 1' --define 'KVERSION
2.6.36-UL4' --define 'K_SRC /lib/modules/2.6.36-UL4/build' --define
'network_dir /etc/sysconfig/network-scripts' --define '_prefix /usr'
--define '__arch_install_post %{nil}'
/atlas/data18a/litan/OFED-1.5.3-rc5/SRPMS/ofa_kernel-1.5.3-OFED.1.5.3.rc5.src.rpm
Install kernel-ib RPM:
Running rpm -iv
/atlas/data18a/litan/OFED-1.5.3-rc5/RPMS/sl-release-5.5-1/x86_64/kernel-ib-1.5.3-2.6.36_UL4.x86_64.rpm
Install kernel-ib-devel RPM:
Running rpm -iv
/atlas/data18a/litan/OFED-1.5.3-rc5/RPMS/sl-release-5.5-1/x86_64/kernel-ib-devel-1.5.3-2.6.36_UL4.x86_64.rpm
Build ofed-scripts RPM
Running rpmbuild --rebuild --define '_topdir /var/tmp//OFED_topdir'
--define 'dist %{nil}' --target x86_64 --define '_prefix /usr' --define
'_exec_prefix /usr' --define '_sysconfdir /etc' --define '_usr /usr'
/atlas/data18a/litan/OFED-1.5.3-rc5/SRPMS/ofed-scripts-1.5.3-OFED.1.5.3.rc5.src.rpm
Install ofed-scripts RPM:
Running rpm -iv
/atlas/data18a/litan/OFED-1.5.3-rc5/RPMS/sl-release-5.5-1/x86_64/ofed-scripts-1.5.3-OFED.1.5.3.rc5.x86_64.rpm
Build libibverbs RPM
Running rpmbuild --rebuild --define '_topdir /var/tmp//OFED_topdir'
--define 'dist %{nil}' --target x86_64 --define '_prefix /usr' --define
'_exec_prefix /usr' --define '_sysconfdir /etc' --define '_usr /usr'
/atlas/data18a/litan/OFED-1.5.3-rc5/SRPMS/libibverbs-1.1.4-0.18.g387c870.src.rpm
Install libibverbs RPM:
Running rpm -iv
/atlas/data18a/litan/OFED-1.5.3-rc5/RPMS/sl-release-5.5-1/x86_64/libibverbs-1.1.4-0.18.g387c870.x86_64.rpm
Install libibverbs-devel RPM:
Running rpm -iv
/atlas/data18a/litan/OFED-1.5.3-rc5/RPMS/sl-release-5.5-1/x86_64/libibverbs-devel-1.1.4-0.18.g387c870.x86_64.rpm
Install libibverbs-devel-static RPM:
Running rpm -iv
/atlas/data18a/litan/OFED-1.5.3-rc5/RPMS/sl-release-5.5-1/x86_64/libibverbs-devel-static-1.1.4-0.18.g387c870.x86_64.rpm
Install libibverbs-utils RPM:
Running rpm -iv
/atlas/data18a/litan/OFED-1.5.3-rc5/RPMS/sl-release-5.5-1/x86_64/libibverbs-utils-1.1.4-0.18.g387c870.x86_64.rpm
Install libibverbs-debuginfo RPM:
Running rpm -iv
/atlas/data18a/litan/OFED-1.5.3-rc5/RPMS/sl-release-5.5-1/x86_64/libibverbs-debuginfo-1.1.4-0.18.g387c870.x86_64.rpm
Build libmthca RPM
Running rpmbuild --rebuild --define '_topdir /var/tmp//OFED_topdir'
--define 'dist %{nil}' --target x86_64 --define '_prefix /usr' --define
'_exec_prefix /usr' --define '_sysconfdir /etc' --define '_usr /usr'
/atlas/data18a/litan/OFED-1.5.3-rc5/SRPMS/libmthca-1.0.5-0.1.gbe5eef3.src.rpm
Install libmthca RPM:
Running rpm -iv
/atlas/data18a/litan/OFED-1.5.3-rc5/RPMS/sl-release-5.5-1/x86_64/libmthca-1.0.5-0.1.gbe5eef3.x86_64.rpm
Install libmthca-devel-static RPM:
Running rpm -iv
/atlas/data18a/litan/OFED-1.5.3-rc5/RPMS/sl-release-5.5-1/x86_64/libmthca-devel-static-1.0.5-0.1.gbe5eef3.x86_64.rpm
Install libmthca-debuginfo RPM:
Running rpm -iv
/atlas/data18a/litan/OFED-1.5.3-rc5/RPMS/sl-release-5.5-1/x86_64/libmthca-debuginfo-1.0.5-0.1.gbe5eef3.x86_64.rpm
Build libmlx4 RPM
Running rpmbuild --rebuild --define '_topdir /var/tmp//OFED_topdir'
--define 'dist %{nil}' --target x86_64 --define '_prefix /usr' --define
'_exec_prefix /usr' --define '_sysconfdir /etc' --define '_usr /usr'
/atlas/data18a/litan/OFED-1.5.3-rc5/SRPMS/libmlx4-1.0-0.16.g677fa61.src.rpm
Failed to build libmlx4 RPM
See /tmp/OFED.32180.logs/libmlx4.rpmbuild.log
vi /tmp/OFED.32180.logs/libmlx4.rpmbuild.log
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -MT dbrec.lo -MD -MP -MF
.deps/dbrec.Tpo -c src/dbrec.c -fPIC -DPIC -o .libs/dbrec.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -MT srq.lo -MD -MP -MF
.deps/srq.Tpo -c src/srq.c -fPIC -DPIC -o .libs/srq.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -MT qp.lo -MD -MP -MF
.deps/qp.Tpo -c src/qp.c -fPIC -DPIC -o .libs/qp.o
In file included from src/buf.c:41:
src/mlx4.h:296: error: field 'ibv_xrcd' has incomplete type
make[1]: *** [buf.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from src/dbrec.c:42:
src/mlx4.h:296: error: field 'ibv_xrcd' has incomplete type
In file included from src/srq.c:42:
src/mlx4.h:296: error: field 'ibv_xrcd' has incomplete type
In file included from src/qp.c:44:
src/mlx5.h:296: error: field 'ibv_xrcd' has incomplete type
make[1]: *** [dbrec.lo] Error 1
src/qp.c: In function 'mlx4_post_send':
src/qp.c:236: error: 'IBV_SEND_IP_CSUM' undeclared (first use in this
function)
src/qp.c:236: error: (Each undeclared identifier is reported only once
src/qp.c:236: error: for each function it appears in.)
src/qp.c:250: error: 'IBV_QPT_XRC' undeclared (first use in this function)
src/qp.c:251: error: 'struct ibv_send_wr' has no member named
'xrc_remote_srq_num'
src/qp.c:298: error: 'IBV_QPT_RAW_ETH' undeclared (first use in this
function)
src/qp.c:412: warning: dereferencing type-punned pointer will break
strict-aliasing rules
make[1]: *** [srq.lo] Error 1
In file included from src/verbs.c:44:
src/mlx4.h:296: error: field 'ibv_xrcd' has incomplete type
In file included from src/cq.c:47:
src/mlx4.h:296: error: field 'ibv_xrcd' has incomplete type
In file included from src/mlx4.c:49:
src/mlx4.h:296: error: field 'ibv_xrcd' has incomplete type
src/qp.c: In function 'mlx4_calc_sq_wqe_size':
src/qp.c:562: error: 'IBV_QPT_XRC' undeclared (first use in this function)
src/mlx4.c:115: warning: initialization from incompatible pointer type
src/mlx4.c:124: warning: initialization from incompatible pointer type
src/mlx4.c:129: warning: initialization from incompatible pointer type
src/mlx4.c:130: warning: initialization from incompatible pointer type
src/mlx4.c:217: error: (Each undeclared identifier is reported only once
src/mlx4.c:217: error: for each function it appears in.)
src/qp.c: In function 'mlx4_set_sq_sizes':
src/qp.c:652: error: 'IBV_QPT_XRC' undeclared (first use in this function)
src/verbs.c: In function 'mlx4_destroy_srq':
src/verbs.c:377: error: 'struct ibv_srq' has no member named 'xrc_cq'
src/verbs.c:379: error: 'struct ibv_srq' has no member named 'xrc_cq'
src/verbs.c:388: error: 'struct ibv_srq' has no member named 'xrc_cq'
src/cq.c: In function 'mlx4_poll_one':
src/cq.c:343: error: 'IBV_WC_WITH_VLAN' undeclared (first use in this
function)
src/cq.c:343: error: (Each undeclared identifier is reported only once
src/cq.c:343: error: for each function it appears in.)
src/verbs.c: In function 'verify_sizes':
src/verbs.c:427: error: 'IBV_QPT_XRC' undeclared (first use in this
function)
src/verbs.c:427: error: (Each undeclared identifier is reported only once
src/verbs.c:427: error: for each function it appears in.)
src/verbs.c: In function 'mlx4_create_qp':
src/verbs.c:470: error: 'IBV_QPT_XRC' undeclared (first use in this
function)
src/cq.c: In function '__mlx4_cq_clean':
src/cq.c:416: error: 'struct ibv_srq' has no member named 'xrc_cq'
src/verbs.c: In function 'mlx4_modify_qp':
src/verbs.c:603: error: 'IBV_QPT_XRC' undeclared (first use in this
function)
src/verbs.c: In function 'mlx4_destroy_qp':
src/verbs.c:666: error: 'IBV_QPT_XRC' undeclared (first use in this
function)
make[1]: *** [mlx4.lo] Error 1
make[1]: *** [qp.lo] Error 1
src/verbs.c: In function 'mlx4_create_ah':
src/verbs.c:710: error: 'struct ibv_port_attr' has no member named
'link_layer'
src/verbs.c:710: error: 'IBV_LINK_LAYER_ETHERNET' undeclared (first use in
this function)
src/verbs.c:711: warning: implicit declaration of function
'ibv_resolve_eth_gid'
make[1]: *** [cq.lo] Error 1
make[1]: *** [verbs.lo] Error 1
make[1]: Leaving directory `/var/tmp/OFED_topdir/BUILD/libmlx4-1.0'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.56208 (%build)
RPM build errors:
user vlad does not exist - using root
group vlad does not exist - using root
user vlad does not exist - using root
group vlad does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.56208 (%build)
The whole log file is in the attachment. Need I install the mlx4 if I only
want to use iWARP?
On Tue, Feb 22, 2011 at 9:02 AM, Tanin <fanqielee at gmail.com> wrote:
> OK, thanks
>
>
> On Tue, Feb 22, 2011 at 5:00 AM, Vladimir Sokolovsky <
> vlad at dev.mellanox.co.il> wrote:
>
>> On 02/18/2011 10:11 PM, Tanin wrote:
>>
>>> Dear all,
>>>
>>> I try to install OFED stacks on the host. Since my kernel version is
>>> 2.6.36-UL4-x86_64, which is not supported by OFED-1.5.2. So, I tried
>>> OFED-1.5.3-rc4. In the process of installation I got the error message of
>>>
>>> Build ofa_kernel RPM
>>> Running rpmbuild --rebuild --define '_topdir /var/tmp//OFED_topdir'
>>> --define 'configure_options --with-core-mod --with-user_mad-mod
>>> --with-user_access-mod --with-addr_trans-mod --with-mthca-mod
>>> --with-mlx4-mod --with-mlx4_en-mod --with-cxgb3-mod --with-nes-mod
>>> --with-ipoib-mod --with-sdp-mod --with-srp-mod --with-rds-mod' --define
>>> 'build_kernel_ib 1' --define 'build_kernel_ib_devel 1' --define
>>> 'KVERSION 2.6.36-UL4' --define 'K_SRC /lib/modules/2.6.36-UL4/build'
>>> --define 'network_dir /etc/sysconfig/network-scripts' --define '_prefix
>>> /usr' --define '__arch_install_post %{nil}'
>>>
>>> /atlas/data18a/litan/OFED-1.5.3-rc4/SRPMS/ofa_kernel-1.5.3-OFED.1.5.3.rc4.src.rpm
>>> Failed to build ofa_kernel RPM
>>> See /tmp/OFED.21798.logs/ofa_kernel.rpmbuild.log
>>>
>>> Then, I checked the log file and search for the error info. These are the
>>> info at the end:
>>> -I/usr/src/kernels/2.6.36-UL4-x86_64/arch/x86/include \
>>> -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
>>> -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
>>> -Wno-format-security -fno-delete-null-pointer-checks -Os -m64
>>> -mtune=generic
>>> -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args
>>> -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare
>>> -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
>>> -fno-stack-protector -fomit-frame-pointer -g
>>> -Wdeclaration-after-statement
>>> -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s"
>>> -D"KBUILD_BASENAME=KBUILD_STR(addr)"
>>> -D"KBUILD_MODNAME=KBUILD_STR(ib_addr)" -c -o
>>>
>>> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.3/drivers/infiniband/core/.tmp_addr.o
>>>
>>> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5.3/drivers/infiniband/core/addr.c
>>> gcc: cannot specify -o with -c or -S with multiple files
>>>
>>
>>
>> Hi Tan,
>> Please try today's OFED daily build (OFED-1.5.3-20110222-0600) or, wait
>> for OFED-1.5.3-rc5.
>>
>> Regards,
>> Vladimir
>>
>
>
>
> --
> Best regards,
>
>
> -----------------------------------------------------------------------------------------------
> Li, Tan
> PhD Candidate & Research Assistant,
> Electrical Engineering,
> Stony Brook University, NY
>
> Personal Web Site: https://sites.google.com/site/homepagelitan/Home
>
> Email: fanqielee at gmail.com
>
>
--
Best regards,
-----------------------------------------------------------------------------------------------
Li, Tan
PhD Candidate & Research Assistant,
Electrical Engineering,
Stony Brook University, NY
Personal Web Site: https://sites.google.com/site/homepagelitan/Home
Email: fanqielee at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20110222/13d20849/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libmlx4.rpmbuild.log
Type: application/octet-stream
Size: 15641 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/ewg/attachments/20110222/13d20849/attachment.obj>
More information about the ewg
mailing list