[ofa-general] Issues with compilation of OFED 1.2.5.4 and RHEL 4 U6 kernel 2.6.9-67.0.1.ELsmp
Andrea Capriotti
a.capriotti at cineca.it
Wed Jan 2 08:01:26 PST 2008
Hi all,
when compiling the latest OFED version (1.2.5.4) on a RHEL 4 U6 (kernel
2.6.9-67.0.1.ELsmp) I get the following error:
make[1]: Entering directory `/usr/src/kernels/2.6.9-67.0.1.EL-smp-x86_64'
mkdir -p /var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/.tmp_versions
make -f scripts/Makefile.build obj=/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4
make -f scripts/Makefile.build obj=/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband
make -f scripts/Makefile.build obj=/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/core
gcc -Wp,-MD,/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/core/.addr.o.d -nostdinc -iwithprefix include -D__KERNEL__ -I/var/tmp/OFEDRPM/BUIL
D/ofa_kernel-1.2.5.4/include -I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/include -Iinclude -include include/linux/autoconf.h -includ
e /var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/include/linux/autoconf.h -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fomit-f
rame-pointer -g -Wdeclaration-after-statement -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -funit-at-a-time -I/var/tmp/OFE
DRPM/BUILD/ofa_kernel-1.2.5.4/include -I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/include -I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/dri
vers/infiniband/ulp/ipoib -I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/debug -I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniba
nd/hw/cxgb3/core -I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/net/cxgb3 -I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/net/rds -I/var/tmp/OFEDRPM/BUIL
D/ofa_kernel-1.2.5.4/drivers/net/mlx4 -I/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/hw/mlx4 -DMODULE -DKBUILD_BASENAME=addr -DKBUILD_MODN
AME=ib_addr -c -o /var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/core/.tmp_addr.o /var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/
core/addr.c
In file included from /var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/core/addr.c:32:
include/linux/inetdevice.h:50: error: field `mr_gq_timer' has incomplete type
include/linux/inetdevice.h:51: error: field `mr_ifc_timer' has incomplete type
include/linux/inetdevice.h:95: error: `IFNAMSIZ' undeclared here (not in a function)
include/linux/inetdevice.h: In function `__in_dev_get_rcu':
include/linux/inetdevice.h:142: error: dereferencing pointer to incomplete type
include/linux/inetdevice.h: In function `in_dev_get':
include/linux/inetdevice.h:154: error: dereferencing pointer to incomplete type
include/linux/inetdevice.h: In function `__in_dev_get':
include/linux/inetdevice.h:164: error: dereferencing pointer to incomplete type
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/core/addr.c: At top level:
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/core/addr.c:62: warning: type defaults to `int' in declaration of `DECLARE_DELAYED_WORK'
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/core/addr.c:62: warning: parameter names (without types) in function declaration
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/core/addr.c: In function `set_timeout':
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/core/addr.c:127: error: `work' undeclared (first use in this function)
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/core/addr.c:127: error: (Each undeclared identifier is reported only once
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/core/addr.c:127: error: for each function it appears in.)
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/core/addr.c: At top level:
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/core/addr.c:218: warning: 'process_req' defined but not used
/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/core/addr.c:62: warning: 'DECLARE_DELAYED_WORK' declared `static' but never defined
make[4]: *** [/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/core/addr.o] Error 1
make[3]: *** [/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband/core] Error 2
make[2]: *** [/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4/drivers/infiniband] Error 2
make[1]: *** [_module_/var/tmp/OFEDRPM/BUILD/ofa_kernel-1.2.5.4] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-67.0.1.EL-smp-x86_64'
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.92720 (%install)
No problem with RHEL 4 U5 (kernel 2.6.9-55.0.12.ELsmp).
Any idea?
Best Regards
--
Andrea Capriotti
System Management Group - Cineca - www.cineca.it
a.capriotti at cineca.it - Tel +39 051 6171890
More information about the general
mailing list