You cannot build a chicken coop in Harvest Moon: Magical Melody (Wii). The game lacks this feature.
You can buy chickens from the animal shop and raise them in your barn. For coop-building, try later titles like Harvest Moon 3D: A New Beginning (3DS).