* Packages to debian
@ 2005-09-22 1:29 Leomar-Costa
2005-09-22 9:32 ` Mikael Magnusson
2005-09-22 10:29 ` Thomas Hood
0 siblings, 2 replies; 3+ messages in thread
From: Leomar-Costa @ 2005-09-22 1:29 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 2627 bytes --]
Hi guys, What packages I need install to make ALSA programs in debian ? I was trying to compile this example ( http://equalarea.com/paul/alsa-audio.html#playex ), but I give some errors.. I paste in the end of this e-mail. Are there some "apt-get install" that I can use ? Or I need download and install from another place ? Thanks a lot, Leomar======================================== # gcc -o play play.cplay.c: In function `main':play.c:44: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes pointer from integer without a cast/tmp/ccaeBi5f.o(.text+0x39): In function `main':: undefined reference to `snd_pcm_open'/tmp/ccaeBi5f.o(.text+0x4d): In function `main':: undefined reference to `snd_strerror'/tmp/ccaeBi5f.o(.text+0x8c): In function `main':: undefined reference to `snd_pcm_hw_params_malloc'/tmp/ccaeBi5f.o(.text+0xa0): In function `main':: undefined reference to `snd_strerror'/tmp/ccaeBi5f.o(.text+0xdd): In function `main':: undefined reference to `snd_pcm_hw_params_any'/tmp/ccaeBi5f.o(.text+0xf1): In function `main':: undefined reference to `snd_strerror'/tmp/ccaeBi5f.o(.text+0x136): In function `main':: undefined reference to `snd_pcm_hw_params_set_access'/tmp/ccaeBi5f.o(.text+0x14a): In function `main':: undefined reference to `snd_strerror'/tmp/ccaeBi5f.o(.text+0x18f): In function `main':: undefined reference to `snd_pcm_hw_params_set_format'/tmp/ccaeBi5f.o(.text+0x1a3): In function `main':: undefined reference to `snd_strerror'/tmp/ccaeBi5f.o(.text+0x1f0): In function `main':: undefined reference to `snd_pcm_hw_params_set_rate_near'/tmp/ccaeBi5f.o(.text+0x204): In function `main':: undefined reference to `snd_strerror'/tmp/ccaeBi5f.o(.text+0x249): In function `main':: undefined reference to `snd_pcm_hw_params_set_channels'/tmp/ccaeBi5f.o(.text+0x25d): In function `main':: undefined reference to `snd_strerror'/tmp/ccaeBi5f.o(.text+0x29a): In function `main':: undefined reference to `snd_pcm_hw_params'/tmp/ccaeBi5f.o(.text+0x2ae): In function `main':: undefined reference to `snd_strerror'/tmp/ccaeBi5f.o(.text+0x2e1): In function `main':: undefined reference to `snd_pcm_hw_params_free'/tmp/ccaeBi5f.o(.text+0x2ef): In function `main':: undefined reference to `snd_pcm_prepare'/tmp/ccaeBi5f.o(.text+0x303): In function `main':: undefined reference to `snd_strerror'/tmp/ccaeBi5f.o(.text+0x357): In function `main':: undefined reference to `snd_pcm_writei'/tmp/ccaeBi5f.o(.text+0x36f): In function `main':: undefined reference to `snd_strerror'/tmp/ccaeBi5f.o(.text+0x3a9): In function `main':: undefined reference to `snd_pcm_close'collect2: ld returned 1 exit status
[-- Attachment #2: Type: text/html, Size: 3009 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Packages to debian
2005-09-22 1:29 Packages to debian Leomar-Costa
@ 2005-09-22 9:32 ` Mikael Magnusson
2005-09-22 10:29 ` Thomas Hood
1 sibling, 0 replies; 3+ messages in thread
From: Mikael Magnusson @ 2005-09-22 9:32 UTC (permalink / raw)
To: alsa-devel
On Wed, Sep 21, 2005 at 10:29:34PM -0300, Leomar-Costa@via-rs.net wrote:
> Hi guys, What packages I need install to make ALSA programs in debian ? I was trying to compile this example ( http://equalarea.com/paul/alsa-audio.html#playex ), but I give some errors.. I paste in the end of this e-mail. Are there some "apt-get install" that I can use ? Or I need download and install from another place ? Thanks a lot, Leomar======================================== # gcc -o play play.cplay.c: In function `main':play.c:44: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes pointer from integer without a cast/tmp/ccaeBi5f.o(.text+0x39): In function `main':: undefined reference to `snd_pcm_open'
You'll need to install the libasound2-dev package and link against the
asound library:
gcc -o play play.cplay.c -lasound
/Mikael Magnusson
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Packages to debian
2005-09-22 1:29 Packages to debian Leomar-Costa
2005-09-22 9:32 ` Mikael Magnusson
@ 2005-09-22 10:29 ` Thomas Hood
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Hood @ 2005-09-22 10:29 UTC (permalink / raw)
To: Leomar-Costa; +Cc: alsa-devel
Leomar-Costa@via-rs.net wrote:
> What packages I need install to make ALSA programs in debian ?
aptitude install libsound2-dev
--
Thomas Hood
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-09-22 10:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-22 1:29 Packages to debian Leomar-Costa
2005-09-22 9:32 ` Mikael Magnusson
2005-09-22 10:29 ` Thomas Hood
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.