Details
-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
None
-
None
-
Distro/Arch: RHEL8.1/x86_64
-
3
-
9223372036854775807
Description
While building Lustre server on RHEL 8.1 with kernel 4.18.0-147.0.3.el8_1, the build failed as follows:
make[3]: Entering directory '/root/kernel/rpmbuild/BUILD/kernel-4.18.0-147.0.3.el8_1/linux-4.18.0-147.0.3.el8_lustre.x86_64' CC [M] /root/lustre-release/ldiskfs/inode.o In file included from include/linux/linkage.h:7, from include/linux/fs.h:6, from /root/lustre-release/ldiskfs/inode.c:22: /root/lustre-release/ldiskfs/inode.c:6294:15: error: ‘ldiskfs_iget’ undeclared here (not in a function); did you mean ‘ldiskfs_ioctl’? EXPORT_SYMBOL(ldiskfs_iget); ^~~~~~~~~~~~ include/linux/export.h:59:16: note: in definition of macro ‘___EXPORT_SYMBOL’ extern typeof(sym) sym; \ ^~~ /root/lustre-release/ldiskfs/inode.c:6294:1: note: in expansion of macro ‘EXPORT_SYMBOL’ EXPORT_SYMBOL(ldiskfs_iget); ^~~~~~~~~~~~~ make[5]: *** [scripts/Makefile.build:313: /root/lustre-release/ldiskfs/inode.o] Error 1
In kernel 4.18.0-147.0.3.el8_1:
struct inode *__ext4_iget(struct super_block *sb, unsigned long ino, ext4_iget_flags flags, const char *function, unsigned int line);
In previous kernel versions:
struct inode *ext4_iget(struct super_block *sb, unsigned long ino);
Attachments
Issue Links
- is blocking
-
LU-12637 Support RHEL 8.1
- Resolved