Hi,

On: Sat, 17 Jan 2004 12:18:07 +0100 (CET),
    Jaroslav Kysela <[EMAIL PROTECTED]> wrote:

> > [EMAIL PROTECTED]:~/develop/trunk/lowlevel/src$ g++ --shared -g -Wall -I.
> > -I../include -I../../dam/include -I../../utility/include -o
> > ALSAHelper.so ALSAHelper.cc
> 
> I tried that and it seems that you MUST link also this shared module 
> against the asound library:
> 
> g++ --shared -g -Wall -I. -I../include -I../../dam/include
> -I../../utility/include -lasound -o ALSAHelper.so ALSAHelper.cc
>                         ^^^^^^^^
> 
> Otherwise the versioned symbol are not applied. Here is the correct nm 
> output:
> 
> [EMAIL PROTECTED]:~/src/1/svn.rocklinux-consulting.de/gsmp/trunk/lowlevel/src> 
> nm ALSAHelper.so  | grep snd_pcm_hw_params_get_channels_max
>          U snd_pcm_hw_params_get_channels_max@@ALSA_0.9.0rc4
> 
>                                       Have fun,
>                                               Jaroslav

Ineed that did the trick! Thank you!

Have a nice weekend,
  René Rebe

--  
René Rebe - Europe/Germany/Berlin
  [EMAIL PROTECTED] [EMAIL PROTECTED]
http://www.rocklinux.org http://www.rocklinux-consulting.de
http://gsmp.tfh-berlin.de/gsmp http://gsmp.tfh-berlin.de/rene



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to