I am trying to build alsa-utils using a cross compiler.

AFAICS I have successfully built alsalib (as static as I have no glibc on the 
target system - it runs a static busybox), and I thought I had successfully 
configured and built alsa-tools:

CC=sh-linux-gcc ./configure --host=sh-linux 
--prefix=/home/Adrian/dc-down/initrd/usr 
--with-alsa-prefix=/home/Adrian/dc-down/initrd/usr/lib 
--with-alsa-inc-prefix=/home/Adrian/dc-down/initrd/usr/include 
--disable-alsamixer --disable-shared

This certainly generates large (static?) binaries:

/usr/bin # ls a* -l
-rwxr-xr-x    1 0        0         2436157 Aug 31 19:26 aconnect
-rwxr-xr-x    1 0        0         2362584 Aug 31 11:58 alsalisp
-rwxr-xr-x    1 0        0         2458748 Aug 31 19:26 amixer
-rwxr-xr-x    1 0        0         2294664 Aug 31 19:26 aplay
lrwxrwxrwx    1 500      500            17 Apr  8 21:06 ar -> 
../../bin/busybox
lrwxrwxrwx    1 0        0               5 Aug 31 19:26 arecord -> aplay
-rwxr-xr-x    1 0        0         2470212 Aug 31 19:26 aseqnet
-rwxr-xr-x    1 0        0         2282674 Aug 31 11:58 aserver

But when I attempt to run any of them I get this problem:


/usr/bin # ./aplay test.txt
./aplay: No such file or directory

What have I done wrong?

Adrian




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to