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

e2fsprogs: rename liblustreapi.h with lustreapi.h

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.5.0
    • Lustre 2.4.0
    • None
    • 3
    • 5408

    Description

      After commit f715e4e (LU-1606 api: Rename liblustreapi.h -> lustreapi.h) was landed on master branch, the e2fsprogs build failed as follows:

      In file included from /root/lustre-2.3.54/lustre/include/lustre/lustreapi.h:46,
                       from /root/lustre-2.3.54/lustre/include/lustre/liblustreapi.h:40,
                       from ../lib/ext2fs/lfsck.h:14,
                       from lfsck.c:80:
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h: In function 'lustre_lma_swab':
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:345: warning: implicit declaration of function 'cpu_to_le32'
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:346: warning: implicit declaration of function '__swab32s'
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:349: warning: implicit declaration of function '__swab64s'
      In file included from /root/lustre-2.3.54/lustre/include/lustre/lustreapi.h:46,
                       from /root/lustre-2.3.54/lustre/include/lustre/liblustreapi.h:40,
                       from ../lib/ext2fs/lfsck.h:14,
                       from lfsck_common.c:29:
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h: In function 'lustre_lma_swab':
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:345: warning: implicit declaration of function 'cpu_to_le32'
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:346: warning: implicit declaration of function '__swab32s'
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:349: warning: implicit declaration of function '__swab64s'
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h: In function 'fid_ostid_unpack':
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:572: warning: implicit declaration of function 'CERROR'
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:572: error: expected ')' before 'LPU64'
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:584: error: expected ')' before 'LPU64'
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:597: error: expected ')' before 'LPU64'
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:603: warning: implicit declaration of function 'unlikely'
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:606: error: expected ')' before 'LPU64'
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h: In function 'fid_ostid_pack':
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:608: error: expected ')' before 'LPX64'
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h: In function 'ostid_seq':
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:658: warning: implicit declaration of function 'CWARN'
      /root/lustre-2.3.54/lustre/include/lustre/lustre_idl.h:658: error: expected ')' before 'LPU64'
      

      A patch is being created.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: