I wanted to congratulate you on taking forward this project. its good!
i using debian squeeze with kernel 2.6.32-5-686. in a test machine
root@ecr:~/newfusd# make
make -C libfusd
make[1]: se ingresa al directorio `/root/newfusd/libfusd'
make target CFLAGS='-g -O2 -fPIC -std=gnu99 -O2 -g -I../include'
make[2]: se ingresa al directorio `/root/newfusd/libfusd'
Makefile:28: libfusd.d: No existe el fichero o el directorio
gcc -M -g -O2 -fPIC -std=gnu99 -O2 -g -I../include libfusd.c > libfusd.d.$$; sed 's,\(libfusd\)\.o[ :]*,\1.o libfusd.d : ,g' < libfusd.d.$$ > libfusd.d; rm -f libfusd.d.$$
make[2]: se sale del directorio `/root/newfusd/libfusd'
make[2]: se ingresa al directorio `/root/newfusd/libfusd'
gcc -g -O2 -fPIC -std=gnu99 -O2 -g -I../include -c -o libfusd.o libfusd.c
gcc libfusd.o -o libfusd.so.0.0 -shared -nostdlib
ar -cr libfusd.a libfusd.o
make[2]: se sale del directorio `/root/newfusd/libfusd'
make[1]: se sale del directorio `/root/newfusd/libfusd'
make -C kfusd
make[1]: se ingresa al directorio `/root/newfusd/kfusd'
make -C /lib/modules/2.6.32-5-686/build SUBDIRS=/root/newfusd/kfusd EXTRA_CFLAGS=-I/root/newfusd/kfusd/../include modules
make[2]: se ingresa al directorio `/usr/src/linux-headers-2.6.32-5-686'
CC [M] /root/newfusd/kfusd/kfusd.o
In file included from /root/newfusd/kfusd/kfusd.c:221:
/root/newfusd/kfusd/../include/kfusd.h:279: warning: data definition has no type or storage class
/root/newfusd/kfusd/../include/kfusd.h:279: warning: type defaults to âintâ in declaration of âDEFINE_SEMAPHOREâ
/root/newfusd/kfusd/../include/kfusd.h:279: warning: parameter names (without types) in function declaration
/root/newfusd/kfusd/../include/kfusd.h: In function âatomic_inc_and_retâ:
/root/newfusd/kfusd/../include/kfusd.h:285: error: âatomic_opsâ undeclared (first use in this function)
/root/newfusd/kfusd/../include/kfusd.h:285: error: (Each undeclared identifier is reported only once
/root/newfusd/kfusd/../include/kfusd.h:285: error: for each function it appears in.)
/root/newfusd/kfusd/kfusd.c: In function âfusd_unlocked_ioctlâ:
/root/newfusd/kfusd/kfusd.c:2688: warning: unused variable âargpâ
make[5]: *** [/root/newfusd/kfusd/kfusd.o] Error 1
make[4]: *** [_module_/root/newfusd/kfusd] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[2]: se sale del directorio `/usr/src/linux-headers-2.6.32-5-686'
make[1]: *** [default] Error 2
make[1]: se sale del directorio `/root/newfusd/kfusd'
make: *** [default] Error 2
root@ecr:~/newfusd#