[Cl:1][C:2]1[N:6]([C:7]2[CH:12]=[CH:11][C:10]([CH3:13])=[CH:9][CH:8]=2)[C:5]([CH:14]=O)=[CH:4][CH:3]=1.Cl.[NH2:17][OH:18].C([O-])(=O)C.[Na+]>C(O)C>[Cl:1][C:2]1[N:6]([C:7]2[CH:12]=[CH:11][C:10]([CH3:13])=[CH:9][CH:8]=2)[C:5]([CH:14]=[N:17][OH:18])=[CH:4][CH:3]=1A mixture of 5-chloro-1-(4-methylphenyl)pyrrole-2-carbaldehyde (365 mg), hydroxylamine hydrochloride (173 mg), and sodium acetate (204 mg) in 60% aqueous ethanol (6 ml) was stirred at 60° C. for one hour. The mixture was concentrated in vacuo. The residue was dissolved in ethyl acetate. The mixture was washed with water, dried, and concentrated in vacuo to give a residue (450 mg) of 5-chloro-1-(4-methylphenyl)pyrrole-2-carbaldehyde oxime. A mixture of the residue and sodium acetate (30 mg) in acetic anhydride (5 ml) was stirred at 160° C. for one and half hours under nitrogen atmosphere. The reaction mixture was concentrated in vacuo. The residue was purified by silica gel column chromatography eluted by ethyl acetate:n-hexane =1/15) to yield 5-chloro-1-(4-methylphenyl)pyrrole-2-carbonitrile (325 mg) as an oil.