On Thu, 31 Oct 2002, ian wrote: > Hi all, > I am currently working on porting the midi i/o of JSynthLib to use the > ALSA sequencer api rather than OSS. JSynthLib is a synthesiser librarian > written in java. I am using JNI (java native interface) as the glue > between c and java. The way this works is that a java tools creates a > header file containing the functions you required to be implemented > nativley, you then implement these functions, and finally compile them > into a shared library that your java code loads. This is all working fine, > except when i go to make calls to the sequencer api. ALSA gives me the > following errors: > ALSA lib dlmisc.c:100:(snd_dlsym_verify) unable to verify version for > symbol snd_config_hook_load > ALSA lib conf.c:2655:(snd_config_hooks_call) symbol snd_config_hook_load > is not defined inside (null) > ALSA lib conf.c:3066:(snd_config_update_r) hooks failed, removing > configuration > Open error: No such device or address > I noticed that dlmisc.c has a printf on line 98 that is gives a bit of > info, so uncommented it and got the following info: > dlsym verify: -2, vname = '_snd_config_hook_load_dlsym_config_hook_001' > Well, using nm to look at libasound.so reports that symbol as present. So > I'm a bit confused. I'm using alsa-lib-0.9rc3 on redhat 7.3 with gcc 2.96. > Any ideas?
Use 0.9.0rc5. This problem is fixed there. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project http://www.alsa-project.org SuSE Linux http://www.suse.com ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel