[alsa-devel] alsa-driver-1.0.15rc2 build issues on RHEL4/CentOS4

James Pearson james-p at moving-picture.com
Wed Sep 26 13:50:58 CEST 2007


James Pearson wrote:

> 
> I've just discovered that I can't load snd-ioctl32 from 1.0.15rc2 on 
> RHEL4/CentOS4 - dmesg reports:
> 
> snd_ioctl32: Unknown symbol snd_ctl_elem_read
> snd_ioctl32: Unknown symbol snd_ctl_elem_write
> 
> snd-ioctl32 with 1.0.15rc1 loads fine ...

The problem is still there with 1.0.15rc3 - however, I've found the 
cause of the issue:

EXPORT_SYMBOL(snd_ctl_elem_read) and EXPORT_SYMBOL(snd_ctl_elem_write) 
have been removed from alsa-kernel/core/control.c - see:

<http://hg.alsa-project.org/alsa-kernel/rev/efd5ab99655e>

I guess this is OK for more recent kernels, but still needed for 
RHEL4/CentOS4 2.6.9 kernels

I can work round the problem by putting these back into acore/control.c

I've attached a patch which patches acore/control.patch

James Pearson
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: alsa-1.0.15rc3-control_patch.patch
Url: http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20070926/3546bd82/attachment.bat 


More information about the Alsa-devel mailing list