I just tried installing alsa-driver-0.5.11 with
 --with-debug=basic
for no particular reason, on linux x86 with a stock kernel.org 2.2.19 kernel.
They compiled OK, but "depmod" reported undefined symbols
  _snd_magic_kcalloc
  _snd_magic_kfree
in all the snd*.o modules.

After some digging, it turned out that the condition
for calling _snd_magic_kcalloc (in include/sndmagic.h) is
        #ifdef CONFIG_SND_DEBUG
while the condition for defining it (in kernel/memory.h) is
        #ifdef CONFIG_SND_DEBUG_MEMORY

I'm not sure what the right fix would be; should the top
few paragraphs of include/sndmagic.h (down to #define snd_magic_kfree ...)
be wrapped in #ifdef CONFIG_SND_DEBUG_MEMORY?

Of course the workaround is just to avoid --with-debug=basic,
but this misdependency is probably simple for an ALSA developer to fix.

When I omitted the --with-debug, everything worked nicely.  It probably
would have worked with --with-debug=full too.

(I'm not subscribed to alsa-user and am not awaiting a response,
just posting this as a bug report.)

_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to