By condensation of 7alpha-(aminomethyl)pyrrolizidine (I) with 2-(2-oxo-pyrrolidin-1-yl)acetic acid methyl ester (II) by heating at 80 C.