From: Adrian McMenamin <adrian@mcmen.demon.co.uk>
To: Lee Revell <rlrevell@joe-job.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Can anyone help?
Date: Mon, 13 Feb 2006 00:04:00 +0000 [thread overview]
Message-ID: <1139789040.10187.18.camel@localhost.localdomain> (raw)
In-Reply-To: <1139528366.30058.133.camel@mindpipe>
On Thu, 2006-02-09 at 18:39 -0500, Lee Revell wrote:
> On Thu, 2006-02-09 at 23:33 +0000, Adrian McMenamin wrote:
> >
> > There are no setup files, but the wiki says that aplay -D hw:0,0 ought
> > to get round that anyway. have I misunderstood that?
>
> Do you mean you have nothing under /usr/share/alsa? You should try
> installing alsa-lib and see what happens. The ALSA wikis are full of bad
> information.
>
> Lee
>
I have done this now - build and installed the library again: configured
thus:
CC=/home/adrian/buildroot/build_sh4/staging_dir/bin/sh4-linux-gcc
LDFLAGS=-L/tftpboot/192.168.61.55/lib ./configure --host=sh4-linux
--with-debug=yes --prefix=/tftpboot/192.168.61.55/usr
Unfortunately the install fails towards the end (this is being linked
against uclibc rather than glibc) - (see below - though )
But the basic problem remains the same:
/lib # aplay -L
aplay: pcm_list:280: snd_config_updte: Invalid argument
/lib # aplay -L
aplay: pcm_list:280: snd_config_update: Invalid argument
/lib # aplay -D hw:0,0
aplay: pcm.c: 2119: snd_pcm_open: Assertion `pcmp && name' failed.
Aborted
Though I have a populated /usr/share/alsa directory on the target
machine now... have I missed something?
Thanks for all the help.
Adrian
Install output...
/home/adrian/buildroot/build_sh4/staging_dir/bin/sh4-linux-gcc
-shared .libs/sbase.o -Wl,--rpath -Wl,/tftpboot/192.168.61.55/usr/lib
-L/tftpboot/192.168.61.55/lib -L/tftpboot/192.168.61.55/usr/lib -lasound
-Wl,-soname -Wl,smixer-sbase.so -o .libs/smixer-sbase.so
/home/adrian/buildroot/build_sh4/staging_dir/lib/gcc/sh4-linux-uclibc/3.4.2/../../../../sh4-linux-uclibc/bin/ld: cannot find /lib/libc.so.0
collect2: ld returned 1 exit status
libtool: install: error: relink `smixer-sbase.la' with the above command
before installing it
/bin/sh ../../../libtool --mode=install /usr/bin/install -c
smixer-ac97.la /tftpboot/192.168.61.55/usr/lib/alsa-lib/smixer/smixer-ac97.la
libtool: install: warning: relinking `smixer-ac97.la'
(cd /home/adrian/alsa-lib-1.0.10/modules/mixer/simple; /bin/sh ../../../libtool --mode=relink /home/adrian/buildroot/build_sh4/staging_dir/bin/sh4-linux-gcc -g -O2 -W -Wall -g -O2 -L/tftpboot/192.168.61.55/lib -o smixer-ac97.la -rpath /tftpboot/192.168.61.55/usr/lib/alsa-lib/smixer -module -avoid-version ac97.lo sbasedl.lo ../../../src/libasound.la )
/home/adrian/buildroot/build_sh4/staging_dir/bin/sh4-linux-gcc
-shared .libs/ac97.o .libs/sbasedl.o -Wl,--rpath
-Wl,/tftpboot/192.168.61.55/usr/lib -L/tftpboot/192.168.61.55/lib
-L/tftpboot/192.168.61.55/usr/lib -lasound -Wl,-soname
-Wl,smixer-ac97.so -o .libs/smixer-ac97.so
/home/adrian/buildroot/build_sh4/staging_dir/lib/gcc/sh4-linux-uclibc/3.4.2/../../../../sh4-linux-uclibc/bin/ld: cannot find /lib/libc.so.0
collect2: ld returned 1 exit status
libtool: install: error: relink `smixer-ac97.la' with the above command
before installing it
/bin/sh ../../../libtool --mode=install /usr/bin/install -c
smixer-hda.la /tftpboot/192.168.61.55/usr/lib/alsa-lib/smixer/smixer-hda.la
libtool: install: warning: relinking `smixer-hda.la'
(cd /home/adrian/alsa-lib-1.0.10/modules/mixer/simple; /bin/sh ../../../libtool --mode=relink /home/adrian/buildroot/build_sh4/staging_dir/bin/sh4-linux-gcc -g -O2 -W -Wall -g -O2 -L/tftpboot/192.168.61.55/lib -o smixer-hda.la -rpath /tftpboot/192.168.61.55/usr/lib/alsa-lib/smixer -module -avoid-version hda.lo sbasedl.lo ../../../src/libasound.la )
/home/adrian/buildroot/build_sh4/staging_dir/bin/sh4-linux-gcc
-shared .libs/hda.o .libs/sbasedl.o -Wl,--rpath
-Wl,/tftpboot/192.168.61.55/usr/lib -L/tftpboot/192.168.61.55/lib
-L/tftpboot/192.168.61.55/usr/lib -lasound -Wl,-soname
-Wl,smixer-hda.so -o .libs/smixer-hda.so
/home/adrian/buildroot/build_sh4/staging_dir/lib/gcc/sh4-linux-uclibc/3.4.2/../../../../sh4-linux-uclibc/bin/ld: cannot find /lib/libc.so.0
collect2: ld returned 1 exit status
libtool: install: error: relink `smixer-hda.la' with the above command
before installing it
make[4]: *** [install-pkglibLTLIBRARIES] Error 1
make[4]: Leaving directory
`/home/adrian/alsa-lib-1.0.10/modules/mixer/simple'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory
`/home/adrian/alsa-lib-1.0.10/modules/mixer/simple'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/adrian/alsa-lib-1.0.10/modules/mixer'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/adrian/alsa-lib-1.0.10/modules'
make: *** [install-recursive] Error 1
NB the /lib directory on the target box is like this...
/lib # ls -l
drwxr-xr-x 2 root root 4096 Jan 2:34 firmware
-rwsr-xr-x 1 root root 17204 Jan 28 23:11
ld-uClibc-0.9.28.so
lrwxrwxrwx 1 root root 19 Jan 28 23:11 ld-uClibc.so.0
-> ld-uClibc-0.9.28.so
-rw-r--r-- 1 root root 76028 Jan 28 23:11 libbusybox.so
lrwxrwxrwx 1 root root 9 Jan 28 23:11 libbusybox.so.1
-> libbusybox.so.1.1.1
-rw-r--r-- 1 root root 76028 Jan 28 23:11
libbusybox.so.1.1
-rw-r--r-- 1 root root 76028 Jan 28 23:11
libbusybox.so.1.1.1
lrwxrwxrwx 1 root root 19 Jan 28 23:11 libc.so.0 ->
libuClibc-0.9.28.so
-rw-r--r-- 1 root root 8888 Jan 28 23:11
libcrypt-0.9.28.so
lrwxrwxrwx 1 root root 18 Jan 28 23:11 libcrypt.so.0 ->
libcrypt-0.9.28.so
-rw-r--r-- 1 root root 9036 Jan 28 23:11 libdl-0.9.28.so
lrwxrwxrwx 1 root root 15 Jan 28 23:11 libdl.so.0 ->
libdl-0.9.28.so
lrwxrwxrwx 1 root root 13 Jan 28 23:11 libgcc_s.so ->
libgcc_s.so.1
-rw-r--r-- 1 root root 62104 Jan 28 23:11 libgcc_s.so.1
-rw-r--r-- 1 root root 54136 Jan 28 23:11 libm-0.9.28.so
lrwxrwxrwx 1 root root 14 Jan 28 23:11 libm.so.0 ->
libm-0.9.28.so
lrwxrwxrwx 1 root root 15 Jan 28 23:11 libncurses.so ->
libncurses.so.5
lrwxrwxrwx 1 root root 17 Jan 28 23:11 libncurses.so.5
-> libncurses.so.5.5
-rw-r--r-- 1 root root 271140 Jan 28 23:11
libncurses.so.5.5
-rw-r--r-- 1 root root 4784 Jan 28 23:11 libnsl-0.9.28.so
lrwxrwxrwx 1 root root 16 Jan 28 23:11 libnsl.so.0 ->
libnsl-0.9.28.so
-rw-r--r-- 1 root root 73951 Jan 28 23:11
libpthread-0.9.28.so
lrwxrwxrwx 1 root root 20 Jan 28 23:11 libpthread.so.0
-> libpthread-0.9.28.so
-rw-r--r-- 1 root root 4788 Jan 28 23:11
libresolv-0.9.28.so
lrwxrwxrwx 1 root root 19 Jan 28 23:11 libresolv.so.0
-> libresolv-0.9.28.so
-rw-r--r-- 1 root root 4732 Jan 28 23:11 lirt-0.9.28.so
lrwxrwxrwx 1 root root 15 Jan 28 23:11 librt.so.0 ->
librt-0.9.28.so
-rw-r--r-- 1 root ro 13076 Jan 28 23:11
libthread_db-0.9.28.so
lrwxrwxrwx 1 root root 22 Jan 28 23:11 libthread_db.so.1
-> libthread_db-0.9.28.so
-rw-r--r-- 1 root root 289544 Jan 28 23:11
libuClibc-0.9.28.so
-rw-r--r-- 1 root root 4860 Jan 28 23:11
libutil-0.9.28.so
lrwxrwxrwx 1 root root 17 Jan 28 23:11 libutil.so.0 ->
libutil-0.9.28.so
lrwxrwxrwx 1 root root 13 Jan 28 23:11 libz.so ->
libz.so.1.2.3
lrwxrwxrwx 1 root root 13 Jan 28 23:11 libz.so.1 ->
libz.so.1.2.3
-rw-r--r-- 1 root root 59276 Jan 28 23:11 libz.so.1.2.3
drwxr-xr-x 4 root root 4096 Feb 7 21:37 modules
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
next prev parent reply other threads:[~2006-02-13 0:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-09 23:07 Can anyone help? Adrian McMenamin
2006-02-09 23:19 ` Lee Revell
2006-02-09 23:33 ` Adrian McMenamin
2006-02-09 23:39 ` Lee Revell
2006-02-13 0:04 ` Adrian McMenamin [this message]
2006-02-13 0:25 ` Lee Revell
2006-02-13 0:34 ` Lee Revell
2006-02-09 23:42 ` Lee Revell
2006-02-13 0:28 ` Lee Revell
2006-02-13 0:42 ` Adrian McMenamin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1139789040.10187.18.camel@localhost.localdomain \
--to=adrian@mcmen.demon.co.uk \
--cc=alsa-devel@alsa-project.org \
--cc=rlrevell@joe-job.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.