Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* alsa-lib with non-versioned symbols
@ 2002-10-10 11:57 Takashi Iwai
  0 siblings, 0 replies; only message in thread
From: Takashi Iwai @ 2002-10-10 11:57 UTC (permalink / raw)
  To: alsa-devel; +Cc: perex, kai.vehmanen

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-10 11:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-10 11:57 alsa-lib with non-versioned symbols Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox