[ofa-general] Issues with compilation of OFED 1.2.5.4 and RHEL 4 U6kernel 2.6.9-67.0.1.ELsmp
Moshe Kazir
moshek at voltaire.com
Thu Jan 3 00:19:07 PST 2008
That's what I send to Vlad,
You have to use the patch files and the new install.pl
Or try using OFED-1.2.5 last build from
http://www.openfabrics.org/builds/connectx
Moshe
____________________________________________________________
Moshe Katzir | +972-9971-8639 (o) | +972-52-860-6042 (m)
Voltaire - The Grid Backbone
www.voltaire.com
-----Original Message-----
From: general-bounces at lists.openfabrics.org
[mailto:general-bounces at lists.openfabrics.org] On Behalf Of Andrea
Capriotti
Sent: Wednesday, January 02, 2008 6:01 PM
To: general at lists.openfabrics.org
Subject: [ofa-general] Issues with compilation of OFED 1.2.5.4 and RHEL
4 U6kernel 2.6.9-67.0.1.ELsmp
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/cor
e/.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_a
ddr.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
_______________________________________________
general mailing list
general at lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit
http://openib.org/mailman/listinfo/openib-general
-------------- next part --------------
An embedded message was scrubbed...
From: "Moshe Kazir" <moshek at voltaire.com>
Subject: ofed-1.2.5 - RH 4 U 6 bacport files
Date: Mon, 17 Dec 2007 11:11:23 +0200
Size: 403949
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080103/c5078585/attachment.mht>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install.pl
Type: application/octet-stream
Size: 147811 bytes
Desc: install.pl
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080103/c5078585/attachment.obj>
More information about the general
mailing list