Hey i know this is prity late, but im prity sure i know how to make it compile... however even after it compiles i doubt it will work...
the reason why it dosent compile is because it is trying to use an outdated constant that is now not found in new c header files.
START COPY PASTE:
edit file LinuxSys.c: vi src/ossrv/LinuxSys.c
Goto line 648 and replace SA_SHIRQ with IRQF_SHARED (Kernel 2.6.22 has told us that it was going to deprecate it although still defines it, but in kernel 2.6.25 this SA_SHIRQ is now gone!)
Add the following line after line 33:
#include <linux/fs.h> // for definitions of filp_*
Add the following lines after line 37:
#include <asm-generic/fcntl.h> // otherwise, some MACROS are undefined
Compile with the following command: sudo make KBUILD_NOPEDANTIC=1 or modify (temporarily!) file /usr/src/linux/scripts/Makefile.build and comment out statements around line 46 as below:
#ifeq ($(KBUILD_NOPEDANTIC),)
#ifneq ("$(save-cflags)","$(CFLAGS)")
#$(error CFLAGS was changed in "$(kbuild-file)". Fix it to use EXTRA_CFLAGS)
#endif
Edit file in drivers/ctsound and change the order to:
drivers="ctossrv emupia ctsfman haxfi ctalsa ct20xut ctexfifx cthwiut"
#endif
Install it: sudo make install
END COPY PASTE
this lets the driver compile for me on hardy, so you shouldnt have an issue, however apparently you need to rebuild ur kernel with a few changes and then rebuild it for it to work well....its on the ubuntu forums somewhere...
sorry i cant quote u the link.. it wont let me... but its the main tutorial for the x-fi... so good luck
also. there is good news, SB are giving it another go and the drivers should be out in 09 some time... hopefully they do a better job this time
hope this helps