Return-path: Received: from cantor2.suse.de ([195.135.220.15]:36894 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754457AbZHJOAN (ORCPT ); Mon, 10 Aug 2009 10:00:13 -0400 Date: Mon, 10 Aug 2009 16:00:14 +0200 Message-ID: From: Takashi Iwai To: Ozan =?UTF-8?B?w4dhxJ9sYXlhbg==?= Cc: alsa-devel@alsa-project.org, linux-media@vger.kernel.org Subject: Re: [alsa-devel] NULL pointer dereference in ALSA triggered through saa7134-alsa In-Reply-To: <4A8025BF.7030404@pardus.org.tr> References: <4A8025BF.7030404@pardus.org.tr> MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-media-owner@vger.kernel.org List-ID: At Mon, 10 Aug 2009 16:50:55 +0300, Ozan Çağlayan wrote: > > Hi, > > I've finally succesfully compiled and linked saa7134-alsa driver using > an external alsa-driver and its Module.symvers file. Everything seems > okay, no undefined symbol or something else: > > - An installed 2.6.30.4 kernel which only builds and brings soundcore > and sound_firmware, > - Latest alsa-driver built externally and installed, > - Latest saa7134-alsa, cx88-alsa, etc. code from linus-2.6 (seen that > they don't affected by some API/ABI changes) patched on top of the > alsa-driver tarball, The external drivers using ALSA API have to be built with the newer ALSA header files from alsa-driver tree. It's not enough to change snd_card_new() with snd_card_create(). The core structure was changed, so the whole build has to be adjusted, too. Takashi