[openib-general] ipath module compilation failure on RHEL 4.0 U3

Vladimir Sokolovsky vlad at mellanox.co.il
Thu Apr 6 10:08:26 PDT 2006


Bryan,
I have also failure on:
OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 3)
Kernel: 2.6.9-34.ELsmp
Architecture: x86_64


  gcc 
-Wp,-MD,/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/.ipath_cq.o.d 
-nostdinc -iwithprefix include -D__KERNEL__ 
-I/var/tmp/IBED/tmp/openib/openib/include  
-I/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/include  
-Iinclude   -Wall -Wstrict-prototypes -Wno-trigraphs 
-fno-strict-aliasing -fno-common -Os -fomit-frame-pointer -g 
-Wdeclaration-after-statement  -mno-red-zone -mcmodel=kernel -pipe 
-fno-reorder-blocks  -Wno-sign-compare -funit-at-a-time  
-I/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/include  
-I/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/ulp/ipoib  
-I/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/ulp/kdapl  
-I/var/tmp/IBED/tmp/openib/openib/drivers/infiniband/debug -D__nocast= 
-DIPATH_IDSTR=PathScale kernel.org driver -DIPATH_KERN_TYPE=0  -DMODULE 
-DKBUILD_BASENAME=ipath_cq -DKBUILD_MODNAME=ib_ipath -c -o 
/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/.tmp_ipath_cq.o 
/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/ipath_cq.c
In file included from 
/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/ipath_cq.c:36:
/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/ipath_verbs.h:395: 
error: `BITS_PER_BYTE' undeclared here (not in a function)
make[3]: *** 
[/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath/ipath_cq.o] 
Error 1
make[2]: *** 
[/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband/hw/ipath] 
Error 2
make[1]: *** 
[_module_/var/tmp/IBED/tmp/openib/openib/src/linux-kernel/infiniband] 
Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-34.EL-smp-x86_64'
make: *** [kernel] Error 2

Regards,
Vladimir



More information about the general mailing list