From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Problems with ALSA in embedded device Date: Tue, 04 Mar 2008 14:56:58 +0100 Message-ID: References: <1204637360.6017.14.camel@debian.ziv.es> 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 (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id D9D301038BA for ; Tue, 4 Mar 2008 14:56:58 +0100 (CET) In-Reply-To: <1204637360.6017.14.camel@debian.ziv.es> 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: Imanol Trapote Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 04 Mar 2008 14:29:20 +0100, Imanol Trapote wrote: > > Hi all, > > I am developing a product in an embedded system that uses ALSA library. > This system can't use the dynamic linker, I am using flat binaries. > > I use this configuration options: > > --without-libdl \ > --with-pthread \ > --with-softload \ > --disable-alisp \ > --disable-hwdep \ > --disable-seq \ > --disable-resmgr \ > --disable-rawmidi \ > --disable-old-symbols \ > --disable-python \ > --disable-mixer > > I try to use the same configuration options in a PC for debugging, and I > get the same problem, when I try to list devices with aplay, I get this: > > aplay -L > ALSA lib conf.c:2699:(snd_config_hooks_call) Cannot open shared library > (null) > ALSA lib conf.c:3076:(snd_config_update_r) hooks failed, removing > configuration > > It's possible use ALSA without dynamic libraries, with this > configuration Add --disable-shared and --enable-static. See INSTALL for details. I guess SALSA-lib would suit better in your case, though... Takashi