[ewg] OFED-1.5 compiler errors - Daily build for 6/30/09
Jon Mason
jon at opengridcomputing.com
Wed Jul 1 16:12:13 PDT 2009
On Wed, Jul 01, 2009 at 02:08:13PM -0700, Woodruff, Robert J wrote:
>
> FYI - not sure if this is suppose to work
> yet or not but it looks like the backports
> for Rhel EL5.3 are broken in the OFED-1.5 daily
> build from yesterday.
I don't think NFSRDMA backport patches for OFED 1.5 were pulled in for
last nights build, but they will definately be in tonights. I ran the
build scripts and didn't see any problems on IA64 (though this is one
for 2.6.22, but that is currently only in my local tree).
Please run them again on tomorrows build.
> -I/usr/src/kernels/2.6.18-128.el5-x86_64/arch//include \
> -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -Os -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 -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(expfs)" -D"KBUILD_MODNAME=KBUILD_STR(exportfs)" -c -o /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/fs/exportfs/.tmp_expfs.o /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/fs/exportfs/expfs.c
> In file included from /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/kernel_addons/backport/2.6.18-EL5.3/include/linux/fs.h:4,
> from /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/fs/exportfs/expfs.c:12:
> include/linux/fs.h:1410: error: redefinition of 'struct export_operations'
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/fs/exportfs/expfs.c: In function 'get_name':
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/fs/exportfs/expfs.c:253: error: implicit declaration of function 'current_cred'
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/fs/exportfs/expfs.c:253: warning: initialization makes pointer from integer without a cast
>
>
> I also get other compile errors one Rhel El5.1. Again looks like
> a backport issue.
RHEL5.1 is not supported in OFED 1.5
>
> -I/usr/src/kernels/2.6.18-53.el5-x86_64/arch//include \
> -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -Os -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 -fomit-frame-pointer -g -fno-stack-protector -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/drivers/infiniband/core/.tmp_addr.o /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c
> In file included from include/linux/if.h:23,
> from include/linux/inetdevice.h:6,
> from /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:37:
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/linux/socket.h:317: error: expected declaration specifiers or '...' before '__wsum'
> In file included from /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_addr.h:41,
> from /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:46:
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h: In function 'ib_dma_mapping_error':
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1677: warning: passing argument 1 of 'dma_mapping_error' makes integer from pointer without a cast
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1677: error: too many arguments to function 'dma_mapping_error'
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h: At top level:
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1716: warning: 'struct dma_attrs' declared inside parameter list
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1716: warning: its scope is only this definition or declaration, which is probably not what you want
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h: In function 'ib_dma_map_single_attrs':
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1718: error: implicit declaration of function 'dma_map_single_attrs'
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h: At top level:
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1725: warning: 'struct dma_attrs' declared inside parameter list
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h: In function 'ib_dma_unmap_single_attrs':
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1727: error: implicit declaration of function 'dma_unmap_single_attrs'
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1728: warning: 'return' with a value, in function returning void
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h: At top level:
> /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/include/rdma/ib_verbs.h:1803: warning: 'struct dma_attrs' declared inside parameter list
>
> _______________________________________________
> ewg mailing list
> ewg at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
More information about the ewg
mailing list