W. Trevor King reports that libkrb5 no longer builds if DEBUG_REFERRALS is defined. It also would be more useful if the referral debugging functionality used the tracing framework. See also http://mailman.mit.edu/pipermail/krbdev/2012-May/010826.html