From: Takashi Iwai Subject: Re: alsa-driver-1.0.15rc2 build issues on RHEL4/CentOS4 Date: Tue, 09 Oct 2007 12:25:31 +0200 Message-ID: References: <46EA5F30.7000404@moving-picture.com> <46F9353C.1040105@moving-picture.com> <46FA47A2.3020205@moving-picture.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id D7FA01038D9 for ; Tue, 9 Oct 2007 12:25:31 +0200 (CEST) In-Reply-To: <46FA47A2.3020205@moving-picture.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: James Pearson Cc: ALSA development List-Id: alsa-devel@alsa-project.org 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: > > > > 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