nissan xtrail 2002 diesel - cd changer - deltheman65

just got another cd changer fitted all lights are flashing on it and the raio say no mag please could help me with problen