All of lore.kernel.org
 help / color / mirror / Atom feed
* Static versus shared builds of alsa-utils
@ 2003-08-31 19:34 Adrian McMenamin
  2003-09-01  8:11 ` Clemens Ladisch
  0 siblings, 1 reply; 7+ messages in thread
From: Adrian McMenamin @ 2003-08-31 19:34 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-09-02  9:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-31 19:34 Static versus shared builds of alsa-utils Adrian McMenamin
2003-09-01  8:11 ` Clemens Ladisch
2003-09-01 10:16   ` Adrian McMenamin
2003-09-01 10:27     ` Clemens Ladisch
2003-09-01 18:44       ` Adrian McMenamin
2003-09-01 19:30       ` Adrian McMenamin
2003-09-02  9:12         ` Takashi Iwai

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.