All of lore.kernel.org
 help / color / mirror / Atom feed
From: Colin Guthrie <gmane@colin.guthr.ie>
To: alsa-devel@alsa-project.org
Subject: Re: developing audio with ALSA
Date: Wed, 13 Aug 2008 09:19:30 +0100	[thread overview]
Message-ID: <g7u5ei$5h2$1@ger.gmane.org> (raw)
In-Reply-To: <000c01c8fd10$a09013c0$ba3ea8c0@Richwave.net>

Henry Ho wrote:
> Hi
> 
> I'm developing audio application using ALSA library. My target platform is ARM 
> platform baseboard. I use GNU toolchain cross compiler as you can see from 
> the following message:
> 
> arm-none-linux-gnueabi-gcc -lasound -g -O2 -I./alsa-lib-1.0.17rc2/include -o pcm pcm.c
> /usr/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.0/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lasound
> collect2: ld returned 1 exit status
> make: *** [versatile] Error 1
> 
> I know that is because the linker cannot find the asound library. Should I cross compiling 
> ALSA driver/lib/utils first?

The drivers will possibly already be in your kernel, and the utils will 
help you initialise your sound hardware properly (set volumes, switches 
etc.).

And the library, well, you defo need that  :)

Col

  reply	other threads:[~2008-08-13  8:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-13  6:48 developing audio with ALSA Henry Ho
2008-08-13  8:19 ` Colin Guthrie [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-08-18  9:15 Henry Ho
2008-08-18  9:57 ` Alan Horstmann
2008-08-18 10:34 ` Colin Guthrie

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='g7u5ei$5h2$1@ger.gmane.org' \
    --to=gmane@colin.guthr.ie \
    --cc=alsa-devel@alsa-project.org \
    /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.