At Wed, 26 Sep 2007 12:50:58 +0100, James Pearson wrote:
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
Thanks, I fixed it with #ifdef CONFIG_SND_BIT32_EMUL_MODULE. These shouldn't be exported unconditionally.
Also, some entries in kconfig_vers are changed as you suggested on HG tree.
Hope now it works...
Takashi