At Mon, 1 Sep 2003 14:01:40 -0400,
Austin wrote:
> 
> I can't seem to get alsa-driver to build with the latest kernel source:
> 
> In file included from /home/austin/alsa-driver-0.9.6/include/sound/driver. 
> h:42,
>                  from hwdep.c:22:
> /home/austin/alsa-driver-0.9.6/include/adriver.h:200: error: redefinition of  
> `irqreturn_t'
> /usr/src/linux/include/linux/interrupt.h:16: error: `irqreturn_t' previously  
> declared here
> make[1]: *** [hwdep.o] Error 1
> make[1]: Leaving directory `/home/austin/alsa-driver-0.9.6/acore'
> make: *** [compile] Error 1
> 
> Any ideas?
> Austin

already fixed on cvs.
add ifdef around defines of IRQ_NONE to irqreturn_t like:

        #ifndef IRQ_NONE
        #define IRQ_NONE        /*void*/
        #define IRQ_HANDLED     /*void*/
        #define IRQ_RETVAL(x)   /*void*/
        typedef void irqreturn_t;
        #endif


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to