You must have a 2.6 kernel source configured.
Then type:
make -C /path/to/kernel/source/tree/ SUBDIRS=$PWD modules

After you compile, insmod ./devcabal.ko
mknod /dev/cabal c 252 0
cat /dev/cabal

heh.
