Follow the instructions below to download and compile helloworld CPP module.

  1. Download and install BOSSMOOL OS using ISO[1] file.
  2. Once the OS is installed, boot into kernel version 3.16.0 from the advanced options in boot menu.
  3. Download Makefile.build[2] file to /lib/modules/3.16.0/build/scripts/
  4. Donwload hellworld.tar.gz[3] and extract the file.
  5. Go to helloworld directory and run make command. This command should successfully run and create helloworld.ko. This .ko file is the kernel module
  6. You can use `insmod`, `rmmod` to insert and remove this module in to the kernel.
Other useful commands:
Links:

[1]: ftp://mirror.bosslinux.in/BOSSMOOL/bossmool_i386/boss-6.1-i386-DVD-MOOL-3.16-29Dec2016.iso
[2]: Makefile.build
[3]: helloworld.tar.gz