The title enamine derivative was prepared by condensation of primaquine (I) with acetyl butyrolactone (II) in the presence of piperidine.