The return type (int) is missing from the definition of TypeDescriptor::IsAggrType(). (ExpDict.cc: line 580) Compilation failed with g++ 2.95.1.
Thanks for reporting this. Although, g++ 2.95.1 is not supported for geant4.1.1, the problem is already fixed in the current development release and will be public in geant4.2.0.