NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
croque
Nov 27, 2013Aspirant
Compiling ppp-modules on ReadyNAS OS 6.1.4: invalid module f
I tried to compile and install the ppp-modules on a RN314 with no luck. I downloaded the source and set it up in /usr/src/linux. Did a make oldconfig make menuconfig make prepare make modules...
croque
Nov 28, 2013Aspirant
This question I can answer myself after doing some more research. The problem was the lack of the Module.symvers.
From kernel.org (https://www.kernel.org/doc/Documentation/kbuild/modules.txt):
NOTE: "modules_prepare" will not build Module.symvers even if CONFIG_MODVERSIONS is set; therefore, a full kernel build needs to be
Right workflow for building modules is:
make oldconfig
make menuconfig
make prepare
make modules_prepare
make
make SUBDIRS=scripts/mod
make SUBDIRS=path/to/module modules
installation and depmot -a. Now my modules loads like a charm. =)
From kernel.org (https://www.kernel.org/doc/Documentation/kbuild/modules.txt):
NOTE: "modules_prepare" will not build Module.symvers even if CONFIG_MODVERSIONS is set; therefore, a full kernel build needs to be
Right workflow for building modules is:
make oldconfig
make menuconfig
make prepare
make modules_prepare
make
make SUBDIRS=scripts/mod
make SUBDIRS=path/to/module modules
installation and depmot -a. Now my modules loads like a charm. =)
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!