From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: alsa-lib with non-versioned symbols Date: Thu, 10 Oct 2002 13:57:18 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: alsa-devel@lists.sourceforge.net Cc: perex@suse.cz, kai.vehmanen@wakkanet.fi List-Id: alsa-devel@alsa-project.org 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