This compound can be obtained in three different ways: 1) Condensation of pyridine-2-carboxylic acid (Ia, R = H), with 1-phenyl methylpiperazine (II) at 160 C. 2) Condensation of methyl pyridine-2-carboxylate (Ib, R = CH3) with 1-phenylmethylpiperazine (II) at 140 C. 3) Reaction of 1-phenylmethylpiperazine (II) with a mixed anhydride (III) formed from (Ia) and ethyl chloroformate (IV).