In my fresh installed version of openSUSE leaf 42.2 the kernel module can not be build, while the kernel-source module is installed:
ERBUSZE:/usr/local/bin # ./updateNIDrivers
<11>Feb 25 22:41:06 nikal: ERROR: Error locating kernel sources for the requested kernel version (4.4.104-18.44-default).
usage: ./updateNIDrivers [--no-prompt] [kernelVersion]
kernelVersion
Specify the version of a kernel installed on the system.
A /lib/modules/<kernelVersion> directory should exist for each
kernel installed. The currently running kernel is the default
for ./updateNIDrivers if no argument is provided.
Run 'uname -r' at the command prompt to find the version of the
currently running kernel.
--no-prompt
runs in no prompt mode. Useful if calling this script from
another script. Messages are still printed to the screen and
the return value can be checked for status.
--fast
use fast shortcuts to determine whether modules need to be rebuilt.
Even providing the kernel version does not solve the problem:
ERBUSZE:/usr/local/bin # uname -a
Linux ERBUSZE 4.4.104-18.44-default #1 SMP Thu Jan 4 08:07:55 UTC 2018 (05a9de6) x86_64 x86_64 x86_64 GNU/Linux
ERBUSZE:/usr/local/bin # ./updateNIDrivers 4.4.104-18.44-default
<11>Feb 25 22:56:24 nikal: ERROR: Error locating kernel sources for the requested kernel version (4.4.104-18.44-default).
...