From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Q: Error on compiling/linking Date: Fri, 10 Oct 2003 12:27:33 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <3F8587F0.1070902@emt.iis.fhg.de> <3F865EE1.8080704@emt.iis.fhg.de> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <3F865EE1.8080704@emt.iis.fhg.de> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Bernhard Gerlach Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Fri, 10 Oct 2003 09:25:21 +0200, Bernhard Gerlach wrote: > > > Unfortunatly I forget to mention that the functions listed in the > documentation which is linked to on Takashi's page (section "Documents > on Alsa") seem to work, eg. snd_card_get_name, snd_seq_open and so on. > That is the old api, isn't it? ehm, yeah, most likely. i'm not sure which page you are referring to, but i've not updated my web pages since long time... > > > Takashi Iwai wrote: > > >>When compiling/linking, I receive: > >>"undefined reference to `snd_seq_client_info_malloc'" > >>Same for snd_seq_client_info_get_name and for snd_seq_client_info_free. > >> > >>What's wrong? Is'nt my lib up to date? (I read that the sequencer api > >>has been rewritten with get/set functions, but in which version?) > > > > > > how do you link libasound? > > The compiler options are -Wl,-Bdynamic -lasound. > ldd says (when commenting out the not working function calls and > compiling) that libasound.so.2 was linked. then, no idea. it'd be better to show your whole code then. ciao, Takashi ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php