Arduino Due Wifi example not working

i have an Arduino DUE with arduino 1.5.1 on linux and i have the same error. There is some other trouble with arduino exemples like toneMelody. If i try another card the compilation works fine! Is it a bug of the arduino IDE or is it just not working with the Due?
any ideas?

thanks a lot for your help.