Re: [Alsa-user] ALSA, link static, cannot find -lasound

2009-02-10 Thread William Estrada
John, The reason I need static programs is that want to run these programs on multiple platforms and I don't want to require the libraries be installed. I already have a problem running on FC5 ( my server ). The development platform is FC8. I get seg faults sometimes on the server but it runs

Re: [Alsa-user] ALSA, link static, cannot find -lasound

2009-02-10 Thread John Haxby
pavan_sa...@indiatimes.com wrote: > There should have been an option to build alsa utilities statically. > To check the speaker of a platform, I don't have to port the whole of > alsa-lib + alsa-utilities on my small busybox file-system, do i ? > > That argument doesn't hold up. On my really,

Re: [Alsa-user] ALSA, link static, cannot find -lasound

2009-02-10 Thread Takashi Iwai
./configure --disable-shared --enable-static Takashi > > regards, > Pavan > > > - Original Message - > From: John Haxby > To: mrumun...@popdial.com > Cc: alsa-user@lists.sourceforge.net > Sent: Tue, 10 Feb 2009 13:57:44 +0530 (IST) > Subject: R

Re: [Alsa-user] ALSA, link static, cannot find -lasound

2009-02-10 Thread pavan_savoy
o, to build it statically, but yes, dl_* calls doesn't allow it to be built statically. regards, Pavan - Original Message - From: John Haxby To: mrumun...@popdial.com Cc: alsa-user@lists.sourceforge.net Sent: Tue, 10 Feb 2009 13:57:44 +0530 (IST) Subject: Re: [Alsa-user] ALSA, l

Re: [Alsa-user] ALSA, link static, cannot find -lasound

2009-02-10 Thread John Haxby
William Estrada wrote: > hi group, > > Trying to rebuild my ALSA programs with static libs. > > [snip] > but when I try with -static, I get this: > Code: > > gcc -g -O2 -static -lasound -o volume volume.o > /usr/local/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../../i686-pc-linux-gnu/bin/ld: > canno

[Alsa-user] ALSA, link static, cannot find -lasound

2009-02-09 Thread William Estrada
hi group, Trying to rebuild my ALSA programs with static libs. Code: Here is what works: $ gcc -g -O2 -lasound -o volume volume.o $ file volume volume: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped but whe