I'm trying to create a loadable kernel module for Kubuntu 7.10 which has the 2.6 KDE kernel. The file is a serial speed enhancer for my motherboard. It's name is viahss-0.92 and within the file are the following text files:
file:///home/jacatone/Desktop/Module/viahss-0.92/Makefile
file:///home/jacatone/Desktop/Module/viahss-0.92/Makefile-2.6
file:///home/jacatone/Desktop/Module/viahss-0.92/viahss.c
The instructions are:
If you have a working kernel build environment then you'll need to do
following things:
1) Edit viahss.c in viahss-0.92 directory remove following line (15):
#include <linux/config.h>
2) Copy Makefile for 2.6 on top of 2.4 for makefile
# cp Makefile-2.6 Makefile
3) Compile package with make
# make
This worked at least with my Ubuntu 8.04 based mythbuntu machine (also
with my CentOS4 machine. If this doesn't work most likely you don't
have full kernel build environment."
Could someone explain this to me in plainer language and maybe walk me through the process? Many thanks.
file:///home/jacatone/Desktop/Module/viahss-0.92/Makefile
file:///home/jacatone/Desktop/Module/viahss-0.92/Makefile-2.6
file:///home/jacatone/Desktop/Module/viahss-0.92/viahss.c
The instructions are:
If you have a working kernel build environment then you'll need to do
following things:
1) Edit viahss.c in viahss-0.92 directory remove following line (15):
#include <linux/config.h>
2) Copy Makefile for 2.6 on top of 2.4 for makefile
# cp Makefile-2.6 Makefile
3) Compile package with make
# make
This worked at least with my Ubuntu 8.04 based mythbuntu machine (also
with my CentOS4 machine. If this doesn't work most likely you don't
have full kernel build environment."
Could someone explain this to me in plainer language and maybe walk me through the process? Many thanks.
Comment