[LAU] can't compile realtime kernel: error: conflicting types for ‘irqreturn_t’

Mark Knecht markknecht at gmail.com
Thu May 7 10:23:57 EDT 2009


If this driver is important to you then it seems to be the sort of
thing that gets fixed pretty quickly when reported directly to the
rt-kernel mailing list.

good luck,
Mark

On Wed, May 6, 2009 at 7:37 AM, Dietrich Bollmann
<dietrichbollmann at web.de> wrote:
> Hi,
>
> Since some time I can't build the vanilla kernel when patching it with
> Ingo Molnar's realtime patch.
>
> Any idea what is going wrong?
>
> Thanks, Dietrich
>
> Kernel:   http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.2.tar.bz2
> RT patch:
> http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.29.2-rt11.bz2
>
> The compile error:
>
>  [...]
>  LD [M]  drivers/ssb/ssb.o
>  CC [M]  drivers/staging/at76_usb/at76_usb.o
>  CC [M]  drivers/staging/comedi/comedi_fops.o
> In file included from drivers/staging/comedi/comedidev.h:40,
>                 from drivers/staging/comedi/comedi_fops.c:45:
> drivers/staging/comedi/interrupt.h:27: error: conflicting types for
> ‘irqreturn_t’
> include/linux/irqreturn.h:14: error: previous declaration of
> ‘irqreturn_t’ was here
> In file included from drivers/staging/comedi/comedidev.h:40,
>                 from drivers/staging/comedi/comedi_fops.c:45:
> drivers/staging/comedi/interrupt.h:30:1: warning: "IRQ_RETVAL" redefined
> In file included from include/linux/interrupt.h:10,
>                 from drivers/staging/comedi/interrupt.h:22,
>                 from drivers/staging/comedi/comedidev.h:40,
>                 from drivers/staging/comedi/comedi_fops.c:45:
> include/linux/irqreturn.h:15:1: warning: this is the location of the
> previous definition
> make[4]: *** [drivers/staging/comedi/comedi_fops.o] Error 1
> make[3]: *** [drivers/staging/comedi] Error 2
> make[2]: *** [drivers/staging] Error 2
> make[1]: *** [drivers] Error 2
> make[1]: Leaving directory
> `/home/dietrich/linux/debian/kernel/vanilla/2.6.29.2-rt11/linux-2.6.29.2'
> make: *** [debian/stamp/build/kernel] Error 2
>
>
>
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
>



More information about the Linux-audio-user mailing list