walterw Posted October 31, 2019 Report Share Posted October 31, 2019 When attempting to build ZFS on release-1.4, I am getting this error: checking whether modules can be built... no configure: error: *** Unable to build an empty module. emerge zfs -vp [ebuild N ] sys-fs/zfs-kmod-0.8.1::core-kit USE="-custom-cflags -debug -rootfs" 0 KiB [ebuild N ] sys-fs/zfs-0.8.1::core-kit USE="python -custom-cflags -debug (-kernel-builtin) -rootfs -split-usr -static-libs -test-suite" PYTHON_TARGETS="python2_7 python3_7 -python3_5 -python3_6" 0 KiB Even though I have build a kernel and have already booted to it (outside of this chrooted env), I feel like there is something not quite right with my /usr/src directory possibly. Any ideas? Link to comment Share on other sites More sharing options...
walterw Posted October 31, 2019 Author Report Share Posted October 31, 2019 I must have had an old kernel built, so the kernel source directory was not configured properly. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now