Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: alsa-devel@lists.sourceforge.net
Cc: perex@suse.cz, kai.vehmanen@wakkanet.fi
Subject: alsa-lib with non-versioned symbols
Date: Thu, 10 Oct 2002 13:57:18 +0200	[thread overview]
Message-ID: <s5h8z16ecbl.wl@alsa2.suse.de> (raw)

Hi,

i found the build-problem of alsa-lib on my old machine.
the libtool on it is too old and doesn't support the additional linker
options.  thus -Wl,--version-script=xxxx option was not passed
correctly.  i guess this is also the case that Kai encountered.
(ld itself can handle versioned symbols well, btw.)

unfortunately it looks difficult to fix.  the old libtool cannot
handle such a case.  thus, now, the option is

- upgrade libtool

or

- build alsa-lib without versioned symbols.

i fixed a bug on cvs, so that alsa-lib can be built properly with the
option "--with-versioned=no".
even with this option, both old and new API coexist.  the new API
functions are defined with __ prefix as well as the
versioned-symbols.
then, perhaps, the second one is an easy solution.

i think that __ prefix and alias are not a perfect solution, too, but
we can remove such a workaround eventually when libasound goes to
so.3 at some time.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

                 reply	other threads:[~2002-10-10 11:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=s5h8z16ecbl.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=kai.vehmanen@wakkanet.fi \
    --cc=perex@suse.cz \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox