[NH:1]1[C:10]2[C:5](=[CH:6][C:7]([C:11]([OH:13])=[O:12])=[CH:8][CH:9]=2)[CH2:4][CH2:3][CH2:2]1.S(Cl)([Cl:16])=O.[CH3:18]O>>[ClH:16].[NH:1]1[C:10]2[C:5](=[CH:6][C:7]([C:11]([O:13][CH3:18])=[O:12])=[CH:8][CH:9]=2)[CH2:4][CH2:3][CH2:2]10.93 g of 1,2,3,4-tetrahydroquinoline-6-carboxylic acid and 100 ml of methanol are placed in a 500 ml round-bottomed flask under a nitrogen atmosphere. 0.46 ml of thionyl chloride is added at 0° C. and then the reaction mixture is stirred at reflux for three hours. After evaporating the solvent, the residue is triturated in ethyl ether and then the solid obtained is filtered off and dried under vacuum. 1.13 g of methyl 1,2,3,4-tetrahydroquinoline-6-carboxylate hydrochloride are obtained.