在vxworks下面使用TAO名字服务的问题

collision 2010-03-17 06:52:26
在虚拟机下面使用vxworks5.5.1,使用TAO名字服务时,在启动名字服务时,总是要动态加载.so文件,是不是我编译TAO时有些宏定义的不对?
下面是启动名字服务时的打印信息:
......
ACE (-1|65980540) LN::open_dll - path=TAO_PortableServer
ACE (-1|65980540) DLL_Handle::open ("TAO_PortableServer.so", 0x1) -> failed: errno = 0x880
226
ACE (-1|65980540) DLL_Handle::open ('TAO_PortableServer.so') failed, errno=8913446: errno
= 0x880226
ACE (-1|65980540) DLL_Handle::open ("libTAO_PortableServer.so", 0x1) -> failed: errno = 0x
880226
ACE (-1|65980540) DLL_Handle::open ('libTAO_PortableServer.so') failed, errno=8913446: err
no = 0x880226
ACE (-1|65980540) DLL_Handle::open ("TAO_PortableServer", 0x1) -> failed: errno = 0x880226
ACE (-1|65980540) DLL_Handle::open ('TAO_PortableServer') failed, errno=8913446: errno = 0
x880226
ACE (-1|65980540) DLL_Handle::open ("TAO_PortableServer"): Invalid handle error: errno = 0
x880226
ACE_DLL_Manager::open_dll: Could not open dll TAO_PortableServer.
ACE (-1|65980540) DLL_Handle::close - TAO_PortableServer (handle=0, refcount=0)
ACE (-1|65980540) LN::open_dll - Failed to open TAO_PortableServer: Error: check log for d
etails.
ACE (-1|65980540) Unable to create service object for TAO_Object_Adapter_Factory
ACE (-1|65980540) STDG::<dtor>, repo=0x3ffebf8, name=TAO_Object_Adapter_Factory, type=0x3e
d5d38, impl=0x0, object=0x0, active=0 - removing dummy forward
ACE (-1|65980540) Dynamic_Node::apply - Did dynamic on TAO_Object_Adapter_Factory (yyerrno
=1)
ACE (-1|65980540) Service_Config_Guard:<dtor=0x3eec288> - new repo=0x3ffebf8
ACE (-1|65980540) DSB::instance, repo=0x3ffebf8, name=TAO_Object_Adapter_Factory type=0x0
=> 0x0
ACE (-1|65980540) Service_Config_Guard:<dtor=0x3eec388> - new repo=0x3ffebf8
(-1|65980540) TAO_MCAST_Parser: acceptor local address 0.0.0.0:1037.

sent multicast request.error sending IIOP multicast: errno = 0x41

multicast discovery of RootPOA failed.
(-1|65980540) EXCEPTION, TAO_Naming_Server::init_with_orb
user exception, ID 'IDL:omg.org/CORBA/ORB/InvalidName:1.0'
Failed to start the Naming Service.






另外:TAO_MCAST_Parser: acceptor local address 0.0.0.0:1037.一句说了获取的的IP是0,但是我用vxworks提供的函数可以正确获取IP。



有用过的么,不吝赐教。
...全文
333 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
oWeiLanFengYe 2012-09-24
  • 打赏
  • 举报
回复
楼主成功了吗?求交流!!!!!!!!!!
shiyi902 2010-10-07
  • 打赏
  • 举报
回复
同问。
seth0001 2010-09-26
  • 打赏
  • 举报
回复
tao应该就是编译成动态库,需要动态加载的吧,难道你静态编译了还会这样?
fys2xxx 2010-07-15
  • 打赏
  • 举报
回复
不知道 楼主有没有在vxworks6.6上用过TAO
collision 2010-03-20
  • 打赏
  • 举报
回复
有结果了么?
kyzf 2010-03-18
  • 打赏
  • 举报
回复
不会,
只好帮顶下。

MARK.

2,179

社区成员

发帖
与我相关
我的任务
社区描述
xworks是美国 Wind River System 公司( 以下简称风河公司 ,即 WRS 公司)推出的一个实时操作系统。
社区管理员
  • VxWorks开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧