next up previous contents
Next: 3.2 Installation Up: 3 Compilation and Installation Previous: 3 Compilation and Installation   Contents


3.1 Compilation

Once you are running a kernel with the the correct options compiled into it, both the Router and Receiver modules are simple to compile. First the kernel must have been compiled (with the correct options selected as described in Section 2). Then it is simply a matter of running make in the relevant directory, depending on which module is being compiled. The directories are:

router
- The Router module
receiver
- The Receiver module

After running `make', assuming no errors occurred, the module will then be ready to load using a tool such a `insmod' or `modprobe'. However it is suggested that the module be installed in the kernel's module directory, to facilitate easy loading by the system. This procedure is described in Section 3.2. Note that it is not necessary to be root until the module is installed (see section 3.2). In fact, it is recommended that the module be compiled as a non-root user.