[ewg] OFED 1.4.2 rc 2 breaks compiling ofa_kernel

Brian M. Rzycki bmr at opengridcomputing.com
Fri Jul 17 08:28:15 PDT 2009


Hi guys,

I tried to install OFED 1.4.2 rc2 this morning and here's what I saw.

Distibution:  CentOS 5.3
CPU type:     x86_64
Linux kernel: 2.6.30

OFED tarball: OFED-1.4.2-rc2.tgz

# ./install.pl -- 2,3
...
Failed to build ofa_kernel RPM
See /tmp/OFED.19764.logs/ofa_kernel.rpmbuild.log
# less -M  /tmp/OFED.19764.logs/ofa_kernel.rpmbuild.log
...
   gcc -Wp,-MD,/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.2/drivers/ 
infiniband/cor
e/.addr.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/ 
include \
-D__OFED_BUILD__ \
-include include/linux/autoconf.h \
-include /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.2/include/linux/ 
autoconf.h \
  \
  \
  \
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.2/include \
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.2/drivers/infiniband/debug \
-I/usr/local/include/scst \
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.2/drivers/infiniband/ulp/ 
srpt \
-I/var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.2/drivers/net/cxgb3 \
-Iinclude \
  \
-I/usr/src/linux-2.6.30/arch//include \
  -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno- 
strict-aliasing -fno-common -Werror-implicit-function-declaration -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 -fwrapv  -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.4.2/drivers/infiniband/core/.tmp_addr.o /var/tmp/ 
OFED_topdir/BUILD/ofa_kernel-1.4.2/driv
ers/infiniband/core/addr.c
In file included from include/linux/prefetch.h:13,
                  from include/linux/list.h:6,
                  from include/linux/mutex.h:13,
                  from /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.2/ 
drivers/infiniband/core/addr.c:36:
include/linux/types.h:4:23: error: asm/types.h: No such file or  
directory
In file included from include/linux/types.h:14,
                  from include/linux/prefetch.h:13,
                  from include/linux/list.h:6,
                  from include/linux/mutex.h:13,
                  from /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.2/ 
drivers/infiniband/core/addr.c:36:
include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such  
file or directory
In file included from include/linux/prefetch.h:13,
                  from include/linux/list.h:6,
                  from include/linux/mutex.h:13,
                  from /var/tmp/OFED_topdir/BUILD/ofa_kernel-1.4.2/ 
drivers/infiniband/core/addr.c:36:
include/linux/types.h:18: error: expected '=', ',', ';', 'asm' or  
'__attribute__' before '__kernel_dev_t'
( about 4000 lines of cascading errors)


I just successfully compiled OFED-1.5-20090717-0600 on this machine so  
I don't think it's a machine-specific configuration or  a dependency  
issue.




More information about the ewg mailing list