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

osd--ldiskfs no longer compiles on SLES11 SP3

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Not a Bug
    • Affects Version/s: Lustre 2.7.0
    • Fix Version/s: None
    • Labels:
    • Environment:
      Any SLES11 SP3 server environment.
    • Severity:
      2
    • Rank (Obsolete):
      17481

      Description

      Started to do some testing on my SLES11 SP3 test machine to discover this build error.

      In file included from /techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_handler.c:71:
      /techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h: In function ‘ldiskfs_get_htree_eof’:
      /techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1094: error: ‘FMODE_32BITHASH’ undeclared (first use in this function)
      /techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1094: error: (Each undeclared identifier is reported only once
      /techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1094: error: for each function it appears in.)
      /techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1095: error: ‘FMODE_64BITHASH’ undeclared (first use in this function)
      /techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1096: error: ‘LDISKFS_HTREE_EOF_32BIT’ undeclared (first use in this function)
      /techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_internal.h:1098: error: ‘LDISKFS_HTREE_EOF_64BIT’ undeclared (first use in this function)
      /techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_handler.c: In function ‘osd_it_ea_init’:
      /techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_handler.c:5002: error: ‘FMODE_64BITHASH’ undeclared (first use in this function)
      /techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_handler.c:5004: error: ‘FMODE_32BITHASH’ undeclared (first use in this function)
      make[8]: *** [/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs/osd_handler.o] Error 1
      make[7]: *** [/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre/osd-ldiskfs] Error 2
      make[6]: *** [/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94/lustre] Error 2
      make[5]: *** [_module_/techint/jsimmons-suse/rpmbuild/usr/src/lustre-2.6.94] Error 2

      I tracked it down to a missing patch for ldiskfs.

        Attachments

          Activity

            People

            • Assignee:
              bogl Bob Glossman (Inactive)
              Reporter:
              simmonsja James A Simmons
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: