Chinaunix

标题: HP下的TAO程序,编译后运行不起来 [打印本页]

作者: losfound    时间: 2005-07-14 17:22
标题: HP下的TAO程序,编译后运行不起来
链接时指定了.sl库
-L$(ACE_ROOT)/ace -lTAO_CosNotification -TAO_CosNaming -lTAO_Svc_Utils -lTAO_IORTable -lTAO_Messaging -lTAO_PortableServer -lTAO_Valuetype -lTAO_ObjRefTemplate -lTAO_IORInterceptor -lTAO -lACE


链接成功后程序运行不起来,报了一堆Unresolved symbol,比如:
/usr/lib/dld.sl: Unresolved symbol: cerr__3std (data) from /home/duanll/ACE_wrappers/ace/libACE.sl


用ldd -r查,输出一堆symbol not found:
symbol not found: [Vtable]key:__dt__Q2_3std9exceptionFv (/home/duanll/ACE_wrappers/ace/libTAO_CosNotification.sl)
symbol not found: typeid__XTQ2_3std9exception_ (/home/duanll/ACE_wrappers/ace/libTAO_CosNotification.sl)
symbol not found: typeid__XTQ2_3std9exception_ (/home/duanll/ACE_wrappers/ace/libTAO_PortableServer.sl)
symbol not found: [Vtable]key:__dt__Q2_3std9exceptionFv (/home/duanll/ACE_wrappers/ace/libTAO_PortableServer.sl)

不知道什么原因,哪位高手指点一下
作者: scalps    时间: 2005-07-17 21:52
标题: HP下的TAO程序,编译后运行不起来
名字空间的问题。
编译TAO的时候使用了aCC -AA
编译和链接你的程序时也需要aCC -AA




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2