Omitting the --prefix =/board-rfs, DESTDIR=/board-rfs was passed in make install, and on checking, it seemed that the bin, lib, share and include components of the alsa-lib were installed under /board-rfs/usr
However on running an application, this is got
-bash-3.1# ./soundtest default
ALSA lib pcm_params.c:2152:(snd_pcm_hw_refine_slave) Slave PCM not usable
cannot initialize hardware parameter structure (Invalid argument)
Setting the environment variable $LIBASOUND_DEBUG to 1 does not cause any debugging information to be displayed to stderr. (I double checked via #echo to make sure LIBASOUND_DEBUG was set to 1)
I'm clueless, am I doing anything wrong ?
Thanks much,
iyer
Takashi Iwai <tiwai@xxxxxxx> wrote:
At Wed, 14 Feb 2007 12:32:35 -0800 (PST),
maser rati wrote:
>
> The installation was done via the configure command, make and make install.
>
> How to enable the alsa-files to install to a specific directory, board-rfs ? On trying
> different options in the ./configure script; --prefix=/board-rfs exactly installs the
> alsa-lib components to it.
But --prefix=XXX overrides the path embedded in the code. For
installing to another root, passing DESTDIR=XXX at make install is the
standard procedure.
> Moreover on running aplay, it was found that atrace wasn't able to locate alsa.conf,
> with the location being at at /etc/alsa, so the contents of /etc/alsa were moved to /
> usr/share/alsa. However it says that the setup is corrupt. Please find attached the
> strace for aplay; your valuable input is appreciated.
This is a different thing. Now the system files are properly set and
alsa-lib reads them. But, the driver returns an error for the
required PCM setting.
Try to set $LIBASOUND_DEBUG to 1. Then each hw_params error will be
displayed to stderr. See alsa-lib/NOTES for details.
Takashi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Have a burning question? Go to Yahoo! Answers and get answers from real people who know.
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel