Singedwings - 2009-11-29

When I try to make 0.21 I get:

make -C /lib/modules/2.6.31-15-generic/build SUBDIRS=/home/tv/lirc_mod_mce modules
make: Entering directory `/usr/src/linux-headers-2.6.31-15-generic'
  CC   /home/tv/lirc_mod_mce/lirc_mod_mce.o
/home/tv/lirc_mod_mce/lirc_mod_mce.c: In function ‘unregister_from_lirc’:
/home/tv/lirc_mod_mce/lirc_mod_mce.c:725: error: implicit declaration of function ‘lirc_unregister_plugin’
/home/tv/lirc_mod_mce/lirc_mod_mce.c:725: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c:728: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c:738: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c:751: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c:752: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c: In function ‘send_packet_to_lirc’:
/home/tv/lirc_mod_mce/lirc_mod_mce.c:800: error: implicit declaration of function ‘lirc_buffer_write_1’
/home/tv/lirc_mod_mce/lirc_mod_mce.c:800: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c:802: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c: In function ‘usb_remote_probe’:
/home/tv/lirc_mod_mce/lirc_mod_mce.c:1220: error: invalid application of ‘sizeof’ to incomplete type ‘struct lirc_plugin’
/home/tv/lirc_mod_mce/lirc_mod_mce.c:1232: error: invalid application of ‘sizeof’ to incomplete type ‘struct lirc_plugin’
/home/tv/lirc_mod_mce/lirc_mod_mce.c:1234: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c:1235: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c:1236: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c:1239: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c:1240: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c:1241: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c:1242: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c:1243: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c:1244: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c:1245: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c:1246: error: dereferencing pointer to incomplete type
/home/tv/lirc_mod_mce/lirc_mod_mce.c:1251: error: implicit declaration of function ‘lirc_register_plugin’
/home/tv/lirc_mod_mce/lirc_mod_mce.c:1276: error: dereferencing pointer to incomplete type
make: ***  Error 1
make: ***  Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.31-15-generic'
make: ***  Error 2

I don't know how to solve this, so any help greatly appreciated.