[lustre-discuss] compile lustre client for ARM64

Liu, Zhengchun zhengchun.liu at anl.gov
Thu May 31 09:34:42 PDT 2018


Hi Simon,

Thanks for your clue. I took a look at the config.log, here are first few errors (there are much more)

lustre/build/conftest.c:40:30: error: dereferencing pointer to incomplete type
  ((struct stacktrace_ops *)0)->walk_stack(NULL, NULL, 0, NULL, NULL, NULL, NULL);

one more
lustre/build/conftest.c:41:5: error: ‘struct shrinker’ has no member named ‘shrink’
  tmp->shrink(tmp, 0, 0);

one more
lustre/build/conftest.c:41:4: error: ‘struct ctl_table’ has no member named ‘ctl_name’
  ct.ctl_name = sizeof(ct);

one more
  lustre/build/conftest.c:40:2: error: implicit declaration of function ‘__kernel_param_lock’ [-Werror=implicit-function-declaration]
  __kernel_param_lock(NULL);
/home/kettimut/lustre/build/conftest.c:41:2: error: implicit declaration of function ‘__kernel_param_unlock’ [-Werror=implicit-function-declaration]
  __kernel_param_unlock(NULL);

It looks like incompatible. Does anybody have further clue?

Thanks a lot
Zhengchun

On May 30, 2018, at 8:56 PM, Simon Guilbault <simon.guilbault at calculquebec.ca<mailto:simon.guilbault at calculquebec.ca>> wrote:

Hi,

I had the same error message with ./configure but it was for a x86 server with some old Qlogic card. The relevant information to find the error was in config.log.

In my case it was a macro problem (IS_ENABLED) in source/arch/x86/include/asm/pgtable.h:504 that was added for the Meltdown/Spectre patch on newer kernels. Your problem is probably very different but the clue is probably in config.log.

On Wed, May 30, 2018 at 7:53 PM, Liu, Zhengchun <zhengchun.liu at anl.gov<mailto:zhengchun.liu at anl.gov>> wrote:
Hi,

We recently try to compile lustre client for ARM64 arch, with Mellanox OFED.

It gave “configure: error: can't compile with OpenIB gen2 headers under “ error. when run

./configure --disable-server --enable-client --with-linux=/usr/src/kernels --with-o2ib=/usr/src/ofa_kernel/default

We tried ofa_kernel 4.2 and 4.3 (for aarch64 from http://www.mellanox.com/page/products_dyn?product_family=26&mtag=linux_sw_drivers) with the latest lustre release.

Does anyone have any suggestions about the error?

Thanks very much in advance
Zhengchun

_______________________________________________
lustre-discuss mailing list
lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20180531/e17c259e/attachment.html>


More information about the lustre-discuss mailing list