First install module source:
# apt-get install affix-source
Now we are ready to compile modules. This includes following steps:
Make sure you have sources for kernel you are running.
Go to /usr/src and unpack the driver source archive:
$ cd /usr/src $ tar xzvf affix.tar.gz
Now affix source is in /usr/src/modules/affix.
Go to your kernel source (i.e. /usr/src/linux) directory and run make-kpkg:
$ cd /usr/src/kernel-source-<version> $ make-kpkg --added-modules affix modules_image --rootcmd fakeroot
Then you get package affix-modules-<version>.deb. Install it with:
# dpkg -i affix-modules-<version>.deb