Linking error with _DI and _EI


I am using CCRL on RL78G13 microcontroler and I am in trouble in using DI and EI macro in r_cg_macro.h:

when I call EI ou DI in main.c everything is OK, but when I try to do the same wherever else, linker give a error "undefined external symbol "_DI"...

Does Someone has the same problem ? And the most important: how can I solve it ?!

Thank you in advance !