print bad links and summary to stderr