compile p2_receiver