I've been trying for some days to install cdemu and Idon't know if I'm doing something wrong
I follow the instructions:

1) you need the source of your current running kernel.
/lib/modules/`uname -r`/build/include needs to point at it. if you're not
sure if it points to the righ kernel just type: ls -la /lib/modules/`uname
-r`/build if its the correct kernel source all is ok. ;-)

2)make

3) sudo make install

4)modprobe cdemu

Step 1) seems to be ok, but when I type "make" this message appears:

#############################################################
make[1]: Entering directory `/usr/src/linux-2.6.27.21-0.1-obj/x86_64/default'
make -C ../../../linux-2.6.27.21-0.1 O=/usr/src/linux-2.6.27.21-0.1-obj/x86_64/default/. modules
CC [M] /home/ntasos/Downloads/cdemu-0.8/cdemu_core.o
/home/ntasos/Downloads/cdemu-0.8/cdemu_core.c: In function cdemu_transfer_bio:
/home/ntasos/Downloads/cdemu-0.8/cdemu_core.c:176: error: const struct file_operations has no member named sendfile
/home/ntasos/Downloads/cdemu-0.8/cdemu_core.c:179: warning: format %i expects type int, but argument 3 has type ssize_t
/home/ntasos/Downloads/cdemu-0.8/cdemu_core.c: At top level:
/home/ntasos/Downloads/cdemu-0.8/cdemu_core.c:215: error: expected ) before * token
/home/ntasos/Downloads/cdemu-0.8/cdemu_core.c: In function cdemu_ioctl:
/home/ntasos/Downloads/cdemu-0.8/cdemu_core.c:489: error: implicit declaration of function generic_file_read
make[4]: *** [/home/ntasos/Downloads/cdemu-0.8/cdemu_core.o] Error 1
make[3]: *** [_module_/home/ntasos/Downloads/cdemu-0.8] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.21-0.1-obj/x86_64/default'
make: *** [default] Error 2
################################################################

and of course the other two steps do not work.....
What am I doing wrong????????