From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Q: Error on compiling/linking Date: Thu, 09 Oct 2003 18:25:19 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <3F8587F0.1070902@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: <3F8587F0.1070902@emt.iis.fhg.de> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: gerlacbd Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Thu, 09 Oct 2003 18:08:16 +0200, gerlacbd wrote: > > > Hello, > > I'm new to ALSA and I have a problem on programming the library: > On my system ALSA library 0.9.7 and ALSA 0.9.7 driver is installed. > According to the api-documentation on the ALSA project site, I tried to > do something like: > > snd_seq_client_info_t *info; > snd_seq_client_info_malloc ( &info ); > snd_seq_get_client_info( seq_handle, info ); > > ... do sth. like readout name with snd_seq_client_info_get_name( info ); > > snd_seq_client_info_free ( info ); it looks ok. > 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? 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