linux icon indicating copy to clipboard operation
linux copied to clipboard

can't build zfs mod with linux-6.1.20-x64v3-xanmod1

Open andot opened this issue 1 year ago • 0 comments

when I build zfs 2.1.9 from https://github.com/openzfs/zfs/releases/tag/zfs-2.1.9

checking kernel source and build directories... done
checking kernel source directory... /usr/src/linux-headers-6.1.20-x64v3-xanmod1
checking kernel build directory... /usr/src/linux-headers-6.1.20-x64v3-xanmod1
checking kernel source version... 6.1.20-x64v3-xanmod1
checking for kernel config option compatibility... done
checking whether CONFIG_MODULES is defined... no
configure: error: 
		*** This kernel does not include the required loadable module
		*** support!
		***
		*** To build OpenZFS as a loadable Linux kernel module
		*** enable loadable module support by setting
		*** `CONFIG_MODULES=y` in the kernel configuration and run
		*** `make modules_prepare` in the Linux source tree.
		***
		*** If you don't intend to enable loadable kernel module
		*** support, please compile OpenZFS as a Linux kernel built-in.
		***
		*** Prepare the Linux source tree by running `make prepare`,
		*** use the OpenZFS `--enable-linux-builtin` configure option,
		*** copy the OpenZFS sources into the Linux source tree using
		*** `./copy-builtin <linux source directory>`,
		*** set `CONFIG_ZFS=y` in the kernel configuration and compile
		*** kernel as usual.

andot avatar Mar 20 '23 05:03 andot