[ewg] building ofa_kernel-1.4 on x86

Steve Wise swise at opengridcomputing.com
Mon Dec 22 08:26:54 PST 2008


Vlad and EWG,

We're having problems building the installed /usr/src/ofa-kernel-1.4 
tree on a RH4.7/x86 system.  The src rpm for the kernel drivers 
apparently built and installed ok, but when we use the kernel-ib-devel 
rpm src tree and configure it with the /etc/infiniband/info config 
parameters, we see this error:

> In file included from /usr/src/ofa_kernel-1.4/include/rdma/ib_addr.h:41,
>
>                  from 
> /usr/src/ofa_kernel-1.4/drivers/infiniband/core/addr.c:44:
>
> /usr/src/ofa_kernel-1.4/include/rdma/ib_verbs.h: In function 
> `ib_dma_mapping_error':
>
> /usr/src/ofa_kernel-1.4/include/rdma/ib_verbs.h:1593: warning: passing 
> arg 1 of `dma_mapping_error' makes integer from pointer without a cast
>
> /usr/src/ofa_kernel-1.4/include/rdma/ib_verbs.h:1593: error: too many 
> arguments to function `dma_mapping_error'
>
> make[4]: *** [/usr/src/ofa_kernel-1.4/drivers/infiniband/core/addr.o] 
> Error 1
>
> make[3]: *** [/usr/src/ofa_kernel-1.4/drivers/infiniband/core] Error 2
>
> make[2]: *** [/usr/src/ofa_kernel-1.4/drivers/infiniband] Error 2
>
> make[1]: *** [_module_/usr/src/ofa_kernel-1.4] Error 2
>
> make[1]: Leaving directory `/usr/src/kernels/2.6.9-78.EL-smp-i686'
>
> make: *** [kernel] Error 2
>
> [root at grumpy2 ofa_kernel-1.4]#
>
>  
>

Has anyone seen this error before? 

Thanks,

Steve.



More information about the ewg mailing list