デバッグプリント用にdefineでpを宣言してたら、unordered_mapの#includeのところでエラーがでた。
/usr/include/boost/unordered/detail/allocator_helpers.hpp: In member function ‘boost::unordered_detail::allocator_array_constructor<Allocator>::pointer boost::unordered_detail::allocator_array_constructor<Allocator>::release()’:
おとなしく、自分でdefineしたpをなくしたらビルド成功。