[ewg] OFED 1.5 on RHEL 5.4 beta is not compiling

Jon Mason jon at opengridcomputing.com
Wed Sep 9 11:22:34 PDT 2009


The build of OFED-1.5-20090908-0600 on my x86_64 system running RHEL 5.4 beta sees the following error:

-I/usr/src/kernels/2.6.18-160.el5-x86_64/arch//include \
  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wstrict-prototypes -Wundef -Werror-implicit-function-declaration -fno-delete-null-pointer-checks -fwrapv -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 /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/drivers/infiniband/core/addr.c: In function 'rdma_translate_ip':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:134: error: implicit declaration of function 'for_each_netdev'
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:134: error: 'init_net' undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:134: error: (Each undeclared identifier is reported only once
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:134: error: for each function it appears in.)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:134: error: expected ';' before '{' token
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c: In function 'addr_send_arp':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:206: error: 'init_net' undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:206: error: too many arguments to function 'ip6_route_output'
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c: In function 'addr6_resolve_remote':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:281: error: 'init_net' undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:281: error: too many arguments to function 'ip6_route_output'
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c: In function 'addr_resolve_local':
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:394: error: 'init_net' undeclared (first use in this function)
/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.c:395: error: expected ';' before 'if'
make[4]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core/addr.o] Error 1
make[3]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband/core] Error 2
make[2]: *** [/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5/drivers/infiniband] Error 2
make[1]: *** [_module_/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.5] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-160.el5-x86_64'
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.95416 (%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.95416 (%build)




More information about the ewg mailing list