From: Takashi Iwai Subject: Re: Takashi: please help (compiling alsa-driver) Date: Thu, 14 Feb 2013 08:16:00 +0100 Message-ID: References: <511ABB0D.90808@gmail.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 8BA8A260308 for ; Thu, 14 Feb 2013 08:16:01 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Raymond Yau Cc: alsa-devel List-Id: alsa-devel@alsa-project.org At Thu, 14 Feb 2013 11:20:11 +0800, Raymond Yau wrote: > > > > >> Do the latest version of alsa-lib require any specific parameter to install > >> on Ubuntu 12.04 for testing the channel map ? > >> > >> alsa-lib/test/chmap -D hw:0 query > >> > >> ALSA lib conf.c:3314:(snd_config_hooks_call) Cannot open shared library > >> libasound_module_conf_pulse.so > >> ALSA lib pcm.c:2223:(snd_pcm_open_noupdate) Unknown PCM hw:0 > >> Cannot open PCM stream hw:0 for PLAYBACK > > > > Seem you didn't install the conf_pulse module properly, no? > > > > alsa-lib/test/chmap can be built but fail to compile aplay > > > make[1]: Entering directory `/home/raymond/alsa-utils/aplay' > gcc -O2 -Wall -pipe -g -o aplay aplay.o -lrt -lasound -lm -ldl -lpthread > aplay.o: In function `setup_chmap': > /home/raymond/alsa-utils/aplay/aplay.c:1148: undefined reference to > `snd_pcm_set_chmap' > /home/raymond/alsa-utils/aplay/aplay.c:1152: undefined reference to > `snd_pcm_get_chmap' > /home/raymond/alsa-utils/aplay/aplay.c:1188: undefined reference to > `snd_pcm_chmap_print' > aplay.o: In function `main': > /home/raymond/alsa-utils/aplay/aplay.c:707: undefined reference to > `snd_pcm_chmap_parse_string' > collect2: ld returned 1 exit status > make[1]: *** [aplay] Error 1 > make[1]: Leaving directory `/home/raymond/alsa-utils/aplay' > make: *** [all-recursive] Error 1 Did you pass the proper --libdir option to configure script when you build & install alsa-lib? Takashi