"It has taken more than eight hours for our fire personnel to clear the debris and retrieve the bodies, as they had to first clear the way to the spot for bringing the earth movers through the congested area," Ramaswamy said.
The child, incidentally, strayed into the building as her parents reside in the neighbouring house.
Police took the owner of the building into custody for failing to inform the civic authorities that the building was damaged in the heavy rains that battered the city Saturday.
The victims were tenants in the old building - a two-storey structure with a warehouse on the ground floor.