Cl[CH2:2][CH2:3][CH2:4][CH2:5][O:6][CH2:7][CH:8]=[CH2:9].[OH:10][C:11]1[CH:19]=[CH:18][C:14]([C:15]([OH:17])=[O:16])=[CH:13][CH:12]=1.C(=O)([O-])[O-].[K+].[K+].CN(C)C=O>O>[CH2:7]([O:6][CH2:5][CH2:4][CH2:3][CH2:2][O:10][C:11]1[CH:19]=[CH:18][C:14]([C:15]([OH:17])=[O:16])=[CH:13][CH:12]=1)[CH:8]=[CH2:9]A solution comprising 14 g of allyl (4-chlorobutyl) ether, 14 g of 4-hydroxybenzoic acid, 14 g of potassium carbonate and 50 ml of dimethylformamide was stirred at 90° C. for 3 hours. Water was added to it, and extracted with toluene, and the toluene layer was well washed with water, and toluene was evaporated away. 20 g of sodium hydroxide, 50 ml of water and 200 ml of ethanol were added to the resulting residue, and refluxed for 2 hours. Ethanol was evaporated away, and hydrochloric acid was added to make it acidic, and then extracted with diethyl ether and dried with anhydrous magnesium sulfate. The solvent was evaporated away, and the resulting residue was recrystallized from a mixed solvent of ethanol and water to obtain 29 g of 4-(4-allyloxybutyloxy)benzoic acid.