COMPOUNDS OF FORMULA (I); AND SALTS THEREOF IN WHICH R’ R’ R3 R, X, Y AND N HAVE THE MEANINGS GIVEN IN THE SPECIFICATION, ARE INHIBITORS OF TRK KINASES AND ARE USEFUL IN THE TREATMENT OF DISEASES WHICH CAN BE TREATED WITH A TRK KINASE INHIBITOR SUCH AS PAIN, CANCER, INFLAMMATION, NEURODEGENERATIVE DISEASES AND CERTAIN INFECTIOUS DISEASES.