[solved] Cannot compile for Mega2560 on Gentoo

Yes, it works with the gcc-4.62.
Thanks guys, you are the greatest.
I never tried it with the gcc-4.6.2, but what matters is that works.
But, I still do not have the Serial working with Uno and Mega2560.
I upload the sketch but I never see anything in Serial monitor. The Blink example work fine.
With Mega1280 and Duemilanove everything works now including the Serial communication.