a compound represented by the formula ## str1 ## wherein x is hydrogen or a substituent ; r 1 is an optionally substituted hydrocarbon residue ; r 2 and r 3 are respectively hydrogen or a substituent ; and ----- shows a single bond or a double bond , or a pharmacologically acceptable acid addition salt thereof , has an analgesic action and is useful as a medicine .