Details
-
Bug
-
Resolution: Fixed
-
Minor
-
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
- is related to
-
LU-1606 lustre_idl.h does not compile in user-space
- Closed