Cl.[N:2]1([CH2:8][CH:9]=[CH:10][C:11]([OH:13])=O)[CH2:7][CH2:6][CH2:5][CH2:4][CH2:3]1.C(Cl)(=O)C([Cl:17])=O>ClCCl.CN(C)C=O>[N:2]1([CH2:8][CH:9]=[CH:10][C:11]([Cl:17])=[O:13])[CH2:7][CH2:6][CH2:5][CH2:4][CH2:3]1The HCl salt of 4-Piperidin-1-yl-but-2-enoic acid (250 mg, 1.48 mmol) was dissolved in dichloromethane (15 mL). Dimethylformamide (3 drops) was added. Oxalyl chloride (155 μL, 1.77 mmol) was added slowly and the reaction was stirred at room temperature for 1 hour. The mixture was concentrated under reduced pressure and the residue was used as is.