[alsa-devel] A debug version of the ALSA lib?

Pavel Hofman pavel.hofman at ivitera.com
Thu Sep 1 11:00:59 CEST 2011


Dne 1.9.2011 10:50, Daniel Mack napsal(a):
> On Thu, Sep 1, 2011 at 10:37 AM, Olivier Guillion - Myriad
> <olivier at myriad-online.com> wrote:
>> To be able to go further, I'd need a debug version of the ALSA library,
>> including variable names and source lines, which could let me find more easily
>> what goes wrong and when.
>>
>> Is it possible to build such a library from the alsa-lib-1.0.24.1 sources?
>> Or should I download and install another specific package?
> 
> The sources are the same. Whether you'll get a library with debug
> symbols depends on the compile time options when building the lib. And
> depending on your distribution, you might also be able to install the
> debug-enabled version by choosing the -dbg package derivat.


E.g. in debian/ubuntu I use dpkg-buildpackage with debug enabled, for
details see e.g.
http://jameswestby.net/tips/tips/compiling-debian-package-for-debug.html
, just libasound2 instead of mutt.

Regards,

Pavel.


More information about the Alsa-devel mailing list