The compound is prepared by condensation of 3-methylphenol (I) with ethyl 1-benzyl-4-oxo-3-piperidine carboxylate hydrochloride (II) in aqueous sulfuric acid at room temperature.