You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to compile ZFS with Rockchip Kernel 5.10, I encountered an error while using the './configure' command. Upon my investigation, I found that it uses the 'EXPORT_SYMBOL_NS' macro when exporting some functions like 'kernel_read', which causes ZFS compilation to fail. What should I do to successfully compile ZFS?
Include any warning/errors/backtraces from the system logs
configure error:
this is the error in build.log:
The error:
ERROR: modpost: module clear_inode uses symbol clear_inode from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module inode_set_flags uses symbol inode_set_flags from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module kernel_read uses symbol kernel_read from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module kernel_write uses symbol kernel_write from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module timestamp_truncate uses symbol timestamp_truncate from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
The text was updated successfully, but these errors were encountered:
Thank you for your response! It sounds good that I patch the source file with a MODULE_IMPORT_NS.
Actually I'm a beginner, and I'd like to know what steps I should take to pass the configure check.
There are many "m4" macro files used for checks, is there a convenient way using MODULE_IMPORT_NS to make unified modifications?
System information
Describe the problem you're observing
When I try to compile ZFS with Rockchip Kernel 5.10, I encountered an error while using the './configure' command. Upon my investigation, I found that it uses the 'EXPORT_SYMBOL_NS' macro when exporting some functions like 'kernel_read', which causes ZFS compilation to fail. What should I do to successfully compile ZFS?
Describe how to reproduce the problem
Always. By the way, the kernel I used: rockchip-linux/kernel@d483eed
Include any warning/errors/backtraces from the system logs
configure error:
this is the error in build.log:
The error:
ERROR: modpost: module clear_inode uses symbol clear_inode from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module inode_set_flags uses symbol inode_set_flags from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module kernel_read uses symbol kernel_read from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module kernel_write uses symbol kernel_write from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module timestamp_truncate uses symbol timestamp_truncate from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
The text was updated successfully, but these errors were encountered: