Hi, I have a machine with X-Fi Titanium sound card. Im getting the following errors when trying to compile the driver.

make -C /lib/modules/2.6.9-89.0.23.ELsmp/build 
make[1]: Entering directory `/usr/src/kernels/2.6.9-89.0.23.EL-smp-
CC [M] /root/XFiDrv_Linux_Public_US_1.00/xfi.o
In file included from /root/XFiDrv_Linux_Public_US_1.00/xfi.c:17:
/root/XFiDrv_Linux_Public_US_1.00/ctatc.h:22:34: linux/spinlock_types.h: 
No such file or directory
make[2]: *** [/root/XFiDrv_Linux_Public_US_1.00/xfi.o] Error 1
make[1]: *** [_module_/root/XFiDrv_Linux_Public_US_1.00] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-89.0.23.EL-smp-
make: *** [all] Error 2

Other Info:

uname -a
Linux swlin114 2.6.9-89.0.23.ELsmp #1 SMP Fri Mar 5 23:27:13 EST 2010 
x86_64 x86_64 x86_64 GNU/Linux

It shows up in lspci:

01:00.0 Audio device: Creative Labs X-Fi Titanium series [EMU20k2] (rev 

I also got the vendors device ID if its any help:

lspci -n | grep '01:00.0'
01:00.0 Class 0403: 1102:000b (rev 03)

Does anyone have any ideas?

Wrong forum, you need to post this in the linux forum, not in a C language forum.

hmmm ok but the driver is written in C and its obviously a compile problem. How do I get it moved?

Did you write the driver? If so, welcome to the right forum!

commented: your replies just arent helpful -1

Where in the forum description do you see that then?

C Forum

Our C forum is the place for Q&A-style discussions related to the C language as per the ANSI C standard. Otherwise use our C++ forum.
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.