  In this paper, we study the structure theory of a class of not-finitely
graded Lie algebras related to generalized Virasoro algebras. In particular,the
derivation algebras, the automorphism groups and the second cohomology groups
of these Lie algebras are determined.
