gcc-3.4.? seems to have a compiler bu triggering errors is Functional. Avoid the compiler if you can.
For more information:http://code.google.com/p/casacore/wiki/WorkingPlatforms