Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-4668

compile error on ppc64: asm/stacktrace.h: No such file or directory

    XMLWordPrintable

Details

    • 3
    • 12788

    Description

      While compiling Lustre master branch against kernel 2.6.32-431.5.1.el6 on RHEL6.5/ppc64 by using lbuild, I hit the following errors:

      /root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c:188:28: error: asm/stacktrace.h: No such file or directory
      /root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c:220: error: variable 'print_trace_ops' has initializer but incomplete type
      /root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c:225: error: unknown field 'stack' specified in initializer
      cc1: warnings being treated as errors
      /root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c:225: error: excess elements in struct initializer
      /root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c:225: error: (near initialization for 'print_trace_ops')
      /root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c:226: error: unknown field 'address' specified in initializer
      /root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c:226: error: excess elements in struct initializer
      /root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c:226: error: (near initialization for 'print_trace_ops')
      /root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c: In function 'libcfs_debug_dumpstack':
      /root/lustre-release/build/BUILD/lustre-2.5.55/libcfs/libcfs/linux/linux-debug.c:241: error: implicit declaration of function 'dump_trace'
      

      The lbuild log "lbuild.ppc64.log" is attached.

      Attachments

        Issue Links

          Activity

            People

              yujian Jian Yu
              yujian Jian Yu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: