Using TAO 1.4.6 and gcc 3.3.3 I needed to add this also to testInterface/ossieS_T.h #include "ossieC.h" #include "tao/PortableServer/PortableServer.h" and using namespace OSSIE; after namespace POA_OSSIE {