[ewg] OFED 1.5 backport of 2.6.22 mthca broken

Jon Mason jon at opengridcomputing.com
Tue Jun 2 16:45:59 PDT 2009


When building the OFED 1.5 kernel on the 2.6.22 kernel, I get the
following error.  Is anyone else seeing this problem?

Thanks,
Jon

/root/ofed_kernel-2.6.22/drivers/infiniband/core/umem.c: In function ‘ib_umem_page_count’:
/root/ofed_kernel-2.6.22/drivers/infiniband/core/umem.c:334: warning: implicit declaration of function ‘ilog2’
/root/ofed_kernel-2.6.22/drivers/infiniband/hw/mthca/mthca_main.c:128: warning: implicit declaration of function ‘ilog2’
/root/ofed_kernel-2.6.22/drivers/infiniband/hw/mthca/mthca_main.c:128: error: initializer element is not constant
/root/ofed_kernel-2.6.22/drivers/infiniband/hw/mthca/mthca_main.c: In function ‘__mthca_check_profile_val’:
/root/ofed_kernel-2.6.22/drivers/infiniband/hw/mthca/mthca_main.c:1308: warning: implicit declaration of function ‘roundup_pow_of_two’
make[4]: *** [/root/ofed_kernel-2.6.22/drivers/infiniband/hw/mthca/mthca_main.o] Error 1
make[3]: *** [/root/ofed_kernel-2.6.22/drivers/infiniband/hw/mthca] Error 2
make[2]: *** [/root/ofed_kernel-2.6.22/drivers/infiniband] Error 2
make[1]: *** [_module_/root/ofed_kernel-2.6.22] Error 2
make: *** [kernel] Error 2



More information about the ewg mailing list