Br[C:2]1[CH:7]=[CH:6][C:5]([Br:8])=[CH:4][N:3]=1.[NH:9]1[CH2:14][CH2:13][CH:12]([CH:15](O)[CH3:16])[CH2:11][CH2:10]1.C(=O)([O-])[O-:19].[K+].[K+]>CS(C)=O.C(OCC)(=O)C.O>[Br:8][C:5]1[CH:6]=[CH:7][C:2]([N:9]2[CH2:14][CH2:13][CH:12]([CH2:15][CH2:16][OH:19])[CH2:11][CH2:10]2)=[N:3][CH:4]=111.00 g (46.43 mmol) of 2,5-dibromopyridine, 6.00 g (46.43 mmol) of piperidin-4-ylethanol and 6.74 g (48.76 mmol) of potassium carbonate in 8 mL of DMSO are placed in an autoclave. The mixture is then heated at 160° C. for 20 hours. The reaction mixture is allowed to cool to room temperature and then taken up in ethyl acetate and water. The aqueous phase is separated out and extracted twice with ethyl acetate, and the combined organic phases are washed with saturated aqueous sodium chloride solution and dried over sodium sulfate, and the filtrate is concentrated under reduced pressure.