Skip to contentSkip to conversation

alsa-lib with non-versioned symbols

DISCUSSION Takashi Iwai 1 participant 1 message Oct 10, 2002

lore
Share & tools
lore
#0 lore 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