[oss-devel] Failed to compile oss-v4.0-build1008-src-gpl with linux-2.6.24-rc1

Alex Maclean monkeh at monkeh.net
Fri Nov 2 05:26:15 EET 2007


SIEGERSTEIN wrote:
> В сообщении от Monday 29 October 2007 05:56:45 Dev Mazumdar написал(а):
>> Looks like SH_IRQ is no longer defined by your Linux kernel. So perhaps
>> you might want to try using a stable version (or release version) of
>> Linux like Linux 2.6.22 or 2.6.23
>>
>> You can modify the osscore.c according to your linux kernel's
>> definitions for SA_SHIRQ (perhaps there's a release note as to why a
>> kernel developer remvoed it)
> 
> You are right, it seems SA_SHIRQ removed in 2.6.24-rc-1:
> 
> $ grep SA_SHIRQ /usr/src/linux-2.6.22-oss/include/linux/interrupt.h
> #define SA_SHIRQ                deprecated_irq_flag(IRQF_SHARED)
> $ grep SA_SHIRQ /usr/src/linux-2.6.23-oss/include/linux/interrupt.h
> #define SA_SHIRQ                deprecated_irq_flag(IRQF_SHARED)
> $ grep SA_SHIRQ /usr/src/linux-2.6.23.1-oss/include/linux/interrupt.h
> #define SA_SHIRQ                deprecated_irq_flag(IRQF_SHARED)
> $ grep SA_SHIRQ /usr/src/linux-2.6.24-rc1-oss/include/linux/interrupt.h
> $
> 
> All the same sooner or later it is necessary to rewrite without SA_SHIRQ...
> 
> Best regards, 
> SIEGERSTEIN
> 
> 
> _______________________________________________
> oss-devel mailing list
> oss-devel at mailman.opensound.com
> http://mailman.opensound.com/mailman/listinfo/oss-devel

SA_SHIRQ was apparently deprecated in favor of IRQF_SHARED. So just 
replace SA_SHIRQ with IRQF_SHARED. This will work fine with older 
kernels too.


More information about the oss-devel mailing list