X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=config%2Fkernel.m4;h=2b4df702391a863e0692999c65d3d3c5e2509b4e;hb=04516a45b27144cf42bec005ef2de6d505d236a5;hp=8b4a5c79a2447fcf631eb6686e54acd4044c26b6;hpb=15805c7711a69a293d7ab974a7e8f19c388836b4;p=zfs.git diff --git a/config/kernel.m4 b/config/kernel.m4 index 8b4a5c7..2b4df70 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -61,6 +61,14 @@ AC_DEFUN([ZFS_AC_MODULE_SYMVERS], [ else LINUX_SYMBOLS=Module.symvers fi + + if ! test -f "$LINUX_OBJ/$LINUX_SYMBOLS"; then + AC_MSG_ERROR([ + *** Please make sure the kernel devel package for your distribution + *** is installed. If your building with a custom kernel make sure the + *** kernel is configured, built, and the '--with-linux=PATH' configure + *** option refers to the location of the kernel source.]) + fi else LINUX_SYMBOLS=NONE fi