[Ace-users] [tao-users] TAO Compile link failure: TAO_POA_Initializer

Steve Totten totten_s at ociweb.com
Wed Feb 6 16:14:46 CST 2008


Hi Martin,

Patchett, Martin wrote:

> TAO linker fails on undefined reference to TAO_POA_Initializer::init() 
> which is a base TAO function.
> 
> See attached problem report.

Thanks for using the PRF!

Your application's linker command line appears to be missing
several important libraries that are needed for a CosEvent
Service consumer application, such as -lTAO_PortableServer,
-lTAO_CosEvent_Skel, and others.

Did you use MPC to generate your makefile?  That is the easiest
way to make sure the appropriate libraries are linked in.  Your
CosEvent consumer application's project would need to inherit
from the event_skel base project, I believe.  There are a number
of examples and tests in the TAO code base that you can follow,
as in $TAO_ROOT/orbsvcs/examples/CosEC/ and in
$TAO_ROOT/orbsvcs/tests/CosEvent/.  Also, in the OCI distribution
of TAO, see $TAO_ROOT/DevGuideExamples/EventServices/ for
several more easy-to-follow examples.

Steve
-- 
----------------------------------------------------------------
  Steve Totten, Principal Software Engineer and Partner
  Object Computing, Inc. (OCI), St. Louis, MO, USA
  http://www.ociweb.com/  http://www.theaceorb.com/
----------------------------------------------------------------



More information about the Ace-users mailing list