The reductocondensation of piperidine (I) with 3-hydroxybenzaldehyde (II) by means of sodium borohydride in ethanol gives 3-(1-piperidylmethyl)phenol (III), which is then condensed with N-(3-bromopropyl)phthalimide (IV) by means of NaH in DMF yielding N-[3-[3-(1-piperidylmethyl)phenoxy]propyl]phthalimide (V). The hydrolysis of (V) with hydrazine in ethanol affords 3-[3-(1-piperidylmethyl)phenoxy]propylamine (VI), which is acylated with hydroxyacetic acid (VII) at 200 C giving N-[3-[3-(1-piperidylmethyl)phenoxy]propyl]hydroxyacetamide (VIII). Finally, this compound is acetylated with acetic anhydride at 100 C.