Kota Kinabalu: A school building suffered minor cracks following the weak earthquake which occurred about 16km northeast of Ranau on Feb 1.