Mailing List Archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] New Sound Card

(20110122 23:02), Raedwolf Summoner wrote:
> /home/raroof/Downloads/XFiDrv_Linux_Public_US_1.00/xfi.c:14: fatal
> error: sound/driver.h: No such file or directory
> compilation terminated.
> make[2]: ***
> [/home/raroof/Downloads/XFiDrv_Linux_Public_US_1.00/xfi.o] Error 1
> make[1]: ***
> [_module_/home/raroof/Downloads/XFiDrv_Linux_Public_US_1.00] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-24-generic-pae'
> make: *** [all] Error 2


The Ubuntu geek forum is very likely to give you a nice solution
of this #include header file - driver.h error.

It says,

I simply removed the include directives of sound/driver.h present in
xfi.c and ctac.h
After I comment the following statement in xfi.h
//card = snd_card_new(index[dev], id[dev], THIS_MODULE, 0);
(the function snd_card_new probably is called from sound/driver.h)
After that I successfully compiled and installed and after a reboot the
sound was working fine good.

A lot of members of this Ubuntu official forum are surely geeky,
they have very valuable solutions especially for debugging source files.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links