From: Takashi Iwai Subject: Re: 2.6.18 unknown symbol ksize error Date: Sun, 24 Jun 2012 21:23:45 +0200 Message-ID: References: <28300.101.169.127.232.1339918064.squirrel@boosthardware.com> <4FDEE5E2.70604@ladisch.de> <61144.175.39.33.120.1340503011.squirrel@boosthardware.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 mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 59F2B24363 for ; Sun, 24 Jun 2012 21:23:46 +0200 (CEST) In-Reply-To: <61144.175.39.33.120.1340503011.squirrel@boosthardware.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: Patrick Shirkey Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Sun, 24 Jun 2012 03:56:51 +0200 (CEST), Patrick Shirkey wrote: > > > On Mon, June 18, 2012 11:33 am, Takashi Iwai wrote: > > At Mon, 18 Jun 2012 10:25:06 +0200, > > Clemens Ladisch wrote: > >> > >> Patrick Shirkey wrote: > >> > I have compiled the latest stable alsa drivers against 2.6.18 kernel > >> with > >> > gcc-4.1. > >> > > >> > I am getting an error when I insert the sound card modules. > >> > > >> > snd_rawmidi: Unknown symbol ksize > >> > > >> > As far as I can tell 2.6.18 has support for ksize so I am not sure > >> where > >> > this error is coming from. > >> > >> That kernel didn't export ksize. > >> > >> Try --with-debug=memory to get a separate allocator implementation. > > > > Indeed. The patch below (untested) forces to enable > > CONFIG_SND_DEBUG_MEMORY on older kernels. Let me know if this helps. > > > > Seems to be worse now. Compiling with gcc-4.1 because that is the latest > version of gcc we can get on this old system without having to go > wholesale LFS on it. Upgrading alsa and jack is a big step for this > machine. If this is in the too hard basket I'll compile a new kernel > instead. > > Now seeing the following errors from dmesg: > > snd_hidden_kmalloc > snd_timer: Unknown symbol snd_register_device_for_dev ... Then try simple passing --with-debug=full configure option. Takashi