All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerald Grabner <gerald.grabner@gmx.net>
To: alsa-devel@lists.sourceforge.net
Subject: Re: hw_params from shared library problem
Date: Tue, 27 Jun 2006 19:08:57 +0200	[thread overview]
Message-ID: <44A16629.4050001@gmx.net> (raw)
In-Reply-To: <44A0DAC0.5050404@purplelabs.com>

Benoit Fouet wrote:

 >> Compilation:
 >>   gcc -c -fPIC object.c
 >>   gcc -shared -fPIC -o libTest.so object.o
 >>   gcc -o main main.c -L. -lTest -lasound
 >>
 >>
 > and what if you try to link your dynamic library with asound (actually,
 > this is the really needer of the link, not your test program) ? I think
 > this could help...
 >
 > gcc -shared -fPIC -o libTest.so object.o -lasound

Hey, thanks a lot, that did the trick!

Interestingly, other libraries I am using do not require to be specified 
when building the shared library.

Gerald

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

  reply	other threads:[~2006-06-27 17:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-26 21:11 hw_params from shared library problem Gerald Grabner
2006-06-26 21:38 ` Lee Revell
2006-06-27  7:14 ` Benoit Fouet
2006-06-27 17:08   ` Gerald Grabner [this message]
2006-06-27 17:16     ` Takashi Iwai

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=44A16629.4050001@gmx.net \
    --to=gerald.grabner@gmx.net \
    --cc=alsa-devel@lists.sourceforge.net \
    /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.