Yesterday I have understand this problem. The fact is that I compile it under Ubuntu and he has some difficulties to find the libraries (probably he tries to find the libraries with the link of the Windows directory and he doesn't find them). If somebody knows how to solve that, please write it here. I try to compile it under Windows and it works!
But if I compile a file and upload it to the axon from Windows, and then I send commands to the axon from Ubuntu from USB (and the Axon receives them with the following code):
char temp;
temp=uart1GetByte();//returns -1 if no data present
if (temp == r)//if data received
do_stuff();
can this thing work?
Thank you. Byebye