By condensation of 2'-hydroxy-5,9-dimethyl-6,7-benzomorphan (I) with allyl bromide (II) by means of NaHCO3 in refluxing ethanol.