Set Up the eLxr Server 12 Development Host¶
About This Task¶
Before you can build a kernel driver module, you must have an eLxr 12 Server host, and update it to include the package sources necessary for building the kernel module.
Before You Begin¶
You must have an eLxr Server 12 development host setup with sudo privileges. For details, see eLxr QuickStart: Quick Start Overview.
Note
This tutorial requires the latest eLxr Server 12 version with the latest kernel. Earlier releases are not currently supported.
Procedure¶
Ensure that your eLxr Server 12 host is running and you are logged in.
Update the package repositories.
$ sudo apt-get update
Install the devscripts package.
$ sudo apt-get install -y devscripts
Install the linux-headers-amd64 package, which is necessary to build the kernel driver module.
$ sudo apt-get install -y linux-headers-amd64
Results¶
Now that your eLxr Server 12 development host is ready, you can download the hello-world module source and build your kernel module. For details, see Obtain Driver Source and Build the Kernel Module Packages.