2.3. Installing the SRR Module
Return to the
srr-x.x.x/
directory:
# cd ../
Issue the make command:
# make install
The install path defaults to
/usr/local/. The installation adds both
libraries and include files to the
lib/ and include/
sub-directories. You can specify a different install path
by issuing the make command like this:
# make install prefix=/my/favourite/path
- The kernel module itself is placed in:
/lib/modules/kernel_version/misc/srripc.o.
This is non-negotiable, though you can move it from there
yourself if you want to set your own
MODPATH for
modprobe.
The make install command should
have put the following line into either
/etc/conf.modules or
/etc/modules.conf:
alias char-major-10-171 srripc
This line is necessary for auto-loading. If it isn't
present, you should hand-edit the file to include it.
If the installation was successful, attempting to
open /dev/srripc should now cause the
SRR Module to load automatically. If your system is not set up
for auto-loading, please refer to the next section.