Preparation from compounds containing heterocyclic oxygen