VM.
Is there any reason ALSA can't do something like
if (name == NULL) {
Dl_info dlinfo;
static int dummy;
dladdr((void *) &dummy, &dlinfo);
name = dlinfo.dli_fname;
}
in snd_dlopen()? This would fix the snd_dlopen(NULL, ...) problem
when the ALSA library
of dlopen is platform specific?
> the dladdr function and the dlinfo structure are not present in my
> version of glibc, at least not as far as i can tell.
Define _GNU_SOURCE.
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/
-
gt; libasound itself.
I know, that's why I suggested to not do dlopen(NULL, ...) inside
libasound (see the code from my previous mail).
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/
--
;t have to use RTLD_GLOBAL when dlopening libasound.so or
libraries linked with libasound.so anymore.
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/
---
Sponsored by: AMD