David Thanks for answer so fast,
The error I say is due to the space, I mean, the msp430g2231 has no size to recive the program, and in some libraries appears the msp430 that I said before, and the pin declarations looks like the g2231 was used.
But that´s no a problem with msp, because practically you don´t have to make many changes in the code when you change the micro.
Thanks again.