friend ostream& operator<<(ostream& os, const Baka& obj);
がprivateだから外からアクセスできないってことだろ。

あ た り ま え だ ボ ケ