[N:1]1[CH:6]=[CH:5][C:4]([N:7]2[CH2:12][CH2:11][CH:10]([C:13]([O:15]CC)=[O:14])[CH2:9][CH2:8]2)=[CH:3][CH:2]=1.[ClH:18]>O1CCOCC1>[ClH:18].[N:1]1[CH:2]=[CH:3][C:4]([N:7]2[CH2:12][CH2:11][CH:10]([C:13]([OH:15])=[O:14])[CH2:9][CH2:8]2)=[CH:5][CH:6]=12.95 g (12.6 mmol) of ethyl 1-(4-pyridyl)-4-piperidinecarboxylate was stirred in 100 ml of dioxane. 50 ml of 1 N hydrochloric acid was added to the obtained mixture, and they were stirred at 95° C. for 20 hours. The solvent was evaporated to obtain the crude title compound.