在虚拟机下面使用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::, 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: - new repo=0x3ffebf8
ACE (-1|65980540) DSB::instance, repo=0x3ffebf8, name=TAO_Object_Adapter_Factory type=0x0
=> 0x0
ACE (-1|65980540) Service_Config_Guard: - 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。
有用过的么,不吝赐教。