<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">This script fails because the include file passed to it doesn't exist:<div><br></div><div>cd /var/lib/dkms/zfs/0.7.12/build</div><div><div>sudo ./scripts/<a href="http://enum-extract.pl">enum-extract.pl</a> node_stat_item /lib/modules/4.19.0-1-amd64/build/include/linux/mmzone.h</div><div>Can't open /lib/modules/4.19.0-1-amd64/build/include/linux/mmzone.h: No such file or directory at ./scripts/<a href="http://enum-extract.pl">enum-extract.pl</a> line 26.</div></div><div><br></div><div>The include (mmzone.h in this case) doesn't exist because 'build' points to the CPU specific include directory and not the 'common' include directory:</div><div><br></div><div><div>ls -l /lib/modules/4.19.0-1-amd64/build</div><div>lrwxrwxrwx 1 root root 37 Dec 11 21:24 /lib/modules/4.19.0-1-amd64/build -> /usr/src/linux-headers-4.19.0-1-amd64</div><div><br></div><div>ls -l /lib/modules/4.19.0-1-amd64/build/include</div><div>total 44</div><div>drwxr-xr-x 715 root root 36864 Dec 19 21:13 config</div><div>drwxr-xr-x   3 root root  4096 Dec 19 21:13 generated</div></div><div><br></div><div>I don't think the extraction script is the problem. It appears the problem is in the 'zfs-dkms' configure script because it doesn't look for include files under '/lib/modules/4.19.0-1-amd/<b>source</b>.</div><div><br></div></div></div></div></div>