Limit cycles of linear vectors on manifolds