[krbdev.mit.edu #6710] Re: [krbdev.mit.edu #6721] Compilation fails with -DDEBUG

Tom Yu via RT rt-comment at krbdev.mit.edu
Thu May 13 14:25:04 EDT 2010


"Russ Allbery <rra at stanford.edu> via RT" <rt-comment at krbdev.mit.edu>
writes:

> I needed to build the current tree with -DDEBUG to debug a PKINIT issue
> and discovered when doing so that the kadmin code doesn't build with
> -DDEBUG.  It defines a debugging macro to xprintf, which is not defined
> anywhere in the tree.

What's probably best is to run "make CPPFLAGS=-DDEBUG" in the
directory (pkinit?) where you want the debugging code turned on.  I
think that's the general way that people operate when they're
debugging something they've added debugging code to.  (and we should
document this better) Are there specific pieces of debugging code you
need working in kadmin?




More information about the krb5-bugs mailing list