Rescue teams have been trying to reach people trapped in rubble since the magnitude 6.4 quake struck just before 04:00 (20:00 GMT Friday).